SBVS127E March   2009  – July 2017 TLC5951

PRODUCTION DATA.  

  1. Features
  2. Applications
  3. Description
  4. Revision History
  5. Description (Continued)
  6. Pin Configuration and Functions
  7. Specifications
    1. 7.1 Absolute Maximum Ratings
    2. 7.2 ESD Ratings
    3. 7.3 Recommended Operating Conditions
    4. 7.4 Thermal Information
    5. 7.5 Electrical Characteristics
    6. 7.6 Switching Characteristics
    7. 7.7 Typical Characteristics
  8. Parameter Measurement Information
    1. 8.1 Pin Equivalent Input and Output Schematic Diagrams
    2. 8.2 Test Circuits
  9. Detailed Description
    1. 9.1 Overview
    2. 9.2 Functional Block Diagram
    3. 9.3 Feature Description
      1. 9.3.1 Thermal-Shutdown and Thermal-Error Flags
      2. 9.3.2 Noise Reduction
    4. 9.4 Device Functional Modes
      1. 9.4.1 Maximum Constant Sink-Current Value
      2. 9.4.2 Dot Correction (DC) Function
      3. 9.4.3 Global Brightness Control (BC) Function
      4. 9.4.4 Grayscale (GS) Function (PWM Control)
        1. 9.4.4.1 PWM Counter 12-Bit Mode Without Auto Repeat
        2. 9.4.4.2 PWM Counter 8-, 10-, or 12-Bit Mode Without Auto Repeat
        3. 9.4.4.3 PWM Counter 8-, 10-, or 12-Bit Mode With Auto Repeat
      5. 9.4.5 Register and Data Latch Configuration
        1. 9.4.5.1 288-Bit Common Shift Register
        2. 9.4.5.2 Grayscale Data Latch
        3. 9.4.5.3 DC, BC, FC, and UD Shift Register
          1. 9.4.5.3.1 DC, BC, FC, and UD Data Latch
          2. 9.4.5.3.2 Dot-Correction Data Latch
          3. 9.4.5.3.3 Global-Brightness Control-Data Latch
          4. 9.4.5.3.4 Function-Control Data Latch
          5. 9.4.5.3.5 User-Defined Data Latch
      6. 9.4.6 Status Information Data (SID)
      7. 9.4.7 Continuous Base LOD, LSD, and TEF
  10. 10Device and Documentation Support
    1. 10.1 Receiving Notification of Documentation Updates
    2. 10.2 Community Resources
    3. 10.3 Trademarks
    4. 10.4 Electrostatic Discharge Caution
    5. 10.5 Glossary
  11. 11Mechanical, Packaging, and Orderable Information

Package Options

Mechanical Data (Package|Pins)
Thermal pad, mechanical data (Package|Pins)
Orderable Information

Detailed Description

Overview

The TLC5951 device is a 24-channel, constant-current sink driver. Each channel has an individually-adjustable, 4096-step, pulse-width modulation (PWM) grayscale (GS) brightness control and 128-step constant-current dot correction (DC). The dot correction adjusts brightness deviation between channels and other LED drivers. The output channels are grouped into three groups of eight channels. Each color group has a 256-step global brightness control (BC) function and an individual grayscale clock input. GS, DC, and BC data are accessible via a serial interface port. DC and BC can be programmed via a dedicated serial interface port.

The TLC5951 has a 40-mA current capability. One external resistor determines the maximum current limit that applies to all channels.

The TLC5951 device has three error-detection circuits for LED-open detection (LOD), LED-short detection (LSD), and thermal error flag (TEF). LOD detects a broken or disconnected LED, LSD detects a shorted LED, and TEF indicates an overtemperature condition.

Functional Block Diagram

TLC5951 fbd_bvs127.gif

Feature Description

Thermal-Shutdown and Thermal-Error Flags

The thermal shutdown (TSD) function turns off all constant-current outputs on the device when the junction temperature (TJ) exceeds the threshold (TTEF = 163°C, typ) and sets the thermal error flag (TEF) to 1. All outputs are latched off when TEF is set to 1 and remain off until the next grayscale cycle after XBLNK goes high and the junction temperature drops below (TTEF – THYST). TEF remains as 1 until GSLAT is input with low temperature. TEF is set to 0 once the junction temperature drops below (TTEF – THYST), but the output does not turn on until the first GSCKR, -G, or -B in the next display period even if TEF is set to 0.

