TLC6948 Design Example
45
SLVUBF4A – February 2018 – Revised June 2019
Copyright © 2018–2019, Texas Instruments Incorporated
Device Operation Examples
TI Information — Selective Disclosure
Table 4-13. Function-Control Registers For Red Color LEDs (continued)
FUNCTION-CONTROL
REGISTER
REGISTER VALUE (BIN)
REGISTER VALUE (HEX)
FC4
0000 0000 0000 0000b
0000h
shows the FC1 through FC4 register values for green color LEDs.
Table 4-14. Function-Control Registers For Green Color LEDs
FUNCTION-CONTROL
REGISTER
REGISTER VALUE (BIN)
REGISTER VALUE (HEX)
FC1
0110 0110 0000 1000b
6608h
FC2
0100 0000 1010 0001b
40A1h
FC3
1100 1101 0110 0010b
CD62h
FC4
0000 0000 0000 0000b
0000h
shows the FC1 through FC4 register values for blue color LEDs.
Table 4-15. Function-Control Registers For Blue Color LEDs
FUNCTION-CONTROL
REGISTER
REGISTER VALUE (BIN)
REGISTER VALUE (HEX)
FC1
0110 0110 0000 1000b
6608h
FC2
0100 0000 1010 0001b
40A1h
FC3
01100 111 0110 0010b
6762h
FC4
0000 0000 0000 0000b
0000h
4.2.2.2
Send FC Register Data to the TLC6948 Device
NOTE:
The WRTFC_EN command must always be input before writing function-control data to
devices.
Sending function-control register data to the TLC6948 device follows the steps below:
1. WRTFC_EN: Pull up the LAT signal, and then pull down the LAT signal after 15 SCLK rising edges
to enable the write FC data function.
2. WRTFC1: Shift the FC1 register data from SIN into the common shift registers of the devices with
the SCLK rising edge. Pull up the LAT signal before the last 5 SCLK rising edges, and pull down the
LAT signal after the last SCLK rising edge. At the same time as the last SCLK falling edge, the FC1
data is latched into the FC1 register. In this example, there are 15 TLC6948 devices cascaded, and a
total of 240 SCLK rising edges are required to shift the correct FC1 register value to all devices.
3. WRTFC2: Shift the FC2 register data from SIN into the common shift registers of the devices with
the SCLK rising edge. Pull up the LAT signal before the last 7 SCLK rising edges, and pull down the
LAT signal after the last SCLK rising edge. At the same time as the last SCLK falling edge, the FC2
data is latched into the FC2 register. The same as with WRTFC1, there are 15 TLC6948 devices
cascaded in this example, and a total of 240 SCLK rising edges are required to shift the FC2 register
data to all devices.
4. WRTFC3: Shift the FC3 register data from SIN into the common shift registers of the devices with
the SCLK rising edge. Pull up the LAT signal before the last 9 SCLK rising edges, and pull down the
LAT signal after the last SCLK rising edge. At the same time as the last SCLK falling edge, the FC3
data is latched into the FC3 register. The same as WRTFC1, there are 15 TLC6948 devices cascaded
in this example, and a total of 240 SCLK rising edges are required to shift the FC3 register data to all
devices.