TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 16-CHANNEL Fm+ I2C-BUS CONSTANT-CURRENT LED SINK DRIVER FEATURES 1 • 16 LED Drivers (Each Output Programmable at Off, On, Programmable LED Brightness, or Programmable Group Dimming/Blinking Mixed With Individual LED Brightness) • 16 Constant-Current Open-Drain Output Channels • 256-Step (8-Bit) Linear Programmable Brightness Per LED Output Varying From Fully Off (Default) to Maximum Brightness Using a 97-kHz PWM Signal • 256-Step Group Brightness Control Allows General Dimming [Using a 190-Hz PWM Signal From Fully Off to Maximum Brightness (Default)] • 256-Step Group Blinking With Frequency Programmable From 24 Hz to 10.73 s and Duty Cycle From 0% to 99.6% • Four Hardware Address Pins Allow 14 TLC59116 Devices to Be Connected to the Same I2C Bus • Four Software-Programmable I2C Bus Addresses (One LED Group Call Address and Three LED Sub Call Addresses) Allow Groups of Devices to Be Addressed at the Same Time in Any Combination • Software Reset Feature (SWRST Call) Allows Device to Be Reset Through I2C Bus • Up to 14 Possible Hardware-Adjustable Individual I2C Bus Addresses Per Device, So That Each Device Can Be Programmed 2 • • • • • • • • • • • • • • • • • Open-Load/Overtemperature Detection Mode to Detect Individual LED Errors Output State Change Programmable on Acknowledge or Stop Command to Update Outputs Byte by Byte or All at the Same Time (Default to Change on Stop) Output Current Adjusted Through an External Resistor Constant Output Current Range: 10 mA to 100 mA Maximum Output Voltage: 17 V 25-MHz Internal Oscillator Requires No External Components 1-MHz Fast Mode Plus Compatible I2C Bus Interface With 30-mA High Drive Capability on SDA Output for Driving High-Capacitive Buses Internal Power-On Reset Noise Filter on SCL/SDA Inputs No Glitch on Power Up Active-Low Reset Supports Hot Insertion Low Standby Current 3.3-V or 5-V Supply Voltage 5.5-V Tolerant Inputs Offered in 28-pin TSSOP (PW) Package –40°C to 85°C Operation DESCRIPTION/ORDERING INFORMATION The TLC59116 is an I2C bus controlled 16-channel LED driver that is optimized for red/green/blue/amber (RGBA) color mixing and backlight application for amusement products. Each LED output has its own 8-bit resolution (256 steps) fixed-frequency individual PWM controller that operates at 97 kHz, with a duty cycle that is adjustable from 0% to 99.6%. The individual PWM controller allows each LED to be set to a specific brightness value. An additional 8-bit resolution (256 steps) group PWM controller has both a fixed frequency of 190 Hz and an adjustable frequency between 24 Hz to once every 10.73 seconds, with a duty cycle that is adjustable from 0% to 99.6%. The group PWM controller dims or blinks all LEDs with the same value. Each LED output can be off, on (no PWM control), or set at its individual PWM controller value at both individual and group PWM controller values. The TLC59116 is one of the first LED controller devices in a new Fast-mode Plus (Fm+) family. Fm+ devices offer higher frequency (up to 1 MHz) and longer, more densely populated bus operation (up to 4000 pF). 1 2 Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. All trademarks are the property of their respective owners. PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. Copyright © 2008, Texas Instruments Incorporated TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Software programmable LED group and three Sub Call I2C bus addresses allow all or defined groups of TLC59116 devices to respond to a common I2C bus address allowing, for example, all red LEDs to be turned on or off at the same time or a marquee chasing effect, thus minimizing I2C bus commands. Four hardware address pins allow up to 14 devices on the same bus. The Software Reset (SWRST) call allows the master to perform a reset of the TLC59116 through the I2C bus, identical to the Power-On Reset (POR) that initializes the registers to their default state, causing the outputs to be set high (LED off). This allows an easy and quick way to reconfigure all device registers to the same condition. ORDERING INFORMATION (1) PACKAGE (2) TA –40°C to 85°C (1) (2) TSSOP – PW ORDERABLE PART NUMBER Reel of 2000 TLC59116IPWR TOP-SIDE MARKING Y59116 For the most current package and ordering information, see the Package Option Addendum at the end of this document, or see the TI web site at www.ti.com. Package drawings, thermal data, and symbolization are available at www.ti.com/packaging. BLOCK DIAGRAM A0 A1 A2 A3 SCL SDA Input Filter I2C Bus Control REXT OUT0 OUT1 OUT14 OUT15 I/O Regulator Output Driver and Error Detection RESET Power-On Reset Control LED State Select Register PWM Register X Brightness Control 97 kHz 24.3 kHz 25-MHz Oscillator GRPFRQ Register GRPPWM Register 190 kHz 0 = Permanently off 1 = Permanently on VCC GND 2 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 PW PACKAGE (TOP VIEW) REXT A0 A1 A2 A3 OUT0 OUT1 OUT2 OUT3 GND OUT4 OUT5 OUT6 OUT7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 VCC SDA SCL RESET GND OUT15 OUT14 OUT13 OUT12 GND OUT11 OUT10 OUT9 OUT8 TERMINAL FUNCTIONS TERMINAL I/O (1) DESCRIPTION NAME NO. REXT 1 I Input terminal used to connect an external resistor for setting up all output currents A0 2 I Address input 0 A1 3 I Address input 1 A2 4 I Address input 2 A3 5 I Address input 3 OUT0 6 O Constant current output 0 OUT1 7 O Constant current output 1 OUT2 8 O Constant current output 2 OUT3 9 O Constant current output 3 GND 10 OUT4 11 O Constant current output 4 OUT5 12 O Constant current output 5 OUT6 13 O Constant current output 6 OUT7 14 O Constant current output 7 OUT8 15 O Constant current output 8 OUT9 16 O Constant current output 9 OUT10 17 O Constant current output 10 OUT11 18 O Constant current output 11 GND 19 OUT12 20 O Constant current output 12 OUT13 21 O Constant current output 13 OUT14 22 O Constant current output 14 OUT15 23 O Constant current output 15 GND 24 RESET 25 I Active-low reset input SCL 26 I Serial clock input SDA 27 I/O VCC 28 (1) Ground Ground Ground Serial data input/output Power supply I = input, O = output Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 3 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com ABSOLUTE MAXIMUM RATINGS (1) over operating free-air temperature range (unless otherwise noted) VCC Supply voltage range VI Input voltage range VO Output voltage range IO Output current θJA Thermal impedance, junction to free air (2) PD Power dissipation TJ Junction temperature range –40°C to 150°C Tstg Storage temperature range –55°C to 150°C (1) (2) 0 V to 7 V –0.4 V to VCC + 0.4 V –0.5 V to 20 V 120 mA 61.7 °C/W See Dissipation Ratings Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under "recommended operating conditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. The package thermal impedance is calculated in accordance with JESD 51-7. DISSIPATION RATINGS (1) PACKAGE POWER RATING TA ≤ 25°C DERATING FACTOR (1) TA > 25°C POWER RATING TA = 85°C PW (TSSOP) 1207 mW 9.6 mW/°C 628 mW This is the inverse of the junction-to-ambient thermal resistance when board mounted and with no air flow. RECOMMENDED OPERATING CONDITIONS (1) MIN MAX 3 5.5 V SCL, SDA, RESET, A0, A1, A2, A3 0.7 × VCC VCC V Low-level input voltage SCL, SDA, RESET, A0, A1, A2, A3 0 0.3 × VCC V Supply voltage to output pins OUT0 to OUT15 17 V VCC Supply voltage VIH High-level input voltage VIL VO IOL Low-level output current sink SDA IO Output current OUT0 to OUT15 TA Operating free-air temperature (1) 4 VCC = 3 V 20 VCC = 3 V 30 UNIT mA 5 120 mA –40 85 °C All unused inputs of the device must be held at VCC or GND to ensure proper device operation. Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 ELECTRICAL CHARACTERISTICS VCC = 3 V to 5.5 V, TA = –40°C to 85°C (unless otherwise noted) PARAMETER II TEST CONDITIONS Input/output leakage current SCL, SDA, A0, A1, A2, A3, RESET Output leakage current OUT0 to OUT15 VO = 17 V, TJ = 25°C MIN TYP (1) VI = VCC or GND MAX UNIT ±0.3 µA 0.5 µA VPOR Power-on reset voltage IOL Low-level output current SDA IO(1) Output current 1 OUT0 to OUT15 VO = 0.6 V, Rext = 720 Ω, CG = 0.992 (2) Output current error I = 26 mA, VO = 0.6 V, Rext = 720 Ω, OUT0 to OUT15 O TJ = 25°C ±8 % Output channel to channel current error OUT0 to OUT15 IO = 26 mA, VO = 0.6 V, Rext = 720 Ω, TJ = 25°C ±6 % Output current 2 OUT0 to OUT15 VO = 0.8 V, Rext = 360 Ω, CG = 0.992 (2) Output current error I = 52 mA, VO = 0.8 V, Rext = 360 Ω, OUT0 to OUT15 O TJ = 25°C ±8 % Output channel to channel current error OUT0 to OUT15 IO = 52 mA, VO = 0.8 V, Rext = 360 Ω, TJ = 25°C ±6 % IOUT vs VOUT Output current vs output voltage regulation OUT0 to OUT15 IOUT,Th1 Threshold current 1 for error detection OUT0 to OUT15 IOUT,target = 26 mA 0.5 × ITARGET % IOUT,Th2 Threshold current 2 for error detection OUT0 to OUT15 IOUT,target = 52 mA 0.5 × ITARGET % IOUT,Th3 Threshold current 3 for error detection OUT0 to OUT15 IOUT,target = 104 mA 0.5 × ITARGET % IO(2) 2.5 Overtemperature shutdown THYS Restart hysteresis Ci Input capacitance SCL, A0, A1, A2, A3, RESET Cio Input/output capacitance SDA (1) (2) (3) 20 VCC = 5 V, VOL = 0.4 V 30 Supply current mA 26 mA 52 VO = 1 V to 3 V, IO = 26 mA mA ±0.1 VO = 3 V to 5.5 V, IO = 26 mA to 120 mA (3) TSD ICC VCC = 3 V, VOL = 0.4 V V %/V ±1 150 175 200 °C 15 °C VI = VCC or GND 5 pF VI = VCC or GND 8 pF VCC = 5.5 V OUT0 to OUT15 = OFF, Rext = Open 25 OUT0 to OUT15 = OFF, Rext = 720 Ω 29 OUT0 to OUT15 = OFF, Rext = 360 Ω 32 OUT0 to OUT15 = OFF, Rext = 180 Ω 37 OUT0 to OUT15 = ON, Rext = 720 Ω 29 OUT0 to OUT15 = ON, Rext = 360 Ω 32 OUT0 to OUT15 = ON, Rext = 180 Ω 37 mA All typical values are at TA = 25°C. CG is the Current Gain and is defined in Table 11. Specified by design Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 5 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com TIMING REQUIREMENTS TA = –40°C to 85°C STANDARD MODE I2C BUS FAST MODE I2C BUS FAST MODE PLUS I2C BUS MIN MAX MIN MAX MIN MAX 0 100 0 400 0 1000 UNIT I2C Interface fSCL SCL clock frequency (1) tBUF I2C bus free time between Stop and Start conditions 4.7 1.3 0.5 µs tHD;STA Hold time (repeated) Start condition 4 0.6 0.26 µs tSU;STA Setup time for a repeated Start condition 4.7 0.6 0.26 µs tSU;STO Setup time for Stop condition 4 0.6 0.26 µs tHD;DAT Data hold time 0 0 0 tVD;ACK Data valid acknowledge time (2) tVD;DAT kHz ns 0.1 0.9 0.05 0.45 µs 0.1 0.9 0.05 0.45 µs 0.3 3.45 Data valid time (3) 0.3 3.45 tSU;DAT Data setup time 250 100 50 ns tLOW Low period of SCL clock 4.7 1.3 0.5 µs tHIGH High period of SCL clock 4 0.6 0.26 µs tf Fall time of both SDA and SCL signals (4) (5) 300 20+0.1Cb (6) 300 120 ns tr Rise time of both SDA and SCL signals 1000 20+0.1Cb (6) 300 120 ns tSP Pulse width of spikes that must be suppressed by the input filter (7) 50 50 ns 50 Reset tW Reset pulse width tREC Reset recovery time tRESET Time to reset (8) (9) (1) (2) (3) (4) (5) (6) (7) (8) (9) 6 10 10 10 ns 0 0 0 ns 400 400 400 ns Minimum SCL clock frequency is limited by the bus time-out feature, which resets the serial bus interface if either SDA or SCL is held low for a minimum of 25 ms. Disable bus time-out feature for dc operation. tVD;ACK = time for ACK signal from SCL low to SDA (out) low. tVD;DAT = minimum time for SDA data out to be valid following SCL low. A master device must internally provide a hold time of at least 300 ns for the SDA signal (refer to the VIL of the SCL signal) in order to bridge the undefined region of the SCL falling edge. The maximum tf for the SDA and SCL bus lines is specified at 300 ns. The maximum fall time (tf) for the SDA output stage is specified at 250 ns. This allows series protection resistors to be connected between the SDA and the SCL pins and the SDA/SCL bus lines without exceeding the maximum specified tf. Cb = Total capacitance of one bus line in pF Input filters on the SDA and SCL inputs suppress noise spikes less than 50 ns. Resetting the device while actively communicating on the bus may cause glitches or errant Stop conditions. Upon reset, the full delay will be the sum of tRESET and the RC time constant of the SDA bus. Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 PARAMETER MEASUREMENT INFORMATION Start SCL ACK or Read Cycle SDA 30% tRESET 50% RESET tREC tW OUTn 50% tRESET Figure 1. Reset Timing SDA tBUF tHD;STA tr tSP tf tLOW SCL tSU;DAT tHD;STA P tHD;DAT S tHIGH tSU;DAT tSU;STO Sr P Figure 2. Definition of Timing Protocol Bit 7 MSB (A7) Start Condition (S) tSU;STA tLOW Bit 6 (A6) tHIGH Bit 7 (D1) Bit 8 (D0) Acknowledge (A) Stop Condition (P) 1/fSCL SCL tr tf tBUF SDA tHD;STA tSU;DAT tHD;DAT tVD;DAT tVD;ACK tSU;STO NOTE: Rise and fall times refer to VIL and VIH. Figure 3. I2C Bus Timing Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 7 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com PARAMETER MEASUREMENT INFORMATION (continued) VCC RL Pulse Generator VI DUT RT VCC Open GND VO CL NOTE: RL = Load resistance for SDA and SCL; should be >1 kΩ at 3-mA or lower current CL = Load capacitance; includes jig and probe capacitance RT = Termination resistance; should be equal to the output impedance (ZO) of the pulse generator Figure 4. Test Circuit for Switching Characteristics 8 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 APPLICATION INFORMATION Functional Description Device Address Following a Start condition, the bus master must output the address of the slave it is accessing. Regular I2C Bus Slave Address The I2C bus slave address of the TLC59116 is shown in Figure 5. To conserve power, no internal pullup resistors are incorporated on the hardware-selectable address pins, and they must be pulled high or low. For buffer management purposes, a set of sector information data should be stored. Slave Address 1 1 Fixed 0 A3 A2 A1 A0 R/W Hardware Selectable Figure 5. Slave Address The last bit of the address byte defines the operation to be performed. When set to logic 1, a read operation is selected. When set to logic 0, a write operation is selected. LED All Call I2C Bus Address • Default power-up value (ALLCALLADR register): D0h or 1101 000 • Programmable through I2C bus (volatile programming) • At power-up, LED All Call I2C bus address is enabled. TLC59116 sends an ACK when D0h (R/W = 0) or D1h (R/W = 1) is sent by the master. See LED All Call I2C Bus Address Register (ALLCALLADR) for more detail. NOTE: The default LED All Call I2C bus address (D0h or 1101 000) must not be used as a regular I2C bus slave address, since this address is enabled at power-up. All the TLC59116 devices on the I2C bus will acknowledge the address if it is sent by the I2C bus master. LED Sub Call I2C Bus Address • Three different I2C bus addresses can be used • Default power-up values: – SUBADR1 register: D2h or 1101 001 – SUBADR2 register: D4h or 1101 010 – SUBADR3 register: D8h or 1101 100 • Programmable through I2C bus (volatile programming) • At power-up, Sub Call I2C bus address is disabled. TLC59116 does not send an ACK when D2h (R/W = 0) or D3h (R/W = 1) or D4h (R/W = 0) or D5h (R/W = 1) or D8h (R/W = 0) or D9h (R/W = 1) is sent by the master. See I2C Bus Subaddress Registers 1 to 3 (SUBADR1 to SUBADR3) for more detail. NOTE: 2 The LED Sub Call I C bus addresses may be used as regular I2C bus slave addresses if their corresponding enable bits are set to 0 in the MODE1 Register. Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 9 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Software Reset I2C Bus Address The address shown in Figure 6 is used when a reset of the TLC59116 is performed by the master. The software reset address (SWRST Call) must be used with R/W = 0. If R/W = 1, the TLC59116 does not acknowledge the SWRST. See Software Reset for more detail. 1 1 0 1 0 1 1 R/W Figure 6. Software Reset Address NOTE: 2 The Software Reset I C bus address is reserved address and cannot be use as regular I2C bus slave address or as an LED All Call or LED Sub Call address. Control Register Following the successful acknowledgement of the slave address, LED All Call address or LED Sub Call address, the bus master sends a byte to the TLC59116, which is stored in the Control register. The lowest five bits are used as a pointer to determine which register is accessed (D[4:0]). The highest three bits are used as auto-increment flag and auto-increment options (AI[2:0]). Auto-Increment Flag Register Address AI2 AI1 AI0 D4 D3 D2 D1 D0 Auto-Increment Options Figure 7. Control Register When the auto-increment flag is set (AI2 = logic 1), the five low order bits of the Control register are automatically incremented after a read or write. This allows the user to program the registers sequentially. Four different types of auto-increment are possible, depending on AI1 and AI0 values. Table 1. Auto-Increment Options AI2 AI1 AI0 0 0 0 No auto-increment DESCRIPTION 1 0 0 Auto-increment for all registers. D[4:0] roll over to 0 0000 after the last register (1 1011) is accessed. 1 0 1 Auto-increment for individual brightness registers only. D[4:0] roll over to 0 0010 after the last register (1 0001) is accessed. 1 1 0 Auto-increment for global control registers only. D[4:0] roll over to 1 0010 after the last register (1 0011) is accessed. 1 1 1 Auto-increment for individual and global control registers only. D[4:0] roll over to 0 0010 after the last register (1 0011) is accessed. NOTE: Other combinations are not shown in Table 1. (AI[2:0] = 001, 010, and 011) are reserved and must not be used for proper device operation. AI[2:0] = 000 is used when the same register must be accessed several times during a single I2C bus communication, for example, changing the brightness of a single LED. Data is overwritten each time the register is accessed during a write operation. AI[2:0] = 100 is used when all the registers must be sequentially accessed, for example, power-up programming. AI[2:0] = 101 is used when the four LED drivers must be individually programmed with different values during the same I2C bus communication, for example, changing a color setting to another color setting. 10 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 AI[2:0] = 110 is used when the LED drivers must be globally programmed with different settings during the same I2C bus communication, for example, global brightness or blinking change. AI[2:0] = 111 is used when individually and global changes must be performed during the same I2C bus communication, for example, changing color and global brightness at the same time. Only the five least significant bits D[4:0] are affected by the AI[2:0] bits. When the Control register is written, the register entry point determined by D[4:0] is the first register that will be addressed (read or write operation), and can be anywhere between 0 0000 and 1 1011 (as defined in Table 2). When AI[2] = 1, the Auto-Increment flag is set and the rollover value at which the point where the register increment stops and goes to the next one is determined by AI[2:0]. See Table 1 for rollover values. For example, if the Control register = 1111 0100 (F4h), then the register addressing sequence will be (in hex): 14 → ... → 1B → 00 → ... → 13 → 02 → ... → 13 → 02 → ... as long as the master keeps sending or reading data. Driver Output Constant Current Output In LED display applications, TLC59116 provides nearly no current variations from channel to channel and from device to device. While IOUT ≤ 52 mA, the maximum current skew between channels is less than ±6% and less than ±8% between devices. Adjusting Output Current TLC59116 scales up the reference current (Iref) set by the external resistor (Rext) to sink the output current (Iout) at each output port. Table 11 shows the Configuration Code and discusses bits CM, HC, and CC[5:0]. The following formulas can be used to calculate the target output current IOUT,target in the saturation region: VREXT = 1.26 V × VG Iref = VREXT/Rext, if another end of the external resistor Rext is connected to ground IOUT,target = Iref × 15 × 3CM – 1 Where Rext is the resistance of the external resistor connected to the REXT terminal, and VREXT is the voltage of REXT, which is controlled by the programmable voltage gain (VG), which is defined by the Configuration Code. The Current Multiplier bit (CM) sets the ratio IOUT,target/Iref to 15 or 5 (sets the exponent "CM – 1" to either 0 or –1). After power on, the default value of VG is 127/128 = 0.992, and the default value of CM is 1, so that the ratio IOUT,target/Iref = 15. Based on the default VG and CM: VREXT = 1.26 V × 127/128 = 1.25 V IOUT,target = (1.25 V/Rext) × 15 Therefore, the default current is approximately 52 mA at 360 Ω and 26 mA at 720 Ω. The default relationship after power on between IOUT,target and Rext is shown in Figure 8. 140 IOUT – mA 120 100 80 40 0 0 500 1000 1500 2000 2500 3000 3500 4000 Rext – W Figure 8. IOUT,target vs Rext Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 11 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Register Descriptions Table 2 describes the registers in the TLC59116. Table 2. Register Descriptions REGISTER NUMBER (HEX) (1) 12 NAME ACCESS (1) DESCRIPTION 00 MODE1 R/W Mode 1 01 MODE2 R/W Mode 2 02 PWM0 R/W Brightness control LED0 03 PWM1 R/W Brightness control LED1 04 PWM2 R/W Brightness control LED2 05 PWM3 R/W Brightness control LED3 06 PWM4 R/W Brightness control LED4 07 PWM5 R/W Brightness control LED5 08 PWM6 R/W Brightness control LED6 09 PWM7 R/W Brightness control LED7 0A PWM8 R/W Brightness control LED8 0B PWM9 R/W Brightness control LED9 0C PWM10 R/W Brightness control LED10 0D PWM11 R/W Brightness control LED11 0E PWM12 R/W Brightness control LED12 0F PWM13 R/W Brightness control LED13 10 PWM14 R/W Brightness control LED14 11 PWM15 R/W Brightness control LED15 12 GRPPWM R/W Group duty cycle control 13 GRPFREQ R/W Group frequency 14 LEDOUT0 R/W LED output state 0 15 LEDOUT1 R/W LED output state 1 16 LEDOUT2 R/W LED output state 2 17 LEDOUT3 R/W LED output state 3 18 SUBADR1 R/W I2C bus subaddress 1 19 SUBADR2 R/W I2C bus subaddress 2 1A SUBADR3 R/W I2C bus subaddress 3 1B ALLCALLADR R/W LED All Call I2C bus address 1C IREF R/W IREF configuration 1D EFLAG1 R Error flags 1 1E EFLAG2 R Error flags 2 R = read, W = write Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 Mode Register 1 (MODE1) Table 3 describes Mode Register 1. Table 3. MODE1 – Mode Register 1 (Address 00h) Bit Description BIT 7 6 5 4 3 2 (1) (2) (3) (4) SYMBOL ACCESS (1) AI2 R AI1 R AI0 R SLEEP R/W SUB1 R/W SUB2 R/W 1 SUB3 R/W 0 ALLCALL R/W VALUE DESCRIPTION 0 (2) Register auto-increment disabled 1 Register auto-increment enabled 0 (2) Auto-increment bit 1 = 0 1 Auto-increment bit 1 = 1 0 (2) Auto-increment bit 0 = 0 1 Auto-increment bit 0 = 1 0 Normal mode (3) 1 (2) Low-power mode. Oscillator off (4). (2) Device does not respond to I2C bus subaddress 1. 1 Device responds to I2C bus subaddress 1. (2) Device does not respond to I2C bus subaddress 2. 1 Device responds to I2C bus subaddress 2. (2) Device does not respond to I2C bus subaddress 3. 1 Device responds to I2C bus subaddress 3. 0 Device does not respond to LED All Call I2C bus address. (2) Device responds to LED All Call I2C bus address. 0 0 0 1 R = read, W = write Default value Requires 500 µs maximum for the oscillator to be up and running once SLEEP bit has been set to logic 1. Timings on LED outputs are not ensured if PWMx, GRPPWM, or GRPFREQ registers are accessed within the 500-µs window. No blinking or dimming is possible when the oscillator is off. Mode Register 2 (MODE2) Table 4 describes Mode Register 2. Table 4. MODE2 – Mode Register 2 (Address 01h) Bit Description BIT 7 SYMBOL EFCLR 6:4 5 3 2:0 (1) (2) (3) ACCESS (1) R/W R DMBLNK OCH R/W R/W R VALUE DESCRIPTION (2) Enable error status flag 1 Clear error status flag 0 000 (2) Reserved (2) Group control = dimming 1 Group control = blinking 0 0 (2) 1 000 Outputs change on Stop command (3) Outputs change on ACK (2) Reserved R = read, W = write Default value Change of the outputs at the Stop command allows synchronizing outputs of more than one TLC59116. Applicable to registers from 02h (PWM0) to 17h (LEDOUT) only. Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 13 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Brightness Control Registers 0 to 15 (PWM0 to PWM15) Table 5 describes Brightness Control Registers 0 to 15. Table 5. PWM0 to PWM15 – Brightness Control Registers 0 to 15 (Address 02h to 11h) Bit Description ADDRESS REGISTER BIT SYMBOL ACCESS (1) VALUE 02h PWM0 7:0 IDC0[7:0] R/W 0000 0000 (2) PWM0 individual duty cycle 03h PWM1 7:0 IDC1[7:0] R/W 0000 0000 (2) PWM1 individual duty cycle 04h PWM2 7:0 IDC2[7:0] R/W 0000 0000 (2) PWM2 individual duty cycle 05h PWM3 7:0 IDC3[7:0] R/W 0000 0000 (2) PWM3 individual duty cycle 06h PWM4 7:0 IDC4[7:0] R/W 0000 0000 (2) PWM4 individual duty cycle (2) PWM5 individual duty cycle 07h PWM5 7:0 IDC5[7:0] R/W 0000 0000 08h PWM6 7:0 IDC6[7:0] R/W 0000 0000 (2) PWM6 individual duty cycle 09h PWM7 7:0 IDC7[7:0] R/W 0000 0000 (2) PWM7 individual duty cycle (2) PWM8 individual duty cycle 0Ah PWM8 7:0 IDC8[7:0] R/W 0000 0000 0Bh PWM9 7:0 IDC9[7:0] R/W 0000 0000 (2) PWM9 individual duty cycle 0Ch PWM10 7:0 IDC10[7:0] R/W 0000 0000 (2) PWM10 individual duty cycle (2) PWM11 individual duty cycle 0Dh PWM11 7:0 IDC11[7:0] R/W 0000 0000 0Eh PWM12 7:0 IDC12[7:0] R/W 0000 0000 (2) PWM12 individual duty cycle 0Fh PWM13 7:0 IDC13[7:0] R/W 0000 0000 (2) PWM13 individual duty cycle 10h PWM14 7:0 IDC14[7:0] R/W 0000 0000 (2) PWM14 individual duty cycle R/W (2) PWM15 individual duty cycle 11h (1) (2) DESCRIPTION PWM15 7:0 IDC15[7:0] 0000 0000 R = read, W = write Default value A 97-kHz fixed frequency signal is used for each output. Duty cycle is controlled through 256 linear steps from 00h (0% duty cycle = LED output off) to FFh (99.6% duty cycle = LED output at maximum brightness). Applicable to LED outputs programmed with LDRx = 10 or 11 (LEDOUT0 and LEDOUT1 registers). Duty cycle = IDCn[7:0] / 256 Group Duty Cycle Control Register (GRPPWM) Table 6 describes the Group Duty Cycle Control Register. Table 6. GRPPWM – Group Brightness Control Register (Address 12h) Bit Description ADDRESS 12h (1) (2) REGISTER GRPPWM BIT 7:0 SYMBOL GDC0[7:0] ACCESS (1) R/W VALUE 1111 1111 DESCRIPTION (2) GRPPWM register R = read, W = write Default value When the DMBLNK bit (MODE2 register) is programmed with logic 0, a 190-Hz fixed-frequency signal is superimposed with the 97-kHz individual brightness control signal. GRPPWM is then used as a global brightness control, allowing the LED outputs to be dimmed with the same value. The value in GRPFREQ is then a Don't care. General brightness for the 16 outputs is controlled through 256 linear steps from 00h (0% duty cycle = LED output off) to FFh (99.6% duty cycle = maximum brightness). This is applicable to LED outputs programmed with LDRx = 11 (LEDOUT0 and LEDOUT1 registers). When DMBLNK bit is programmed with logic 1, the GRPPWM and GRPFREQ registers define a global blinking pattern, where GRPFREQ defines the blinking period (from 24 Hz to 10.73 s) and GRPPWM defines the duty cycle (ON/OFF ratio in %). Duty cycle = GDC0[7:0] / 256 14 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 Group Frequency Register (GRPFREQ) Table 7 describes the Group Frequency Register. Table 7. GRPFREQ – Group Frequency Register (Address 13h) Bit Description ADDRESS REGISTER BIT SYMBOL ACCESS (1) VALUE 13h GRPFREQ 7:0 GFRQ[7:0] R/W 0000 0000 (2) (1) (2) DESCRIPTION GRPFREQ register R = read, W = write Default value GRPFREQ is used to program the global blinking period when the DMBLNK bit (MODE2 register) is equal to 1. Value in this register is a Don't care when DMBLNK = 0. This is applicable to LED output programmed with LDRx = 11 (LEDOUT0 and LEDOUT1 registers). The blinking period is controlled through 256 linear steps from 00h (41 ms, frequency 24 Hz) to FFh (10.73 s). Global blinking period (seconds) = (GFRQ[7:0] + 1) / 24 LED Driver Output State Registers 0 to 3 (LEDOUT0 to LEDOUT3) Table 8 describes LED Driver Output State Registers 0 to 3. Table 8. LEDOUT0 to LEDOUT3 – LED Driver Output State Registers 0 to 3 (Address 14h to 17h) Bit Description ADDRESS 14h 15h 16h 17h (1) (2) REGISTER LEDOUT0 LEDOUT1 LEDOUT2 LEDOUT3 BIT SYMBOL ACCESS (1) VALUE 7:6 LDR3[1:0] R/W 00 (2) LED3 output state control 5:4 LDR2[1:0] R/W 00 (2) LED2 output state control (2) LED1 output state control DESCRIPTION 3:2 LDR1[1:0] R/W 00 1:0 LDR0[1:0] R/W 00 (2) LED0 output state control 7:6 LDR7[1:0] R/W 00 (2) LED7 output state control 5:4 LDR6[1:0] R/W 00 (2) LED6 output state control (2) LED5 output state control 3:2 LDR5[1:0] R/W 00 1:0 LDR4[1:0] R/W 00 (2) LED4 output state control 7:6 LDR11[1:0] R/W 00 (2) LED11 output state control (2) LED10 output state control 5:4 LDR10[1:0] R/W 00 3:2 LDR9[1:0] R/W 00 (2) LED9 output state control 1:0 LDR8[1:0] R/W 00 (2) LED8 output state control (2) LED15 output state control 7:6 LDR15[1:0] R/W 00 5:4 LDR14[1:0] R/W 00 (2) LED14 output state control 3:2 LDR13[1:0] R/W 00 (2) LED13 output state control 1:0 LDR12[1:0] R/W 00 (2) LED12 output state control R = read, W = write Default value LDRx = 00: LED driver x is off (default power-up state). LDRx = 01: LED driver x is fully on (individual brightness and group dimming/blinking not controlled). LDRx = 10: LED driver x is individual brightness can be controlled through its PWMx register. LDRx = 11: LED driver x is individual brightness and group dimming/blinking can be controlled through its PWMx register and the GRPPWM registers. Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 15 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com I2C Bus Subaddress Registers 1 to 3 (SUBADR1 to SUBADR3) Table 9 describes I2C Bus Subaddress Registers 1 to 3. Table 9. SUBADR1 to SUBADR3 – I2C Bus Subaddress Registers 1 to 3 (Address 18h to 1Ah) Bit Description ADDRESS 18h SUBADR1 19h SUBADR2 1Ah (1) (2) REGISTER SUBADR3 BIT SYMBOL ACCESS (1) VALUE 7:1 A1[7:1] R/W 0 A1[0] R 0 (2) 7:1 A2[7:1] R/W 1101 010 (2) 0 A2[0] R 7:1 A3[7:1] R/W 0 A3[0] 1101 001 (2) 0 R (2) 1101 100 (2) 0 (2) DESCRIPTION 2 I C bus subaddress 1 Reserved I2C bus subaddress 2 Reserved I2C bus subaddress 3 Reserved R = read, W = write Default value Subaddresses are programmable through the I2C bus. Default power-up values are D2h, D4h, D8h. The TLC59116 does not acknowledge these addresses immediately after power-up (the corresponding SUBx bit in MODE1 register is equal to 0). Once subaddresses have been programmed to valid values, the SUBx bits (MODE1 register) must be set to 1 to allows the device to acknowledge these addresses. Only the 7 MSBs representing the I2C bus subaddress are valid. The LSB in SUBADRx register is a read-only bit (0). When SUBx is set to 1, the corresponding I2C bus subaddress can be used during either an I2C bus read or write sequence. LED All Call I2C Bus Address Register (ALLCALLADR) Table 10 describes the LED All Call I2C Bus Address Register. Table 10. ALLCALLADR – LED All Call I2C Bus Address Register (Address 1Bh) Bit Description ADDRESS 1Bh (1) (2) REGISTER ALLCALLADR BIT SYMBOL ACCESS (1) VALUE 7:1 AC[7:1] R/W 1101 000 (2) 0 AC[0] R 0 (2) DESCRIPTION All Call I2C bus address Reserved R = read, W = write Default value The LED All Call I2C bus address allows all the TLC59116 devices in the bus to be programmed at the same time (ALLCALL bit in register MODE1 must be equal to 1, which is the power-up default state). This address is programmable through the I2C bus and can be used during either an I2C bus read or write sequence. The register address can also be programmed as a Sub Call. Only the seven MSBs representing the All Call I2C bus address are valid. The LSB in ALLCALLADR register is a read-only bit (0). If ALLCALL bit = 0, the device does not acknowledge the address programmed in register ALLCALLADR. 16 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 Output Gain Control Register (IREF) Table 11 describes the Output Gain Control Register. Table 11. IREF – Output Gain Control Register (Address 1Ch) Bit Description ADDRESS 1Ch (1) (2) REGISTER IREF BIT SYMBOL ACCESS (1) VALUE 7 CM R/W 1 (2) High/low current multiplier 6 HC R/W 1 (2) Subcurrent 5:0 CC[5:0] R/W 11 1111 (2) DESCRIPTION Current multiplier R = read, W = write Default value IREF determines the voltage gain (VG), which affects the voltage at the REXT terminal and indirectly the reference current (Iref) flowing through the external resistor at terminal REXT. Bit 0 is the Current Multiplier (CM) bit, which determines the ratio IOUT,target/Iref. Each combination of VG and CM sets a Current Gain (CG). • VG: the relationship between {HC,CC[0:5]} and the voltage gain is calculated as shown: VG = (1 + HC) × (1 + D/64) / 4 D = CC0 × 25 + CC1 × 24 + CC2 × 23 + CC3 × 22 + CC4 × 21 + CC5 × 20 Where HC is 1 or 0, and D is the binary value of CC[0:5]. So, the VG could be regarded as a floating-point number with 1-bit exponent HC and 6-bit mantissa CC[0:5]. {HC,CC[0:5]} divides the programmable voltage gain (VG) into 128 steps and two sub-bands: Low-voltage subband (HC = 0): VG = 1/4 to 127/256, linearly divided into 64 steps High-voltage subband (HC = 1): VG = 1/2 to 127/128, linearly divided into 64 steps • CM: In addition to determining the ratio IOUT,target/Iref, CM limits the output current range. High Current Multiplier (CM = 1): IOUT,target/Iref = 15, suitable for output current range IOUT = 10 mA to 120 mA. Low Current Multiplier (CM = 0): IOUT,target/Iref = 5, suitable for output current range IOUT = 5 mA to 40 mA • CG: The total Current Gain is defined as: VREXT = 1.26 V × VG Iref = VREXT/Rext, if the external resistor (Rext) is connected to ground. IOUT,target = Iref × 15 × 3CM – 1 = 1.26 V/Rext × VG × 15 × 3CM – 1 = (1.26 V/Rext × 15) × CG CG = VG × 3CM – 1 Therefore, CG = (1/12) to (127/128), divided into 256 steps. Examples • IREF Code {CM, HC, CC[0:5]} = {1,1,111111} VG = 127/128 = 0.992 and CG = VG × 30 = VG = 0.992 • IREF Code {CM, HC, CC[0:5]} = {1,1,000000} VG = (1 + 1) × (1 + 0/64)/4 = 1/2 = 0.5, and CG = 0.5 • IREF Code {CM, HC, CC[0:5]} = {0,0,000000} VG = (1 + 0) × (1 + 0/64)/4 = 1/4, and CG = (1/4) × 3–1 = 1/12 After power on, the default value of the Configuration Code {CM, HC, CC[0:5]} is {1,1,111111}. Therefore, VG = CG = 0.992. The relationship between the Configuration Code and the Current Gain is shown in Figure 9. Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 17 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com 1.00 CM = 1 (High Current Multiplier) CM = 0 (Low Current Multiplier) Current Gain (CG) 0.75 HC = 0 (Low Voltage SubBand) 0.50 HC = 1 (High Voltage SubBand) HC = 0 (Low Voltage SubBand) HC = 1 (High Voltage SubBand) 0.25 {1,1,110000} {1,1,100000} {1,1,010000} {1,1,000000} {1,0,110000} {1,0,100000} {1,0,010000} {1,0,000000} {0,1,110000} {0,1,100000} {0,1,010000} {0,1,000000} {0,0,110000} {0,0,100000} {0,0,010000} {0,0,000000} 0.00 Configuration Code (CM, HC, CC[0:5]) in Binary Format Figure 9. Current Gain vs Configuration Code Error Flags Registers (EFLAG1, EFLAG2) Table 12 describes Error Flags Registers 1 and 2. Table 12. EFLAG1, EFLAG2 – Error Flags Registers (Address 1Dh and 1Eh) Bit Description ADDRESS REGISTER BIT SYMBOL ACCESS (1) VALUE (2) 1Dh EFLAG1 7:0 EFLAG1[7:0] R 1111 1111 Error flags 1. Upper 8-bit channel error status. 1Eh EFLAG2 7:0 EFLAG2[7:0] R 1111 1111 Error flags 2. Lower 8-bit channel error status. (1) (2) (3) DESCRIPTION (3) R = read, W = write Default value At power up, in order to initialize the Error Flags registers, the host must write 1 to bit 7 of the MODE2 register and then write 0 to bit 7 of the MODE2 register. Open-Circuit Detection The TLC59116 LED open-circuit detection compares the effective current level IOUT with the open load detection threshold current IOUT,Th. If IOUT is below the threshold IOUT,Th the TLC59116 detects an open load condition. This error status can be read out as an error flag through the registers EFLAG1 and EFLAG2. For open-circuit error detection, a channel must be on. Table 13. Open-Circuit Detection STATE OF OUTPUT PORT CONDITION OF OUTPUT CURRENT ERROR STATUS CODE MEANING IOUT = 0 mA 0 Detection not possible IOUT < IOUT,Th (1) 0 Open circuit Channel n error status bit 1 Normal Off On (1) 18 IOUT ≥ IOUT,Th (1) IOUT,Th = 0.5 × IOUT,target (typical) Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 Overtemperature Detection and Shutdown The TLC59116 LED is equipped with a global overtemperature sensor and 16 individual channel-selective overtemperature sensors. • When the global sensor reaches the trip temperature, all output channels are shut down, and the error status is stored in the internal Error Status register of every channel. After shutdown, the channels automatically restart after cooling down, if the control signal (output latch) remains on. The stored error status is not reset after cooling down and can be read out as the error status code in registers EFLAG1 and EFLAG2. • When one of the channel-specific sensors reaches trip temperature, only the affected output channel is shut down, and the error status is stored only in the internal Error Status register of the affected channel. After shutdown, the channel automatically restarts after cooling down, if the control signal (output latch) remains on. The stored error status is not reset after cooling down and can be read out as error status code in registers EFLAG1 and EFLAG2. For channel-specific overtemperature error detection, a channel must be on. The error flags of open-circuit and overtemperature are ORed to set the EFLAG1 and EFLAG2 registers. The error status code due to overtemperature is reset when the host writes 1 to bit 7 of the MODE2 register. The host must write 0 to bit 7 of the MODE2 register to enable the overtemperature error flag. Table 14. Overtemperature Detection (1) (1) STATE OF OUTPUT PORT CONDITION ERROR STATUS CODE MEANING On On → all channels Off Tj < Tj,trip global 1 Normal Tj > Tj,trip global All error status bits = 0 Global overtemperature On On → Off Tj < Tj,trip channel n 1 Normal Tj > Tj,trip channel n Channel n error status bit = 0 Channel n overtemperature The global shutdown threshold temperature is approximately 170°C. Power-On Reset (POR) When power is applied to VCC, an internal power-on reset holds the TLC59116 in a reset condition until VCC reaches VPOR. At this point, the reset condition is released and the TLC59116 registers, and I2C bus state machine are initialized to their default states (all zeroes), causing all the channels to be deselected. Thereafter, VCC must be lowered below 0.2 V to reset the device. External Reset A reset can be accomplished by holding the RESET pin low for a minimum of tW. The TLC59116 registers and I2C state machine are held in their default states until the RESET input is again high. This input requires a pullup resistor to VCC if no active connection is used. Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 19 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Software Reset The Software Reset Call (SWRST Call) allows all the devices in the I2C bus to be reset to the power-up state value through a specific I2C bus command. The SWRST Call function is defined as the following: 1. A Start command is sent by the I2C bus master. 2. The reserved SWRST I2C bus address 1101 011 with the R/W bit set to 0 (write) is sent by the I2C bus master. 3. The TLC59116 device(s) acknowledge(s) after seeing the SWRST Call address 1101 0110 (D6h) only. If the R/W bit is set to 1 (read), no acknowledge is returned to the I2C bus master. 4. Once the SWRST Call address has been sent and acknowledged, the master sends two bytes with two specific values (SWRST data byte 1 and byte 2): a. Byte1 = A5h: the TLC59116 acknowledges this value only. If byte 1 is not equal to A5h, the TLC59116 does not acknowledge it. b. Byte 2 = 5Ah: the TLC59116 acknowledges this value only. If byte 2 is not equal to 5Ah, the TLC59116 does not acknowledge it. If more than two bytes of data are sent, the TLC59116 does not acknowledge any more. 5. Once the correct two bytes (SWRST data byte 1 and byte 2 only) have been sent and correctly acknowledged, the master sends a Stop command to end the SWRST Call. The TLC59116 then resets to the default value (power-up value) and is ready to be addressed again within the specified bus free time (tBUF). The I2C bus master may interpret a non-acknowledge from the TLC59116 (at any time) as a SWRST Call Abort. The TLC59116 does not initiate a reset of its registers. This happens only when the format of the Start Call sequence is not correct. Individual Brightness Control With Group Dimming/Blinking A 97-kHz fixed-frequency signal with programmable duty cycle (8 bits, 256 steps) is used to control the individual brightness for each LED. On top of this signal, one of the following signals can be superimposed (this signal can be applied to the four LED outputs): • A lower 190-Hz fixed-frequency signal with programmable duty cycle (8 bits, 256 steps) provides a global brightness control. • A programmable frequency signal from 24 Hz to 1/10.73 s (8 bits, 256 steps) provides a global blinking control. 20 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 6 7 8 6 7 8 9 5 5 10 3 4 3 4 1 2 1 2 512 510 511 509 507 508 11 12 9 10 8 6 7 5 4 3 2 1 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 N × 40 ns with N = 0 to 255 (PWM register) M × 256 × 2 × 40 ns with M = 0 to 255 (GRPPWM register) 256 × 40 ns = 10.24 µs (97.6 kHz) Group Dimming Signal 256 × 2 × 256 × 40 ns = 5.24 ms (190.7 Hz) Resulting Brightness + Group Dimming Signal NOTE: Minimum pulse width for LEDn brightness control is 40 ns. Minimum pulse width for group dimming is 20.48 µs. When M = 1 (GRPPWM register value), the resulting LEDn Brightness Control + Group Dimming signal has two pulses of the LED Brightness Control signal (pulse width = n × 40 ns, with n defined in the PWMx register). This resulting Brightness + Group Dimming signal shows a resulting control signal with M = 4 (8 pulses). Figure 10. Brightness and Group Dimming Signals Characteristics of the I2C Bus The I2C bus is for two-way two-line communication between different devices or modules. The two lines are a serial data line (SDA) and a serial clock line (SCL). Both lines must be connected to a positive supply via a pullup resistor when connected to the output stages of a device. Data transfer may be initiated only when the bus is not busy. Bit Transfer One data bit is transferred during each clock pulse. The data on the SDA line must remain stable during the high period of the clock pulse as changes in the data line at this time will be interpreted as control signals (see Figure 11). SDA SCL Data Line Stable; Data Valid Change of Data Allowed Figure 11. Bit Transfer Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 21 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Start and Stop Conditions Both data and clock lines remain high when the bus is not busy. A high-to-low transition of the data line while the clock is high is defined as the Start condition (S). A low-to-high transition of the data line while the clock is high is defined as the Stop condition (P) (see Figure 12). SDA SCL S P Start Condition Stop Condition Figure 12. Start and Stop Conditions System Configuration A device generating a message is a transmitter; a device receiving is the receiver. The device that controls the message is the master and the devices that are controlled by the master are the slaves (see Figure 13). SDA SCL Master Transmitter/ Receiver Slave Receiver Slave Transmitter/ Receiver Master Transmitter Master Transmitter/ Receiver 2 I C Bus Multiplexer Slave Figure 13. System Configuration Acknowledge The number of data bytes transferred between the Start and the Stop conditions from transmitter to receiver is not limited. Each byte of eight bits is followed by one acknowledge bit. The acknowledge bit is a high level put on the bus by the transmitter, whereas the master generates an extra acknowledge related clock pulse. A slave receiver that is addressed must generate an acknowledge after the reception of each byte. Also a master must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges has to pull down the SDA line during the acknowledge clock pulse, so that the SDA line is stable low during the high period of the acknowledge related clock pulse; setup time and hold time must be taken into account. A master receiver must signal an end of data to the transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. In this event, the transmitter must leave the data line high to enable the master to generate a Stop condition. 22 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 Data Output by Transmitter NACK Data Output by Receiver ACK SCL From Master 1 2 8 9 S Start Condition Clock Pulse for Acknowledgment Figure 14. Acknowledge/Not Acknowledge on I2C Bus Slave Address Control Register S A6 A5 A4 A3 A2 A1 A0 0 Start Condition X X A X D4 D3 D2 D1 D0 A R/W ACK From Slave A ACK From Slave P Stop Condition Auto-Increment Options Auto-Increment Flag ACK From Slave Figure 15. Write to a Specific Register Slave Address Control Register S A6 A5 A4 A3 A2 A1 A0 0 Start Condition A 1 0 0 0 0 0 MODE2 Register MODE1 Register 0 0 R/W A A ACK From Slave A ACK From Slave MODE1 Register Selection Auto-Increment On All Registers (see Note A) Auto-Increment On ACK From Slave SUBADR3 Register ALLCALLADR Register A ACK From Slave A. A ACK From Slave P Stop Condition See Table 2 for register definitions. Figure 16. Write to All Registers Using Auto-Increment Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 23 TLC59116 SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 .................................................................................................................................................... www.ti.com Slave Address Control Register S A6 A5 A4 A3 A2 A1 A0 0 Start Condition A 1 0 1 0 0 0 PWM1 Register PWM0 Register 1 0 A A ACK From Slave R/W A ACK From Slave PWM0 Register Selection Auto-Increment On Brightness Registers Only Auto-Increment On ACK From Slave PWM14 Register PWM15 Register PWM0 Register A ACK From Slave PWMx Register A A A ACK From Slave ACK From Slave ACK From Slave P Stop Condition Figure 17. Multiple Writes to Individual Brightness Registers Using Auto-Increment Slave Address Control Register S A6 A5 A4 A3 A2 A1 A0 0 Start Condition 0 1 A 0 0 0 0 R/W Data From MODE1 Register Slave Address 0 0 A Sr A6 A5 A4 A3 A2 A1 A0 1 ACK From Slave A A R/W ACK From Slave ACK From Master MODE1 Register Selection Auto-Increment On All Registers Auto-Increment On ACK From Slave Data From MODE2 Register Data From PWM0 Register A Data From ALLCALLADR Register A ACK From Master ACK From Master Data From MODE1 Register A ACK From Master A ACK From Master Data From Last Read Byte A P NACK From Master Stop Condition Figure 18. Read All Registers Auto-Increment 24 Submit Documentation Feedback Copyright © 2008, Texas Instruments Incorporated TLC59116 www.ti.com .................................................................................................................................................... SLDS157B – FEBRUARY 2008 – REVISED JULY 2008 Slave Address Sequence A New LED All Call I2C Address (see Note B) Control Register S A6 A5 A4 A3 A2 A1 A0 0 Start Condition A X X X 1 1 0 1 1 A 1 0 1 1 ACK From Slave R/W 0 1 1 X A ACK From Slave P Stop Condition ALLCALLADR Register Selection Auto-Increment Options Auto-Increment Flag ACK From Slave 2 LED All Call I C Address Sequence B S 1 1 0 1 1 0 Start Condition 1 The 16 LEDs are on at ACK (see Note C) LEDOUT0 Register (LED3 to 0 Fully On) Control Register 0 A X X X 1 0 1 0 R/W 0 A 0 0 1 1 ACK From the Four Slaves 0 1 0 1 A ACK From the Four Slaves P Stop Condition LEDOUT0 Register Selection ACK From Slave A. In this example, several TLC59116 devices are used, and the same Sequence A is sent to each of them. B. The ALLCALL bit in the MODE1 register is equal to 1 for this example. C. The OCH bit in the MODE2 register is equal to 1 for this example. Figure 19. LED All Call I2C Bus Address Programming and LED All Call Sequence Copyright © 2008, Texas Instruments Incorporated Submit Documentation Feedback 25 PACKAGE OPTION ADDENDUM www.ti.com 30-Jul-2008 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Eco Plan (2) Qty TLC59116IPWR ACTIVE TSSOP PW 28 2000 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM TLC59116IPWRG4 ACTIVE TSSOP PW 28 2000 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Lead/Ball Finish MSL Peak Temp (3) (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 1 PACKAGE MATERIALS INFORMATION www.ti.com 30-Jul-2008 TAPE AND REEL INFORMATION *All dimensions are nominal Device TLC59116IPWR Package Package Pins Type Drawing TSSOP PW 28 SPQ Reel Reel Diameter Width (mm) W1 (mm) 2000 330.0 16.4 Pack Materials-Page 1 A0 (mm) B0 (mm) K0 (mm) P1 (mm) W Pin1 (mm) Quadrant 7.1 10.4 1.6 12.0 16.0 Q1 PACKAGE MATERIALS INFORMATION www.ti.com 30-Jul-2008 *All dimensions are nominal Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm) TLC59116IPWR TSSOP PW 28 2000 346.0 346.0 33.0 Pack Materials-Page 2 MECHANICAL DATA MTSS001C – JANUARY 1995 – REVISED FEBRUARY 1999 PW (R-PDSO-G**) PLASTIC SMALL-OUTLINE PACKAGE 14 PINS SHOWN 0,30 0,19 0,65 14 0,10 M 8 0,15 NOM 4,50 4,30 6,60 6,20 Gage Plane 0,25 1 7 0°– 8° A 0,75 0,50 Seating Plane 0,15 0,05 1,20 MAX PINS ** 0,10 8 14 16 20 24 28 A MAX 3,10 5,10 5,10 6,60 7,90 9,80 A MIN 2,90 4,90 4,90 6,40 7,70 9,60 DIM 4040064/F 01/97 NOTES: A. B. C. D. All linear dimensions are in millimeters. This drawing is subject to change without notice. Body dimensions do not include mold flash or protrusion not to exceed 0,15. Falls within JEDEC MO-153 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Amplifiers Data Converters DSP Clocks and Timers Interface Logic Power Mgmt Microcontrollers RFID RF/IF and ZigBee® Solutions amplifier.ti.com dataconverter.ti.com dsp.ti.com www.ti.com/clocks interface.ti.com logic.ti.com power.ti.com microcontroller.ti.com www.ti-rfid.com www.ti.com/lprf Applications Audio Automotive Broadband Digital Control Medical Military Optical Networking Security Telephony Video & Imaging Wireless www.ti.com/audio www.ti.com/automotive www.ti.com/broadband www.ti.com/digitalcontrol www.ti.com/medical www.ti.com/military www.ti.com/opticalnetwork www.ti.com/security www.ti.com/telephony www.ti.com/video www.ti.com/wireless Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2008, Texas Instruments Incorporated