TLC5951 ai_tim_teftsd_bvs127.gif
An internal signal also works to turn the constant outputs, the same as the XBLNK input. The internal blank signal is generated at the rising edge of the GSLAT input signal for GS data with the display-timing reset enabled. Also, the signal is generated at the 4096th GSCKR, -G, or -B when auto repeat mode is enabled. XBLNK can be connected to VCC when the display timing reset or auto repeat is enabled.
Figure 41. TEF and TSD Timing

Noise Reduction

Large surge currents may flow through the device and the board on which the device is mounted if all 24 outputs turn on simultaneously at the start of each grayscale cycle. These large current surges could induce detrimental noise and electromagnetic interference (EMI) into other circuits. The TLC5951 device turns the outputs on in a series delay for each group independently to provide a circuit soft-start feature. The output current sinks are grouped into four groups in each color group. For example, for the RED color output, the first grouped outputs that are turned on or off are OUTR0 and OUTR4. The second grouped outputs that are turned on or off are OUTR1 and OUTR5. The third grouped outputs are OUTR2 and OUTR6, and the fourth grouped outputs are OUTR3 and OUTR7. Each grouped output is turned on and off sequentially with a small delay between groups. However, each color output on and off is controlled by the color grayscale clock.

Device Functional Modes

Maximum Constant Sink-Current Value

The TLC5951 maximum constant sink-current value for each channel, IOLCMax, is determined by an external resistor, RIREF, placed between RIREF and GND. The RIREF resistor value is calculated with Equation 1.

Equation 1. TLC5951 q_riref_bvs127.gif

where

  • VIREF = the internal reference voltage on IREF (1.2 V, typically)

IOLCMax is the largest current for each output. Each output sinks the IOLCMax current when it is turned on, the dot correction is set to the maximum value of 7Fh (127d), and the global brightness control data are set to the maximum value of FFh (255d). Each output sink current can be reduced by lowering the output dot correction or brightness control value.

RIREF must be between 1.2 kΩ and 24 kΩ to keep IOLCMax between 40 mA (typ) and 2mA (typ); the output may be unstable when IOLCMax is set lower than 2 mA. Output currents lower than 2 mA can be achieved by setting IOLCMax to 2 mA or higher and then using dot correction and global brightness control to lower the output current.

Figure 7 and Table 1 show the constant sink current versus external resistor, RIREF, characteristics. Multiple outputs can be tied together to increase the constant-current capability. Different voltages can be applied to each output.

Table 1. Maximum Constant-Current Output Versus External Resistor Value

IOLCMax (mA, Typical) RIREF (kΩ)
40 1.2
35 1.371
30 1.6
25 1.92
20 2.4
15 3.2
10 4.8
5 9.6
2 24

Dot Correction (DC) Function

The TLC5951 device has the capability to adjust the output current of each channel (OUTR0–OUTR7, OUTG0–OUTG7, and OUTB0–OUTB7) individually. This function is called dot correction (DC). The DC function allows the brightness and color deviations of LEDs connected to each output to be individually adjusted. Each output DC is programmed with a 7-bit word for each channel output. Each channel output current is adjusted in 128 steps within one of two adjustment ranges. The dot-correction high-adjustment range allows the output current to be adjusted from 33.3% to 100% of the maximum output current, IOLCMax. The dot-correction-low adjustment range allows the output current to be adjusted from 0% to 66.7% of IOLCMax. The range control bits in the function control latch select the high or low adjustment range. Equation 2 and Equation 3 calculate the actual output current as a function of RIREF, DC value, adjustment range, and brightness control value. There are three range control bits that control the DC adjustment range for three groups of outputs: OUTR0–OUTR7, OUTG0–OUTG7, and OUTB0–OUTB7. DC data are programmed into the TLC5951 device via the serial interface.

When the device is powered on, the DC data in the 216-bit common shift register and data latch contain random data. Therefore, DC data must be written to the DC latch before turning the constant-current output on. Additionally, XBLNK should be low when the device turns on to prevent the outputs from turning on before the proper grayscale values can be written. All constant-current outputs are off when XBLNK is low.

Global Brightness Control (BC) Function

The TLC5951 device has the capability to adjust the output current of each color group simultaneously. This function is called global brightness control (BC). The global brightness control for each of the three color groups, (OUTR0–OUTR7, OUTG0–OUTG7, and OUTB0–OUTB7), is programmed with a separate 8-bit word. The BC of each group is adjusted with 256 steps from 0% to 100%. 0% corresponds to 0 mA. 100% corresponds to the maximum output current programmed by RIREF and each output DC value. Note that even though the BC values for all color groups are identical, the output currents can be different if the DC values are different. Equation 2 and Equation 3 calculates the actual output current as a function of RIREF, the DC adjustment range, and the brightness control value. BC data are programmed into the TLC5951 device via the serial interface.

When the device is powered on, the BC data in the 216-bit common shift register and data latch contain random data. Therefore, BC data must be written to the BC latch before turning the constant-current output on. Additionally, XBLNK should be low when the device turns on to prevent the outputs from turning on before the proper grayscale values can be written. All constant-current outputs are off when XBLNK is low.

Equation 2 determines the output sink current for each color group when the dot-correction high-adjustment range is chosen.

Equation 2. TLC5951 q_iout_1-3io_bvs127.gif

Equation 3 determines the output sink current for each color group when the dot-correction low-adjustment range is chosen.

Equation 3. TLC5951 q_iout_2-3io_bvs127.gif

where

  • IOLCMax = the maximum channel current for each channel determined by RIREF
  • DC = the decimal dot correction value for the output. This value ranges between 0 and 127.
  • BC = the decimal brightness control value for the output color group. This value ranges between 0 and 255.

Table 2. Output Current vs DC Data and IOLCMax With
Dot-Correction High-Adjustment Range (BC Data = FFh)

DC DATA
(Binary)
DC DATA
(Decimal)
DC DATA
(Hex)
BC DATA
(Hex)
PERCENTAGE OF IOLCMax (%) IOUT, mA
(IOLCMax = 40 mA)
IOUT, mA
(IOLCMax = 2 mA)
000 0000 0 00 FF 33.3 13.33 0.67
000 0001 1 01 FF 33.9 13.54 0.68
000 0010 2 02 FF 34.4 13.75 0.69
111 1101 125 7D FF 99 39.58 1.98
111 1110 126 7E FF 99.5 39.79 1.99
111 1111 127 7F FF 100 40 2

Table 3. Output Current vs DC Data and IOLCMax With
Dot-Correction Low-Adjustment Range (BC Data = FFh)

DC DATA
(Binary)
DC DATA
(Decimal)
DC DATA
(Hex)
BC DATA
(Hex)
PERCENTAGE OF IOLCMax (%) IOUT, mA
(IOLCMax = 40 mA)
IOUT, mA
(IOLCMax = 2 mA)
000 0000 0 00 FF 0 0 0
000 0001 1 01 FF 0.5 0.21 0.01
000 0010 2 02 FF 1 0.42 0.01
111 1101 125 7D FF 65.6 26.25 1.31
111 1110 126 7E FF 66.1 26.46 1.32
111 1111 127 7F FF 66.7 26.67 1.33

Table 4. Output Current Versus Bc Data and IOLCMax With
Dot Correction High Adjustment Range (DC Data = 7fh)

BC DATA
(Binary)
BC DATA
(Decimal)
BC DATA
(Hex)
DC DATA
(Hex)
PERCENTAGE OF IOLCMax (%) IOUT, mA
(IOLCMax = 40 mA)
IOUT, mA
(IOLCMax = 2 mA)
000 0000 0 00 7F 0 0 0
000 0001 1 01 7F 0.4 0.16 0.01
000 0010 2 02 7F 0.8 0.31 0.02
111 1101 253 FD 7F 99.2 39.69 1.98
111 1110 254 FE 7F 99.6 39.84 1.99
111 1111 255 FF 7F 100 40 2

Table 5. Output Current vs BC Data, DC Data, and IOLCMax With
Dot-Correction High-Adjustment Range

BC DATA
(Hex)
BC DATA
(Decimal)
DC DATA
(Hex)
DC DATA
(Decimal)
PERCENTAGE OF IOLCMax (%) IOLCMax = 40 mA
(mA, Typical)
IOLCMax = 2 mA
(mA, Typical)
00 0 20 32 0 0 0
33 51 20 32 10.02 4.01 0.2
80 128 20 32 25.16 10.06 0.5
CC 204 20 32 40.10 16.04 0.8
FF 255 20 32 50.13 13.33 1.0

Grayscale (GS) Function (PWM Control)

The TLC5951 device can adjust the brightness of each output channel using a pulse width modulation (PWM) control scheme. The use of 12 bits per channel results in 4096 brightness steps, from 0% up to 100% brightness. The grayscale circuitry is duplicated for each of the three color groups.

The PWM operation for each color group is controlled by a 12-bit GS counter. Three GS counters are implemented to control each of the three color outputs, OUTR0–OUTR7, OUTG0–OUTG7, and OUTB0–OUTB7. Each counter increments on each rising edge of the grayscale reference clock (GSCKR, GSCKG, or GSCKB). The falling edge of XBLNK resets the three counter values to 0. The grayscale counter values are held at 0 while XBLNK is low, even if the GS clock input is toggled high and low. Pulling XBLNK high enables the GS clock. The first rising edge of a GS clock after XBLNK goes high increments the corresponding grayscale counter by one and switches on all outputs with a non-zero GS value programmed into the GS latch. Each additional rising edge on a GS clock increases the corresponding GS counter by one.

The GS counters keep track of the number of clock pulses from the respective GS clock inputs (GSCKR, GSCKG, and GSCKB). Each output stays on while the counter is less than or equal to the programmed grayscale value. Each output turns off at the rising edge of the GS counter value when the counter is larger than the output grayscale latch value.

Equation 4 calculates each output (OUTRn, -Gn, -Bn) on-time (tOUT_ON):

Equation 4. TLC5951 q_touton_bvs127.gif

where

  • IOLCMax = the maximum channel current for each channel determined by RIREF
  • DC = the decimal dot correction value for the output. This value ranges between 0 and 127.
  • BC = the decimal brightness control value for the output color group. This value ranges between 0 and 255.

When new GS data are latched into the GS data latch with the rising edge on GSLAT during a PWM cycle, the GS data latch registers are immediately updated. This latching can cause the outputs to turn on or off unexpectedly. For proper operation, GS data should only be latched into the device at the end of a display period when XBLNK is low. Table 6 summarizes the GS data value versus the output on-time duty cycle.

When the device is powered up, the 288-bit common shift register and GS data latch contain random data. Therefore, GS data must be written to the GS latch before turning the constant-current output on. Additionally, XBLNK should be low when the device is powered up to prevent the outputs from turning on before the proper GS values are programmed into the registers. All constant-current outputs are off when XBLNK is low.

If there are any unconnected outputs (OUTRn, OUTGn, and OUTBn), including LEDs in a failed short or failed open condition, the GS data corresponding to the unconnected output should be set to 0 before turning on the LEDs. Otherwise, the VCC supply current (IVCC) increases while that constant-current output is programmed to be on.

Table 6. Output Duty Cycle and On-Time Versus GS Data

GS DATA
(Binary)
GS DATA
(Decimal)
GS DATA
(Hex)
OUTPUT ON-TIME DUTY CYCLE (%) OUTPUT ON-TIME (33-MHz GS Clock) (ns)
0000 0000 0000 0 000 0 0
0000 0000 0001 1 001 0.02 30
0000 0000 0010 2 002 0.05 61
0111 1111 1111 2047 7FF 49.99 62 030
1000 0000 0000 2048 800 50.01 62 061
1000 0000 0001 2049 801 50.04 62 091
1111 1111 1101 4093 FFD 99.95 124 030
1111 1111 1110 4094 FFE 99.98 124 061
1111 1111 1111 4095 FFF 100 124 091

PWM Counter 12-Bit Mode Without Auto Repeat

TLC5951 ai_tim_pwm_op1_bvs127.gif
The internal blank signal is generated at the rising edge of the GSLAT input signal for GS data with the display-timing reset enabled. Also, the signal is generated at the 4096th GSCKR, -G, or -B when the auto repeat mode is enabled. XBLNK can be connected to VCC when the display timing reset or auto repeat is enabled.
Figure 42. PWM Operation 1

PWM Counter 8-, 10-, or 12-Bit Mode Without Auto Repeat

TLC5951 ai_tim_pwm_op2_bvs127.gif Figure 43. PWM Operation 2

PWM Counter 8-, 10-, or 12-Bit Mode With Auto Repeat

TLC5951 ai_tim_pwm_op3_bvs127.gif Figure 44. PWM Operation 3

Register and Data Latch Configuration

The TLC5951 device has two data latches to store information: the grayscale (GS) data latch and the DC, BC, FC, and UD data latch. The GS data latch can be written as 288-bit data through GSSIN with GSSCK. The DC, BC, FC, and UD data latch can be written as data through DCSIN with DCSCK. Also, DC, BC, and FC data can be written to the DC, BC, FC, and UD data latch through GSSIN with GSSCK. UD data are written to the upper 17 bits of the 216-bit DC, BC, FC, and UD shift register at the same time. The data in the DC, BC, FC, and UD data latch can be read via GSSOUT with GSSCK. Figure 45 shows the grayscale shift register and data latch configuration.

TLC5951 ai_config_gs_reg_latch_bvs127.gif Figure 45. Grayscale Shift Register and Data Latch Configuration

288-Bit Common Shift Register

The 288-bit common shift register is used to shift data from the GSSIN pin into the TLC5951. The data shifted into this register are used for grayscale data, global brightness control, and dot correction data. The register LSB is connected to GSSIN and the MSB is connected to GSSOUT. On each GSSCK rising edge, the data on GSSIN are shifted into the register LSB and all 288 bits are shifted towards the MSB. The register MSB is always connected to GSSOUT.

The level of GSLAT at the last GSSCK before the GSLAT rising edge determines which latch the data are transferred into. When GSLAT is low at the last GSSCK rising edge, all 288 bits are latched into the grayscale data latch. When GSLAT is high at the last GSSCK rising edge, bits 0–198 are copied to bits 0–198 in the DC, BC, FC, and UD data latch and bits 199–215 are copied to bits 199–215 in the 216-bit DC, BC, FC, and UD shift register at the GSLAT rising edge. To avoid data from being corrupted, the GSLAT rising edge must be input more than 7 ms after the last DCSCK for a DC, BC, FC, and UD data write. When the IC powers on, the 288-bit common shift register contains random data.

Grayscale Data Latch

The grayscale (GS) data latch is 288 bits long. This latch contains the 12-bit PWM grayscale value for each of the TLC5951 constant-current outputs. The PWM grayscale values in this latch set the PWM on-time for each constant-current driver. See Table 6 for the on-time duty of each GS data bit. Figure 46 shows the shift register and latch configuration. Refer to Figure 3 for the timing diagram for writing data into the GS shift register and latch.

Data are latched from the 288-bit common shift register into the GS data latch at the rising edge of the GSLAT pin. The conditions for latching data into this register are described in the 288-Bit Common Shift Register section. When data are latched into the GS data latch, the new data are immediately available on the constant-current outputs. For this reason, data should only be latched when XBLNK is low. If data are latched with XBLNK high, the outputs may turn on or off unexpectedly.

TLC5951 ai_config_gs_latch_bvs127.gif Figure 46. Grayscale Data-Latch Configuration

When the IC powers on, the grayscale data latch contains random data. Therefore, grayscale data must be written to the 288-bit common shift register and latched into the GS data latch before turning on the constant-current outputs. XBLNK should be low when powering on the TLC5951 to force all outputs off until the internal registers can be programmed. All constant-current outputs are forced off when XBLNK is low. The data bit assignment is shown in Table 7.

Table 7. Grayscale Data-Bit Assignment

BITS DATA BITS DATA
11–0 OUTR0 155–144 OUTR4
23–12 OUTG0 167–156 OUTG4
35–24 OUTB0 179–168 OUTB4
47–36 OUTR1 191–180 OUTR5
59–48 OUTG1 203–192 OUTG5
71–60 OUTB1 215–204 OUTB5
83–72 OUTR2 227–216 OUTR6
95–84 OUTG2 239–228 OUTG6
107–96 OUTB2 251–240 OUTB6
119–108 OUTR3 263–252 OUTR7
131–120 OUTG3 275–264 OUTG7
143–132 OUTB3 287–276 OUTB7

DC, BC, FC, and UD Shift Register

The 216-bit DC, BC, FC, and UD shift register is used to shift data from the DSSIN pin into the TLC5951 device. The data shifted into this register are used for the dot correction (DC), global brightness control (BC), function control (FC), and user-defined (UD) data latches. Each of these latches is described in the following sections. The register LSB is connected to DCSIN and the MSB is connected to DCSOUT. On each DCSCK rising edge, the data on DCSIN are shifted into the register LSB and all 216 bits are shifted towards the MSB. The register MSB is always connected to DCOUT. When the device is powered on, the 216-bit DC, BC, FC, and UD shift register contains random data.

DC, BC, FC, and UD Data Latch

The 216-bit DC, BC, FC, and UD data latch contains dot correction (DC) data, global brightness control (BC) data, function control (FC) data, and user-defined (UD) data. Data can be written into this latch from the DC, BC, FC, and UD shift register. Furthermore, DC, BC, and FC data can be written into this latch from the 288-bit common shift register. At this time, UD data are written to bits 199–215 in the 216-bit DC, BC, FC, and UD shift register data latch. When the IC is powered on, the DC, BC, FC, and UD data latch contains random data.

TLC5951 ai_config_dc-ud_bvs127.gif Figure 47. DC, BC, FC, and UD Data–Latch Configuration

Dot–Correction Data Latch

The dot correction (DC) data latch is 168 bits long. The DC data latch consists of bits 0–167 in the DC, BC, FC, and UD data latch. This latch contains the 7–bit DC value for each of the TLC5951 constant–current outputs. Each DC value individually adjusts the output current for each constant–current driver. As explained in the Dot Correction (DC) Function section, the DC values are used to adjust the output current from 0% to 66.7% of the maximum value when the dot correction low adjustment range is selected and from 33.3% to 100% of the maximum value when the dot correction high adjustment range is selected. The adjustment range is selected by the range control bits in the function control latch.

Table 2 and Table 3 show how the DC data affect the percentage of the maximum current for each output. See Figure 47 for the DC data latch configuration. Figure 4 illustrates the timing diagram for writing data from the GS data path into the shift registers and latches. Figure 5 illustrates the timing diagram for writing data from the DC data path into the shift registers and DC latches. DC data are automatically latched from the DC, BC, FC, and UD shift register into the DC data latch with an internal latch signal. The internal latch signal is generated in 3 ms to 7 ms after the last DCSCK rising edge.

When the device powers on, the DC data latch contains random data. Therefore, DC data must be written into the TLC5951 device and latched into the DC data latch before turning on the constant-current outputs. XBLNK should be low when powering on the TLC5951 device to force all outputs off until the internal registers can be programmed. All constant-current outputs are forced off when XBLNK is low. The data bit assignment is shown in Table 8.

Table 8. Dot-Correction Data-Bit Assignment

BITS DATA BITS DATA
6–0 OUTR0 90–84 OUTR4
13–7 OUTG0 97–91 OUTG4
20–14 OUTB0 104–98 OUTB4
27–21 OUTR1 111–105 OUTR5
34–28 OUTG1 118–112 OUTG5
41–35 OUTB1 125–119 OUTB5
48–42 OUTR2 132–126 OUTR6
55–49 OUTG2 139–133 OUTG6
62–56 OUTB2 146–140 OUTB6
69–63 OUTR3 153–147 OUTR7
76–70 OUTG3 160–154 OUTG7
83–77 OUTB3 167–161 OUTB7

Global-Brightness Control-Data Latch

The global brightness control (BC) data latch is 24 bits long. The BC data latch consists of bits 168–191 in the DC, BC, FC, and UD data latch.

The data of the BC data latch are used to adjust the constant-current values for eight channel constant-current drivers of each color group. The current can be adjusted from 0% to 100% of each output current adjusted by brightness control with 8-bit resolution. Table 4 describes the percentage of the maximum current for each brightness control data.

When the IC is powered on, the data in the BC data latch are not set to a specific default value. Therefore, brightness control data must be written to the BC latch before turning on the constant-current output. The data bit assignment is shown in Table 9.

Table 9. Data-Bit Assignment

BITS GLOBAL BRIGHTNESS CONTROL DATA BITS 7–0
175–168 OUTR0–OUTR7 group
183–176 OUTG0–OUTG7 group
191–184 OUTB0–OUTB7 group

Function-Control Data Latch

The function control (FC) data latch is 7 bits in length and is used to select the dot-correction adjustment range, grayscale counter mode, enabling of the auto display repeat, and display timing reset function. When the device is powered on, the data in the FC latch are not set to a specific default value. Therefore, function control data must be written to the FC data latch before turning on the constant-current output.

Table 10. Data-Bit Assignment

BIT DESCRIPTION
192 Dot correction adjustment range for the RED color output (0 = lower range, 1 = higher range).
When this bit is 0, dot correction can control the range of constant current from 0% to 66.7% (typ) of the maximum current set by an external resistor. This mode only operates the output for the red LED driver group.
When this bit is 1, dot correction can control the range of constant current from 33.3% (typ) to 100% of the maximum current set by an external resistor.
193 Dot correction adjustment range for the GREEN color output (0 = lower range, 1 = higher range).
When this bit is 0, dot correction can control the range of constant current from 0% to 66.7% (typ) of the maximum current set by an external resistor. This mode only operates the output for the green LED driver group.
When this bit is 1, dot correction can control the range of constant current from 33.3% (typ) to 100% of the maximum current set by an external resistor.
194 Dot correction adjustment range for the BLUE color output (0 = lower range, 1 = higher range).
When this bit is 0, dot correction can control the range of constant current from 0% to 66.7% (typ) of the maximum current set by an external resistor. This mode only operates the output for the blue LED driver group.
When this bit is 1, dot correction can control the range of constant current from 33.3% (typ) to 100% of the maximum current set by an external resistor.
195 Auto display repeat mode (0 = disabled, 1 = enabled).
When this bit is 0, the auto repeat function is disabled. Each output driver is turned on and off once after XBLNK goes high.
When this bit is 1, each output driver is repeatedly toggled on and off every 4096th grayscale clock without the XBLNK level changing when the GS counter is configured in the 12-bit mode. If the GS counter is configured in the 10-bit mode, the outputs continue to cycle on and off every 1024th grayscale clock. If the GS counter is set to the 8-bit mode, the output on-off repetition cycles every 256th grayscale clock.
196 Display timing reset mode (0 = disabled, 1 = enabled).
When this bit is 1, the GS counter is reset to 0 and all outputs are forced off at the GSLAT rising edge for a GS data write. This function is identical to the low pulse of the XBLNK signal when input. Therefore, the XBLNK signal is not needed to control from a display controller. PWM control starts again from the next input GSCKR, -G, or -B rising edge.
When this bit is 0, the GS counter is not reset and no outputs are forced off even if a GSLAT rising edge is input. In this mode, the XBLNK signal should be input after the PWM control of all LEDs is finished. Otherwise, the PWM control might be not exact.
198, 197 Grayscale counter mode select, bits 1–0.
The grayscale counter mode is selected by the setting of bits 1 and 0. Table 11 shows the GS counter mode.

Table 11. GS Counter-Mode Truth Table

GRAYSCALE COUNTER MODE FUNCTION MODE
BIT 1 BIT 0
0 X (don't care) 12-bit counter mode (maximum output on-time = 4095 × GS clock)
1 0 10-bit counter mode (maximum output on-time = 1023 × GS clock)
1 1 8-bit counter mode (maximum output on-time = 255 × GS clock)

The grayscale data latch bit length is always 288 bits in any grayscale counter mode. All constant-current outputs are forced off at the 256th grayscale clock in the 8-bit mode even if all grayscale data are FFFh. In 10-bit mode, all outputs are forced off at 1024th grayscale clock even if all grayscale data are FFFh.

User-Defined Data Latch

The user-defined (UD) data latch is 17 bits in length and is not used for any device functionality. However, these data can be used for communication between a controller connected to DCSIN and another controller connected to GSSIN. When the device is powered on, the data in the UD latch are not set to a specific default value.

Table 12. Data-Bit Assignment

BITS USER-DEFINED DATA BITS
215–199 16–0

Status Information Data (SID)

Status information data (SID) are 288 bits in length and are read-only data. SID consists of the LED open-detection (LOD) error, LED short-detection (LSD), thermal-error flag (TEF), and the data in the DC, BC, FC, and UD data latch. The SID are shifted out onto GSSOUT with the GSSCK rising edge after GSLAT is input for a GS data write. These SID are loaded into the 288-bit common shift register after data in the 288-bit common shift register are copied to the data latch.

TLC5951 ai_load_dc-fc_bvs127.gif Figure 48. DC, BC, and FC Data-Load Assignment

Table 13. Data-Bit Assignment

BITS DESCRIPTION
6–0 Dot correction data bits 6–0 for OUTR0
13–7 Dot correction data bits 6–0 for OUTG0
20–14 Dot correction data bits 6–0 for OUTB0
27–21 Dot correction data bits 6–0 for OUTR1
34–28 Dot correction data bits 6–0 for OUTG1
41–35 Dot correction data bits 6–0 for OUTB1
48–42 Dot correction data bits 6–0 for OUTR2
55–49 Dot correction data bits 6–0 for OUTG2
62–56 Dot correction data bits 6–0 for OUTB2
69–63 Dot correction data bits 6–0 for OUTR3
76–70 Dot correction data bits 6–0 for OUTG3
83–77 Dot correction data bits 6–0 for OUTB3
90–84 Dot correction data bits 6–0 for OUTR4
97–91 Dot correction data bits 6–0 for OUTG4
104–98 Dot correction data bits 6–0 for OUTB4
111–105 Dot correction data bits 6–0 for OUTR5
118–112 Dot correction data bits 6–0 for OUTG5
125–119 Dot correction data bits 6–0 for OUTB5
132–126 Dot correction data bits 6–0 for OUTR6
139–133 Dot correction data bits 6–0 for OUTG6
146–140 Dot correction data bits 6–0 for OUTB6
153–147 Dot correction data bits 6–0 for OUTR7
160–154 Dot correction data bits 6–0 for OUTG7
167–161 Dot correction data bits 6–0 for OUTB7
175–168 Global brightness-control data bits 7–0 for OUTR0–OUTR7 group
183–176 Global brightness-control data bits 7–0 for OUTG0–OUTG7 group
191–184 Global brightness-control data bits 7–0 for OUTB0–OUTB7 group
198–192 Function control data bits 6–0
215–199 User-defined data bits 16–0
238–216 Reserved for TI test
239 Thermal error flag (TEF)
1 = High temperature condition, 0 = Normal temperature condition
247–240 LED short detection (LSD) data for OUTR7–OUTR0
1 = LED is shorted, 0 = Normal operation
255–248 LSD data for OUTG7–OUTG0
1 = LED is shorted, 0 = Normal operation
263–256 LSD data for OUTB7–OUTB0
1 = LED is shorted, 0 = Normal operation
271–264 LED open detection (LOD) data for OUTR7–OUTR0
1 = LED is open or connected to GND, 0 = Normal operation
279–272 LOD data for OUTG7–OUTG0
1 = LED is open or connected to GND, 0 = Normal operation
287–280 LOD data for OUTB7–OUTB0
1 = LED is open or connected to GND, 0 = Normal operation

Continuous Base LOD, LSD, and TEF

The LOD and LSD data are updated at the rising edge of the 33rd GSCKR, -G, or -B pulse after XBLNK goes high and the data are retained until the next 33rd GSCKR, -G, or -B. LOD and LSD data are valid when GS data are equal to or higher than 20h (32d). If GS data are less than 20h (32d), LOD and LSD data are not valid and must be ignored. A 1 in an LOD bit indicates an open LED or shorted LED to GND with a low-impedance condition for the corresponding output. A 0 indicates normal operation. A 1 in an LSD bit indicates a shorted LED condition for the corresponding output. A 0 indicates normal operation. When the device is powered on, LOD and LSD data do not show correct values. Therefore, LOD and LSD data must be read from the 33rd GSCKR, -G, or -B pulse input after XBLNK goes high.

The TEF bit indicates that the device temperature is too high. The TEF flag also indicates that the device has turned off all drivers to avoid damage by overheating the device. A 1 in the TEF bit means that the device temperature has exceeded the detect temperature threshold (TTEF) and all outputs are turned off. A 0 in the TEF bit indicates normal operation with normal temperature conditions. The device automatically turns the drivers back on when the device temperature decreases to less than (TTEF – THYST). Table 14 shows a truth table for LOD, LSD, and TEF.

Table 14. LOD, LSD, and TEF Truth Table

SID DATA CONDITION
LED OPEN DETECTION (LODn) LED SHORT DETECTION (LSDn) THERMAL ERROR FLAG (TEF)
0 LED is not open
(VOUTRn/Gn/Bn > VLOD)
LED is not shorted
(VOUTRn/Gn/Bn ≤ VLSD)
Device temperature is lower than high-side detect temperature
(Temperature ≤ TTEF)
1 LED is open or shorted to GND
(VOUTRn/Gn/Bn ≤ VLOD)
LED is shorted between anode and cathode or shorted to higher-voltage side
(VOUTRn/Gn/Bn > VLSD)
Device temperature is higher than high-side detect temperature and driver is forced off
(Temperature > TTEF)
TLC5951 ai_tim_lod_bvs127.gif
The internal blank signal is generated at the rising edge of the GSLAT input signal for GS data with the display-timing reset enabled. Also, the signal is generated at the 4096th GSCK when auto repeat mode is enabled. XBLNK can be connected to VCC when the display timing reset or auto repeat is enabled.
Figure 49. LED-Open Detection (LOD), LED-Shorted Detection, and Data-Update Timing