Atmel LED Drivers MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Datasheet Brief Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface General Description The Atmel® LED DriversMSL2160 and MSL2161 compact, high-power LED string drivers use external current control MOSFETs to sink up to 350mA per string, with current accuracy and matching better than 1.5%. The MSL2160/1 drive 16 parallel strings of LEDs, and offer fault detection and management of open and short circuit LEDs. The MSL2160 features a 20MHz SPI bus, and the MSL2161 offers a 1MHz I2C serial interface. Both interfaces support video frame-by-frame LED string intensity control for up to eight interconnected devices, allowing active area dimming and phase shifted PWM dimming for improved performance. Both devices include an advanced PWM engine that synchronizes PWM dimming to the video signal for reduced motion blur and waterfall noise. The MSL2160/1 adaptively controls the DC-DC converters that power the LED strings using Atmel's Adaptive SourcePower™ technology. This scheme optimizes power consumption without sacrificing LED current accuracy. Peak LED string currents are set using current sense resistors, and global string current is adjustable with 8-bit control. Global string drive pulse width is adjusted with an 8-bit global intensity register, and individual string pulse width is modulated with 12-bit control. The MSL2160/1 monitors the LED strings for open circuit, short circuit, lossof-sync, and over-temperature faults, and provide a hardware fault output to notify the MCU. Detailed fault status and control are available through the serial interface. Additionally, the MSL2160/1 includes an on-chip EEPROM that allows the power-up defaults to be customized via the serial interface. The MSL2160/1 are offered in 9 x 9 x 0.85mm, 64-pin TQFN packages and operate over a -40°C to +105°C temperature range. Applications Long Life, Efficient LED Backlighting for: • Televisions and Desktop Monitors • Medical and Industrial Instrumentation • Automotive Audio-visual Displays Channel Signs Architectural Lighting Ordering Information 16-CHANNEL LED STRING DRIVERS PART 2 INTERFACE PACKAGE MSL2160DQ SPI 64-pin, 9 x 9 x 0.85mm TQFN MSL2161DQ IC 64-pin, 9 x 9 x 0.85mm TQFN 2 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Key Features • 12-bit PWM String Dimming • Global Intensity Control via Serial Interface • Fast Serial Interfaces Support up to 8 Devices per Bus: • ±1.5% Current Accuracy and Current Balance - MSL2161 - 1MHz I2C - MSL2160 - 20MHz SPI • 8-bit Adaptive Power Correction Maximizes Efficiency of up to Three String Power Supplies • External MOSFETs for High Voltage and/or Current • Drives up to 16 Parallel LED Strings per Device • Supports Adaptive, Real-time Area Dimming for Highest Dynamic Range in LCD TVs and Monitors • Programmable String Phase Reduces Motion Blur and Improves Efficiency • Flexible Video Frame (VSYNC) and Line (HSYNC) Sync Include Frequency Multipliers and Dividers • Second Set of PWM Registers Select Alternate Brightness and Timing with Single Control • EEPROM Saves Power-on Default Settings • LED Open Circuit and Short Circuit Fault Detection • Individual Fault Detection Enable for Each String • Over-temperature Shut-off Protection • Broadcast Write Simplifies Configuration • -40°C To +105°C Operating Temperature Range Application Circuit Atmel LED Drivers-MSL2160/MSL2161 3 Atmel LED Drivers-MSL2160/61 Overview The MSL2160/1 allows RGB LEDs to be driven by three separate string supplies, and feature three independent EO outputs to maximize the efficiency for each supply. Although not required, it is wise to use this capability even for single-color systems, such as white backlighting LEDs in an LCD monitor or TV application. The MSL2160/1 LED string controllers drive, monitor, and dim multiple LEDs at high efficiency for LCD backlighting and signage applications. This section summarizes the capabilities of the MSL2160/1 for quick evaluation. Timing, PWM, Intensity Controls and Synchronization How Many LEDs and Drivers? For video applications, the PWM LED drive signals synchronize to the LCD’s video frame timing via the PHI input, and to the LCD’s pixel timing via the GSC input. This synchronization eliminates beating artifacts. Suitability for LED backlight architectures is shown in Table 1. Area LED dimming for direct backlighting is supported for contrast and color gamut improvement. Motion blur is reduced by setting each LED string’s PWM phasing individually to synchronize PWM off times with the LCD timing. The MSL2160/1 controls 16 strings of seriesconnected LEDs at up to 350mA per string. Up to eight MSL2160/1s share a serial interface. The maximum number of LEDs per string is determined by the maximum power supply voltage, the LED forward voltage drop (VF), and the gate drive outputs of the MSL2160/1. The MSL2160/1 FET gate drive outputs are optimized for FETs requiring up to 10nC of charge. LEDs, String Power Supplies and Efficiency Optimizers (EOs) The MSL2160/1 also includes easily controlled internal PWM timing generation for stand alone (non-video) LED lighting applications that do not provide external timing sources. One MSL2160/1 simply generates PWM timing for itself and for the other devices in a multiple-device application. Optionally, a single external PWM signal applied to the PWM input controls all of the strings’ on times, with automatic progressive phase delay available through a single control bit. The MSL2160/1 Efficiency Optimizer (EO) circuits dynamically adjust up to three LED string power supplies to the minimum voltage necessary to accurately drive the LED strings while assuring accurate current flow. The power supplies can use any topology, and are typically DC-DC boost or buck, or AC-DC off-line switcher supplies. Table 1. LED Common Backlight Drive Architectures and Features BACKLIGHT TYPE 4 MOTION BLUR REMOVAL AREA DIMMING MANAGEMENT White LED - bottom edge-lit No No White LED - top/bottom edge-lit No No White LED - four sides edge-lit No No White LED - direct back-lit Yes, LED string phasing Higher contrast ratio (area dimming) RGB LED - direct back-lit Yes, LED string phasing Higher contrast ratio and color gamut STRING SUPPLY OPTIONS Up to three efficiency optimized power supplies Three efficiency optimized power supplies Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Table 2. Timing and LED Intensity Control Capability LED INTENSITY CONTROL RESOLUTION Global LED string current adjust 8-bits DAC reduces string current globally from maximum set by global resistor Global LED string PWM 8-bit global PWM control Individual LED string PWM 12-bit PWM individual string control Total LED string PWM control 12-bit LED string PWMs, computed from global and individual PWM settings D1 G1 S1 D0 G0 S0 VDD VIN EN 56 55 54 53 52 51 50 49 EN S2 VIN 49 57 VDD 50 G2 S0 51 58 G0 52 D2 D0 53 59 S1 54 S3 G1 55 60 D1 56 G3 S2 57 61 G2 58 D3 D2 59 62 S3 60 S4 G3 61 64 D3 62 63 S4 64 63 Package Pin-out G4 1 48 PWM G4 1 48 PWM D4 2 47 GSC D4 2 47 GSC PHI S5 3 46 PHI S5 3 46 G5 4 45 VCC G5 4 45 VCC D5 5 44 D15 D5 5 44 D15 G15 S6 6 43 G15 S6 6 43 G6 7 42 S15 G6 7 42 S15 D6 8 41 D14 D6 8 41 D14 S7 9 G7 10 MSL2161 40 G15 S7 9 39 S14 G7 10 MSL2160 40 G15 39 S14 Figure 1. Atmel LED Driver-MSL2161 Pin-out, 64-pin TQFN. Atmel LED Drivers-MSL2160/MSL2161 19 20 21 22 23 24 25 26 27 28 29 30 31 32 FBO2 FBO1 S8 G8 D8 S9 G9 D9 S10 G10 D10 S11 G11 D11 S12 18 33 17 16 FBO3 FLTB ADDR S12 32 33 D11 16 31 G12 FLTB G11 34 30 15 S11 CSB 29 G12 D10 34 28 15 G10 D12 GND 27 35 S10 14 26 SCK D9 D12 25 35 G9 14 24 S13 SCL S9 36 23 13 D8 MOSI 22 S13 G8 36 21 13 S8 G13 SDA 20 D13 37 FBO1 38 12 19 11 MISO FBO2 D7 G13 18 D13 37 17 38 12 FBO3 11 ADDR D7 NC Figure 2. Atmel LED Driver-MSL2160 Pin-out, 64-pin TQFN. 5 Figure 3. Package Dimensions: 64-pin, 9mm x 9mm x 0.85mm TQFN (0.5mm pin pitch) with Exposed Pad. 6 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Atmel LED Drivers-MSL2160/MSL2161 7 Package Pin Descriptions Table 3. Pin Assignments PIN MSL2161 MSL2160 PIN DESCRIPTION 1 G4 G4 Gate output 4 Gate drive output for external MOSFET 4. Connect G4 to the gate of the external MOSFET driving LED string 4. If unused, leave G4 unconnected. 2 D4 D4 Drain sense input 4 Drain sense input for external MOSFET 4. Connect D4 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 4. If unused, connect D4 to ground. S5 Source sense input 5 Source sense input for external MOSFET 5. Connect S5 to the source of the external MOSFET and to the current sense resistor for LED string 5. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S5 to ground. G5 Gate output 5 Gate drive output for external MOSFET 5. Connect G5 to the gate of the external MOSFET driving LED string 5. If unused, leave G5 unconnected. D5 Drain sense input 5 Drain sense input for external MOSFET 5. Connect D5 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 5. If unused, connect D5 to ground. S6 Source sense input 6 Source sense input for external MOSFET 6. Connect S6 to the source of the external MOSFET and to the current sense resistor for LED string 6. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S6 to ground. G6 Gate output 6 Gate drive output for external MOSFET 6. Connect G6 to the gate of the external MOSFET driving LED string 6. If unused, leave G6 unconnected. D6 Drain sense input 6 Drain sense input for external MOSFET 6. Connect D6 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 6. If unused, connect D6 to ground. S7 Source sense input 7 Source sense input for external MOSFET 7. Connect S7 to the source of the external MOSFET and to the current sense resistor for LED string 7. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S7 to ground. G7 Gate output 7 Gate drive output for external MOSFET 7. Connect G7 to the gate of the external MOSFET driving LED string 7. If unused, leave G7 unconnected. 3 4 5 6 7 8 9 10 8 PIN NAME S5 G5 D5 S6 G6 D6 S7 G7 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface PIN 11 12 13 14 PIN NAME MSL2161 D7 NC SDA SCL PIN DESCRIPTION MSL2160 D7 MISO MOSI SCK Drain sense input 7 Drain sense input for external MOSFET 7. Connect D7 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 7. If unused, connect D7 to ground. MSL2161: No connect Make no connection to NC. MSL2160: Master input slave output MISO is the SPI serial data output. MSL2161: I²C serial data I/O SDA is the data I/O for the I²C serial interface. MSL2160: Master output slave input MOSI is the SPI serial data input. MSL2161: I²C serial clock input SCL is the clock input for the I²C serial interface. MSL2160: SPI serial shift clock SCK is the clock input for the SPI bus. MSL2161: Ground Connect GND to system ground and to EP with short, wide traces. 15 GND CSB 16 FLTB FLTB Fault indication output (active low) Open drain output FLTB sinks current to GND whenever a fault is detected and verified. FLTB remains low until the fault registers are read, and reasserts if the fault persists. 17 ADDR ADDR Slave ID selection inputs Connect ADDR to GND through a resistor to set the device address for the serial interface. 18 FBO3 FBO3 Efficiency Optimizer output 3 Connect FBO3 to the third power supply’s feedback node. Connect FBO3 to GND if unused. 19 FBO2 FBO2 Efficiency Optimizer output 2 Connect FBO2 to the second power supply’s feedback node. Connect FBO2 to GND if unused. 20 FBO1 FBO1 Efficiency Optimizer output 1 Connect FBO1 to the first power supply’s feedback node. Connect FBO1 to GND if unused. MSL2160: Chip select bar CSB is the chip select input for SPI transactions. CSB is active low. 21 S8 S8 Source sense input 8 Source sense input for external MOSFET 8. Connect S8 to the source of the external MOSFET and to the current sense resistor for LED string 8. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S8 to ground. 22 G8 G8 Gate output 8 Gate drive output for external MOSFET 8. Connect G8 to the gate of the external MOSFET driving LED string 8. If unused, leave G8 unconnected. D8 Drain sense input 8 Drain sense input for external MOSFET 8. Connect D8 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 8. If unused, connect D8 to ground. 23 D8 Atmel LED Drivers-MSL2160/MSL2161 9 Table 3. Pin Assignments PIN 24 25 26 27 28 29 30 31 32 33 34 10 PIN NAME MSL2161 S9 G9 D9 S10 G10 D10 S11 G11 D11 S12 G12 MSL2160 PIN DESCRIPTION S9 Source sense input 9 Source sense input for external MOSFET 9. Connect S9 to the source of the external MOSFET and to the current sense resistor for LED string 9. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S9 to ground. G9 Gate output 9 Gate drive output for external MOSFET 9. Connect G9 to the gate of the external MOSFET driving LED string 9. If unused, leave G9 unconnected. D9 Drain sense input 9 Drain sense input for external MOSFET 9. Connect D9 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 9. If unused, connect D9 to ground. S10 Source sense input 10 Source sense input for external MOSFET 10. Connect S10 to the source of the external MOSFET and to the current sense resistor for LED string 10. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S10 to ground. G10 Gate output 10 Gate drive output for external MOSFET 10. Connect G10 to the gate of the external MOSFET driving LED string 10. If unused, leave G10 unconnected. D10 Drain sense input 10 Drain sense input for external MOSFET 10. Connect D10 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 10. If unused, connect D10 to ground. S11 Source sense input 11 Source sense input for external MOSFET 11. Connect S11 to the source of the external MOSFET and to the current sense resistor for LED string 11. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S11 to ground. G11 Gate output 11 Gate drive output for external MOSFET 11. Connect G11 to the gate of the external MOSFET driving LED string 11. If unused, leave G11 unconnected. D11 Drain sense input 11 Drain sense input for external MOSFET 11. Connect D11 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 11. If unused, connect D11 to ground. S12 Source sense input 12 Source sense input for external MOSFET 12. Connect S12 to the source of the external MOSFET and to the current sense resistor for LED string 12. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S12 to ground. G12 Gate output 12 Gate drive output for external MOSFET 12. Connect G12 to the gate of the external MOSFET driving LED string 12. If unused, leave G12 unconnected. Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface PIN 35 36 37 38 39 40 41 42 43 PIN NAME MSL2161 D12 S13 G13 D13 S14 G14 D14 S15 G15 MSL2160 PIN DESCRIPTION D12 Drain sense input 12 Drain sense input for external MOSFET 12. Connect D12 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 12. If unused, connect D12 to ground. S13 Source sense input 13 Source sense input for external MOSFET 13. Connect S13 to the source of the external MOSFET and to the current sense resistor for LED string 13. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S13 to ground. G13 Gate output 13 Gate drive output for external MOSFET 13. Connect G13 to the gate of the external MOSFET driving LED string 13. If unused, leave G13 unconnected. D13 Drain sense input 13 Drain sense input for external MOSFET 13. Connect D13 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 13. If unused, connect D13 to ground. S14 Source sense input 14 Source sense input for external MOSFET 14. Connect S14 to the source of the external MOSFET and to the current sense resistor for LED string 14. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S14 to ground. G14 Gate output 14 Gate drive output for external MOSFET 14. Connect G14 to the gate of the external MOSFET driving LED string 14. If unused, leave G14 unconnected. D14 Drain sense input 14 Drain sense input for external MOSFET 14. Connect D14 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 14. If unused, connect D14 to ground. S15 Source sense input 15 Source sense input for external MOSFET 15. Connect S15 to the source of the external MOSFET and to the current sense resistor for LED string 15. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S15 to ground. G15 Gate output 15 Gate drive output for external MOSFET 15. Connect G15 to the gate of the external MOSFET driving LED string 15. If unused, leave G15 unconnected. 44 D15 D15 Drain sense input 15 Drain sense input for external MOSFET 15. Connect D15 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 15. If unused, connect D15 to ground. 45 VCC VCC 5V internal LDO regulator output VCC powers the FBO outputs. Bypass VCC to GND with a 4.7µF ceramic capacitor placed close to VCC. Atmel LED Drivers-MSL2160/MSL2161 11 Table 3. Pin Assignments PIN PIN DESCRIPTION MSL2161 MSL2160 46 PHI PHI Phase synchronization input Drive PHI with an external signal from 40Hz to 10kHz to synchronize the MSL2160/1 clock. PHI is typically driven with the VSYNC signal. 47 GSC GSC Gate shift clock input Drive GSC with the gate shift clock of the video signal, from to MHz. GSC is typically driven with the HSYNC signal. 48 PWM PWM PWM input PWM allows external control of the brightness of all LED strings. Drive PWM with a pulse-width modulated signal with duty cycle ranging from 0% to 100% and frequency up to 5kHz. When not configured as an input, PWM is high impedance. 49 EN EN Enable input (active high) Drive EN high to turn on the MSL2160/1, drive EN low to turn off the MSL2160/1. For automatic start up, connect EN to VIN. When EN is low the entire device, including the serial interface, is turned off. Driving EN high initiates a boot load of the EEPROM data into the control registers, simulating a cold start up. 50 VIN VIN Supply voltage input Connect a 12V ±10% supply to VIN. Bypass VIN to GND with a 10µF ceramic capacitor placed close to VIN. 51 VDD VDD 2.5V internal LDO regulator output VDD powers internal logic. Bypass VDD to GND with a 4.7µF ceramic capacitor placed close to VDD. 52 53 54 55 56 12 PIN NAME S0 G0 D0 S1 G1 S0 Source sense input 0 Source sense input for external MOSFET 0. Connect S0 to the source of the external MOSFET and to the current sense resistor for LED string 0. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S0 to ground. G0 Gate output 0 Gate drive output for external MOSFET 0. Connect G0 to the gate of the external MOSFET driving LED string 0. If unused, leave G0 unconnected. D0 Drain sense input 0 Drain sense input for external MOSFET 0. Connect D0 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 0. If unused, connect D0 to ground. S1 Source sense input 1 Source sense input for external MOSFET 1. Connect S1 to the source of the external MOSFET and to the current sense resistor for LED string 1. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S1 to ground. G1 Gate output 1 Gate drive output for external MOSFET 1. Connect G1 to the gate of the external MOSFET driving LED string 1. If unused, leave G1 unconnected. Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface PIN 57 58 59 60 61 62 63 PIN NAME MSL2161 D1 S2 G2 D2 S3 G3 D3 MSL2160 PIN DESCRIPTION D1 Drain sense input 1 Drain sense input for external MOSFET 1. Connect D1 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 1. If unused, connect D1 to ground. S2 Source sense input 2 Source sense input for external MOSFET 2. Connect S2 to the source of the external MOSFET and to the current sense resistor for LED string 2. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S2 to ground. G2 Gate output 2 Gate drive output for external MOSFET 2. Connect G2 to the gate of the external MOSFET driving LED string 2. If unused, leave G2 unconnected. D2 Drain sense input 2 Drain sense input for external MOSFET 2. Connect D2 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 2. If unused, connect D2 to ground. S3 Source sense input 3 Source sense input for external MOSFET 3. Connect S3 to the source of the external MOSFET and to the current sense resistor for LED string 3. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S3 to ground. G3 Gate output 3 Gate drive output for external MOSFET 3. Connect G3 to the gate of the external MOSFET driving LED string 3. If unused, leave G3 unconnected. D3 Drain sense input 3 Drain sense input for external MOSFET 3. Connect D3 through a 10MΩ resistor to the drain of the external MOSFET driving LED string 3. If unused, connect D3 to ground. 64 S4 S4 Source sense input 4 Source sense input for external MOSFET 4. Connect S4 to the source of the external MOSFET and to the current sense resistor for LED string 4. The full-scale LED current threshold is reached when 500mV is across the current sense resistor. If unused, connect S4 to ground. EP EP EP Exposed pad, power ground EP is the thermal relief pad for the device. Connect EP to system ground and GND using short, wide traces. Atmel LED Drivers-MSL2160/MSL2161 13 Absolute Maximum Ratings Voltage (With Respect to GND) VIN, EN, D0 - D15............................................................................................................................................................. -0.3V to +16V G0 - G15............................................................................................................................................................... -0.3V to (VIN + 0.3V) VDD.............................................................................................................................................................................................-0.3V to +2.75V ADDR, S0 - S15.............................................................................................................................................-0.3V to (VDD + 0.3V) FLTB, SDA, SCL, SCK......................................................................................................................................................-0.3V to +5.5V FBO1, FBO2, FBO3, PHI, GSC, PWM, MOSI, MISO, CSB..........................................-0.3V to (VCC + 0.3V) VCC......................................................................................................................................................................................................-0.3V to +6V EP......................................................................................................................................................................................................-0.3V to +0.3V Current (Into Pin) VIN.................................................................................................................................................................................................................... 500mA FBO1, FBO2, FBO3....................................................................................................................................................+0µA to -800µA G0 - G15..................................................................................................................................................................................................±100mA All other pins.............................................................................................................................................................................................±20mA Continuous Power Dissipation 64-Pin 9mm x 9mm QFN (derate 38mW/°C above TA = +70°C).................................................. 2100mW Ambient Operating Temperature Range TA = TMIN to TMAX........................................... -40°C to +105°C Junction Temperature ................................................................................................................................................................ +125°C Storage Temperature Range......................................................................................................................... -65°C to +125°C Lead Soldering Temperature, 10s................................................................................................................................... +300°C 14 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Electrical Characteristics Typical Application Circuit, VVIN = 12V, TA = TMIN to TMAX, unless otherwise noted. Typical values are TA = +25°C PARAMETER SYMBOL CONDITIONS AND NOTES MIN TYP MAX UNIT 10.8 12 13.2 V All LED strings on 50% duty cycle 15 30 All LED strings on 100% duty cycle 30 70 VIN Shutdown Supply Current EN = GND 500 µA VIN Sleep Supply Current SLEEP = 1, SDA, SCL, ADDR, PWM, PHI and GSC at GND or VDD 2.75 mA DC ELECTRICAL CHARACTERISTICS VIN Operating Supply Voltage VIN Operating Supply Current mA VCC Regulation Voltage 4.5 5.0 5.5 V VDD Regulation Voltage 2.4 2.5 2.6 V EN Input High Voltage 1.8 V EN Input Low Voltage 0.9 PWM, PHI, GSC, Input High Voltage 0.7 x VVDD V 0.3 x VVDD PWM, PHI, GSC, Input Low Voltage PHI, GSC Output High Voltage ISOURCE = 5mA PHI, GSC, FLTB Output Low Voltage ISINK = 6mA FBO1 - FBO3 Feedback Output Current FBOn DAC = 0xFF, VFBOn = 0 FBO1 - FBO3 Feedback Output Current Step INCRSTEP[0:1] = 00, DECRSTEP[0:1] = 00 V V VVDD – 0.4 208 306 0.4 V 360 µA 1.2 μA D0 - D15 Short Circuit Fault Detection Threshold 8 V G0 - G15 Open Circuit Fault Detection Threshold 8 V G0 - G15 Maximum Gate Drive Current 0.7 mA G0 - G15 Maximum Gate Drive Voltage VVIN – 2.5 V S0 - S15 Regulation Voltage S0 - S15 Voltage Accuracy S0 - S15 Regulation Voltage Matching Thermal Shutdown Temperature Atmel LED Drivers-MSL2160/MSL2161 ISTR = 0xFF 475 ISTR = 0x7F, TA = +25°C -1.5 +1.5 -4 +4 ISTR = 0x7F, TA = +25°C, 1st string to all others -0.5 +0.5 ISTR = 0x7F, string to average of all strings -1.5 +1.5 ISTR = 0x7F Temperature rising, hysteresis = 15°C (Note 1) 500 525 mV % % 135 °C 15 PARAMETER SYMBOL CONDITIONS AND NOTES MIN TYP MAX UNIT SPI LOGIC LEVELS, MSL2160 0.7 x VVDD MOSI, SCK, CSB Input High Voltage V 0.3 x VVDD MOSI, SCK, CSB Input Low Voltage MISO Output High Voltage ISOURCE = 5mA MISO Output Low Voltage ISINK = 6mA PARAMETER SYMBOL CONDITIONS AND NOTES VVCC – 0.4 MIN V V TYP 0.4 V MAX UNIT I2C LOGIC LEVELS, MSL2161 0.7 x VVDD SDA, SCL Input High Voltage V SDA, SCL Input Low Voltage ISINK = 6mA SDA Output Low Voltage PARAMETER SYMBOL CONDITIONS AND NOTES 0.3 x VVDD V 0.4 V MIN TYP MAX UNIT 19.4 20 20.6 MHz 0.04 10 kHz fPHI 2.5 MHz AC ELECTRICAL CHARACTERISTICS Internal Oscillator Frequency fOSC PHI Frequency fPHI GSC Frequency GSCMUL = 0, GSCDIV = 0 (Note 9) PWM Frequency PWM Duty Cycle PARAMETER OSCFREQ = 0x04, TA = 25°C EXTALTEN = 0 (Note 1) 5 EXTALTEN = 1 (Note 1) 1 (Note 1, Note 9) SYMBOL CONDITIONS AND NOTES 0 MIN TYP kHz 100 % MAX UNIT 20 MHz SPI TIMING CHARACTERISTICS, MSL2160 SCK Frequency CSB to Rising Edge of SCK Setup Time tCSB:SCK(SU) 20 ns Rising Edge of SCK to CSB Hold Time tCSB:SCK(HD) 20 ns MOSI to Rising Edge of SCK Setup Time tMOSI(SU) 20 ns Rising Edge of SCK to MOSI Hold Time tMOSI(HD) 20 ns CSB Falling Edge to MISO Data Valid tCSB:MISO(DV) CSB Rising Edge to MISO High Impedance tCSB:MISO(HIZ) 16 (Note 1) 50 ns 50 ns Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface PARAMETER SCK Falling Edge to MISO Data Valid SYMBOL tVALID CONDITIONS AND NOTES MIN TYP (Note 1) MAX UNIT 20 ns SCK High Time 20 ns SCK Low Time 20 ns MOSI, CSB, SCK Signal Rise Time tR(SPI) Receiving (Note 6) 5.0 MOSI, CSB, SCK Signal Fall Time tF(SPI) ns Receiving (Note 6) 5.0 ns MISO Signal Rise Time Cload = 10pF (Note 6) 20 ns MISO Signal Fall Time Cload = 10pF (Note 6) 20 ns PARAMETER SYMBOL CONDITIONS AND NOTES MIN TYP MAX UNIT 1 MHz 31 ms I²C TIMING CHARACTERISTICS, MSL2161 SCL Clock Frequency 1/tSCL Bus Timeout Period ttimeout I2CTOEN = 0 (Note 2) 0 fOSC = 20MHz, TA = 25°C 29 fOSC = 16MHz to 23MHz 30 600,000 / fOSC s tBUF 0.5 µs tHD:STA 0.26 µs Repeated START condition Setup Time tSU:STA 0.26 µs STOP Condition Setup Time tSU:STOP 0.26 µs SDA Data Hold Time tHD:DAT 0 ns SDA Data Valid Acknowledge Time tVD:ACK (Note 3) 0.05 0.45 µs SDA Data Valid Time tVD:DAT (Note 4) 0.05 0.45 µs SDA Data Set-Up Time tSU:DAT 100 ns SCL Clock Low Period tLOW 0.5 µs SCL Clock High Period tHIGH 0.26 µs STOP to START Condition Bus Free Time Repeated START condition Hold Time SDA, SCL Fall Time tf SDA, SCL Rise Time tr SDA, SCL Input Suppression Filter Period tSP (Note 1, Note 5, Note 6) (Note 2, Note 7) 50 120 ns 120 ns ns Note 1. Guaranteed by design, not production tested. Note 2. Minimum SCL clock frequency is limited by the bus timeout feature, which resets the serial bus interface if either SDA or SCL is held low for time-out. Disable bus timeout via the Fault Enable register 0x03[D6]. Note 3. tV D:AC K = SCL LOW to SDA (out) LOW acknowledge time. Note 4. tV D:DAT = minimum SDA output data-valid time following SCL LOW transition. Note 5. A master device must internally provide an SDA hold time of at least 300ns to ensure an SCL low state. Note 6. The maximum SDA, SCL and MOSI rise times are 300ns. This allows series protection resistors to be connected between these inputs and the bus lines without exceeding the maximum allowable rise time. The maximum SDA and MISO fall time is 250ns. Note 7. The MSL2161 includes input filters on SDA, SCL and ADDR inputs that suppress noise less than 50ns. Note 8. The GSC input frequency multiplied by (GSCMUL + 1) should not exceed 2.5MHz. Note 9. When PWMDIRECT = 1 and PHDLYEN = 1 (external PWM with auto phase shift enabled), PWM duty cycles at 0% and 100% are guaranteed, other duty cycles require minimum on or off time of one full internal oscillator clock cycle and frequency greater than (fOSC/106)Hz. Atmel LED Drivers-MSL2160/MSL2161 17 Typical Application Circuit Figure 4. Atmel LED Driver-MSL2161 Driving 160 White LEDs in 16 Strings 18 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Detailed Description The MSL2160 and MSL2161 are highly integrated, flexible, multi-string LED drivers that use external MOSFETs to allow high LED string currents, and include power supply control to maximize efficiency. The drivers optionally connect to a video subsystem to offer a simple architecture for use in LCD TV backlight applications. Up to eight devices can be cascaded together to drive large numbers of LED strings in a system. The drivers provide multiple methods of controlling LED brightness through both peak current control and pulse width control of the string drive signals. Peak current control offers excellent color consistency, while pulse width control allows brightness management. An on-chip EEPROM holds all the default control register values. At power-up, the data in the EEPROM are automatically copied directly to the control registers, setting up the device for operation. The factory programmed EEPROM values can be changed through the serial interface if a different powerup condition is desired. The PWM frequency of the drivers is either synchronized to an external signal applied to PHI, generated from the internal oscillator for standalone applications, or set directly by a signal at the PWM input. Typically the VSYNC signal from the video system is used for the PHI input. A frequency multiplier (1x to 32x) processes this signal for use by the PWM engine. The on time of each string is individually programmed via the device registers, providing a peak resolution of 12 bits when using the onchip PWM generator. The actual resolution of the PWM frequency depends on the ratio of the GSC frequency (typically provided by a systems HSYNC signal, but can be internally generated) to the PHI frequency because the on time of a string is programmed as a 12-bit count of the number of GSC clock cycles. This count can be further scaled by an 8-bit global intensity value, when enabled. The GSC clock is also used to precisely set each string’s phase delay so that it is synchronized to its physical position relative to the video frame. The devices interface to an MCU via I2C (MSL2161) or SPI (MSL2160). The robust 1MHz I2C interface supports up to eight devices on the bus. The 20MHz, bus-addressable SPI bus supports up to eight devices per chip select line. While typically the LED drive PWM signal is internally generated, both drivers also accept an external direct PWM drive signal applied to the PWM input that sets the PWM duty and the frequency of the LEDs drive signal. Both devices also feature phase spreading when external PWM direct drive is used. With phase spreading enabled, a progressive 1/16 phase delay per string helps reduce both the transient load on the LED power supplies and the power supply input capacitor size requirements. The Efficiency Optimizers control a wide range of different external DC-DC and AC-DC converter architectures. Multiple drivers in a system communicate in real time among themselves to select an optimized operating voltage for the LEDs. This allows design of the power supply for the worst case forward voltage (Vf) of the LEDs without concern about excessive power dissipation issues. During the start-up sequence, the MSL2160/1 automatically reduces the power supply voltage to the minimum voltage required to keep the LEDs in current regulation. The devices can be configured to periodically perform this optimization to compensate for changes in LED forward voltage, and to assure continued optimum power savings. Atmel LED Drivers-MSL2160/MSL2161 19 Internal Regulators and Enable Input The MSL2160/1 includes two internal linear regulators that provide VCC (5V) and VDD (2.5V) for internal circuitry. VIN (12V nominal) supplies the VCC and VDD regulators. Bypass VIN to GND with a 10µF capacitor close to the device. Bypass VCC to GND with a 4.7µF capacitor close to the device. Bypass VDD to GND with a 4.7µF capacitor close to the device. The MSL2160/1 enables input, EN, enables the device. Drive EN low to enter low power operation, which lowers quiescent current draw to less than 20µA. With EN low, the serial interface is ignored, the Efficiency Optimizer is disabled, and all strings are turned off. Drive EN high to turn on the device. When EN is driven high, the contents of the EEPROM are boot loaded into the control registers, simulating a cold start up, and all bits in the fault registers are cleared to 0. Setting the Maximum LED String Current with a Source Resistor The maximum string current, ILEDn, for each string is set by a shunt resistor connected to ground from the source terminal of the string drive MOSFET. The feedback threshold is 500mV. Determine the resistor value using: RS = 0 .5 , where I is in amperes and R is in ohms. LED S I LED For example, a full-scale LED current of 100mA returns RS = 5Ω. The current for all LED strings is reduced from the full-scale value with 8-bit resolution using ISTR, the string current control register 0x31. Figure 5. FBOn Connects to the Power Supply Voltage Divider Through a Diode. 20 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Connecting the Efficiency Optimizer to an LED String Power Supply and Selecting Resistors The MSL2160/1 are designed to control external LED string power supplies that use voltage dividers (RTOP and RBOTTOM in Figure 5) to set the output voltage, and whose regulation feedback voltage is not more than 3.5V. The Efficiency Optimizer improves power efficiency by injecting a current of between 0 and 255µA into the voltage dividers of the external power supplies, dynamically adjusting their outputs to the minimum voltage required by the LED strings. To select the resistors, first determine VOUT(MIN) and VOUT(MAX), the minimum and maximum string supply voltage limits, using: VOUT ( MIN ) = (V f ( MIN ) ∗ [# ofLEDs ])+ 0.5 and VOUT ( MAX ) = (V f ( MAX ) ∗ [# ofLEDs ])+ 0.5 , where Vf(MIN) and Vf(MAX) are the LED minimum and maximum forward voltage drops at the peak current set by RS (page 12). For example, if the LED data are Vf(MIN) = 3.5V and Vf(MAX) = 3.8V, and ten LEDs are used in a string, then the total minimum and maximum voltage drops across a string are 35V and 38V, respectively. Adding an allowance of 0.5V for the string drive MOSFET headroom brings VOUT(MIN) to 35.5V and VOUT(MAX) to 38.5V. Then, determine RTOP using: RTOP = VOUT ( MAX ) − VOUT ( MIN ) I FBOn ( MAX ) , where IFBOn(MAX) is the 255µA maximum output current of the efficiency optimizer outputs FBOn. Finally, determine RBOTTOM using: R BOTTOM = RTOP ∗ V FB VOUT ( MAX ) − VFB , where VFB is the regulation feedback voltage of the power supply. Place a diode (1N4148 or similar) between FBOn and the supply’s feedback node to protect the MSL2160/1 against current flow into FBOn. Assign all strings powered by a common supply to the proper FBO output using string set registers 0x40 - 0x5F. Once configured, determine the change in power supply output voltage in response to a change in FBO output current using: ∆VOUT = ∆I FBO ∗ RTOP . Direct PWM Control of the LED Strings An external PWM signal applied to the PWM input allows direct PWM control over the strings when bits PWMEN and PWMDIRECT (bits D0 and D1 in PWM control register 0x2D) are set to 1. This configuration bypasses PHI and GSC, but allows LED string phase delay via the phase delay enable bit, PHADLYEN (bit D0 of register 0x2E). With phase delay enabled, a progressive delay of 1/16 the PWM frame is calculated and applied successively to each string drive signal. The PWM input can also be configured as a gate for the output of the PWM engine using PWM global enable (bit D2 of the PWM control register 0x2D). Atmel LED Drivers-MSL2160/MSL2161 21 Register Map and the EEPROM Register Map Summary Control the MSL2160/1 using the registers in the range 0x00 - 0xBF (Table 4). Two additional registers, 0xC0 and 0xC1, allow access to, and programming of, the EEPROM. The power-up default values for all control registers are stored within the on-chip EEPROM, and any of these EEPROM values may be changed through the serial interface. Table 4. Atmel LED Drivers-MSL2160/1 Register Map ADDRESS AND REGISTER NAME 0x00 STRINGEN0 0x01 0x02 FUNCTION REGISTER DATA D7 D6 D5 D4 D3 D2 D1 D0 STR3EN STR2EN STR1EN STR0EN STR10EN STR9EN STR8EN STR7EN STR6EN STR5EN STR4EN STRINGEN1 LED string enables STR15EN STR14EN STR13EN CONFIG Configuration SLEEP 0x03 FLTEN Fault enable 0x04 FLTMASK0 STR12EN STR11EN - - - FLDBKEN - - I2CTOEN PHIMAXFEN GSCMAXFEN STRSCFEN STROCFEN FBOOCFEN FEN7 FEN6 FEN5 FEN4 FEN3 FEN2 FEN1 FEN0 STRSCDLY[2:0] 0x05 FLTMASK1 String fault mask FEN15 FEN14 FEN13 FEN12 FEN11 FEN10 FEN9 FEN8 0x06 FLTSTATUS* Fault status FLTBDRV - - PHIMAXFLT GSCMAXFLT STRSCFLT STROCFLT FBOOCFLT 0x07 OCSTAT0* OC7 OC6 OC5 OC4 OC3 OC2 OC1 OC0 0x08 OCSTAT1* String open circuit fault status OC15 OC14 OC13 OC12 OC11 OC10 OC9 OC8 0x09 SCSTAT0* SC7 SC6 SC5 SC4 SC3 SC2 SC1 SC0 0x0A SCSTAT1* SC15 SC14 SC13 SC12 SC11 SC10 SC9 SC8 String short circuit fault status 0x0B - 0x0E 0x0F OSCFREQ 0x10 FBOCTRL0 0x11 FBOCTRL1 0x12 FBOCTRL2 0x13 FBODAC1* 0x14 FBODAC2* 0x15 FBODAC3* 0x16 FBOSTATUS* UNUSED Oscillator frequency Efficiency optimizer control - - - - HDRMSTEP[1:0] RECALDLY[1:0] INCRSTEP[1:0] DECRSTEP[1:0] - - - GSC processing control GSCCNTR Internal clock counter for GSC 0x23 GSCMUL GSC multiplier 0x24 GSCDIV GSC divider 0x22 22 ACAL100 ACALEN ICHKDIS FBO3OCEN FBO2OCEN FBO1OCEN FBOEN FBO1ACT FBOCAL FBOINITCAL GSCPOL GSCPHISYNCEN GSCINTEN FBODAC2[7:0] FBODAC3[7:0] FBO3OC FBO2OC FBO1OC FBO3ACT FBO2ACT UNUSED GSCCTRL 0x21 IERRCONF[1:0] INITPWM FBODAC1[7:0] 0x17- 0x1F 0x20 OSCFREQ[2:0] SETTLE[1:0] - Efficiency optimizer DAC readback Efficiency optimizer status - GSCCHKSEL - - - GSCMAXEN GSCCNTR[7:0] GSCCNTR[15:8] - - - GSCMUL[4:0] GSCDIV[7:0] Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface ADDRESS AND REGISTER NAME GSCMAX Max oscillator cycles between GSC pulses PHICTRL PHI processing control PHICNTR Internal clock counter for PHI PHIMUL PHI multiplier PHIMAX Max GSC cycles between PHI pulses 0x25 0x26 0x27 0x28 0x29 0x2A 0x2B 0x2C 0x2D FUNCTION PWMCTRL0 REGISTER DATA D7 D6 D5 D4 D3 PHICHKSEL - - - - - - PHIMAX[7:0] PHIMAX[15:8] GINT+1EN GINTEN ALTEN OVRFLOZEN OVRFLOEN PWMGLBLEN PWMDIRECT PWMEN - - - - EXTALTEN PHOVRFLOZEN PHOVRFLOEN PHADLYEN Global PWM scaling GINT[7:0] 0x30 ALTGINT Alternate global PWM scaling ALTGINT[7:0] 0x31 ISTR 8-bit global string current scaling ISTR[7:0] 0x32 PWMSTATUS* PWM and counter status 0x33 PHIPCNTR* PHI pulse counter and status GSCPCNTR* GSC pulse counter PHIMAXERRCNT[2:0] PHICNTRMAX - PHIMAX1FLT 0x5F 0x60 0x61 PHISIGFLT - GSCSIGFLT PHICNTRFLT GINTMULERR PHIPCNTR[4:0] GSCPULSECNTR[7:0] - - - GSCPULSECNTR[12:8] 0x36 - 0x3F UNUSED STR0SET Phase delay and EO assignment for string 0 ↓ ↓ ↓ Phase delay and EO assignment for string 15 PHDLY15[7:0] STR15SET PWM0 PWM setting for string 0 0x5E PHIINTEN PHIMUL[4:0] GINT ↓ PHIPOL PHICNTR[15:8] 0x2F 0x41 PHIMAXEN PHICNTR[7:0] PWMCTRL1 0x40 D0 GSCMAX[15:8] 0x2E 0x35 D1 GSCMAX[7:0] PWM control 0x34 D2 Atmel LED Drivers-MSL2160/MSL2161 PHDLY0[7:0] FBOSET0[1:0] FBOSET15[1:0] - - - PHDLY[11:8] - PHDLY[11:8] PWM0[7:0] - - - - PWM0[11:8] 23 ADDRESS AND REGISTER NAME ↓ 0x7E 0x7F ↓ ↓ PWM15 PWM setting for string 14 ALTSTR0SET Alternate phase delay for string 0 0x80 0x81 ↓ 0xA0 0xA1 ↓ 0xBE 0xBF REGISTER DATA D7 D6 D5 D4 D3 - - - PWM15[11:8] - - - - ALTPHDLY[11:8] ↓ ALTPHDLY15[7:0] ALTSTR15SET ALTPWM0 Alternate PWM setting for string 0 - - - - ALTPHDLY[11:8] ALTPWM0[7:0] - - - - ALTPWM0[11:8] ↓ ↓ ↓ ALTPWM15 Alternate PWM setting for string 15 ALTPWM15[7:0] 0xC1 E2CTRLSTA EEPROM read/write access D0 ALTPHDLY0[7:0] ↓ E2ADDR D1 PWM15[7:0] - Alternate phase delay for string 15 0xC0 D2 ↓ ↓ 0x9E 0x9F FUNCTION - - - - E2BUSY ALTPWM15[11:8] E2ADDR[6:0] BLDACT E2ERR - - RWCTRL[2:0] * Read-only registers 24 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface Register Power-up Defaults Register power-up default values are shown in Table 5. Table 5. Atmel LED Drivers-MSL2160/1 Register Power-up Defaults POWER-UP CONDITION REGISTERS INITIALIZED FROM EEPROM REGISTER NAME AND ADDRESS REGISTER DATA D7 D6 D5 D4 D3 D2 D1 D0 HEX 1 1 1 1 1 1 1 1 FF 1 1 1 1 1 1 1 1 FF 0x00 STRINGEN0 0x01 STRINGEN1 0x02 CONFIG String short circuit confirmation delay = 256µs String current fold-back enabled Device is not asleep 0 0 0 0 1 1 0 1 0D 0x03 FLTEN FBO open circuit fault detect globally enabled String open circuit fault detect globally enabled LED short circuit fault detect globally enabled GSC max fault detect globally disabled PHI max fault detect globally disabled I2C timeout enabled 0 0 1 0 0 1 1 1 27 0x04 FLTMASK0 1 1 1 1 1 1 1 1 FF 0x05 FLTMASK1 1 1 1 1 1 1 1 1 FF 0x0F OSCFREQ 0 0 0 0 0 1 0 0 04 0x10 FBOCTRL0 0 1 0 0 1 0 0 1 49 0x11 FBOCTRL1 0 0 0 1 1 0 1 0 1A 0x12 FBOCTRL2 0 0 0 0 1 1 1 1 0F 0 0 0 0 0 0 0 0 00 0 1 0 1 0 0 0 0 50 0 0 0 0 0 0 0 0 00 0x20 0x21 0x22 All LED string drive outputs enabled Fault detection individually enabled for all strings fOSC = 20MHz Current sink error confirmation delay = 2µs FBO power supply settling time allowance = 4ms Efficiency Optimizer auto-recalibration delay = 1s Efficiency Optimizer headroom steps = 3 MOSFET current sink error detection enabled Efficiency Optimizer auto-recalibration enabled PWM settings used during auto-recalibration PWM settings used during initial calibration Efficiency Optimizer correction step size = 1 LSB (1µA) Efficiency Optimizer initial calibration step size = 1 LSB (1µA) FBO outputs globally enabled Open circuit detection enabled for all three FBO outputs GSCCTRL External signal at GSC is selected for input to the PWM engine GSC not internally synchronized to PHI PWM drive synchronized to falling edge of external GSC GSC maximum count fault detect is disabled Although disabled, GSC max fault monitors fpGSC GSCCNTR Although disabled, internal GSC frequency fGGEN = 20MHz / (80 + 1) = 246kHz 0x23 GSCMUL GSC multiplexer output is multiplied by 4 (register setting + 1) 0 0 0 0 0 0 1 1 03 0x24 GSCDIV GSC multiplier output is divided by 1 (register setting + 1) 0 0 0 0 0 0 0 0 00 GSCMAX Although disabled, GSC max count is set to 174 clock cycles 1 0 1 0 1 1 1 0 AE 0 0 0 0 0 0 0 0 00 0x25 0x26 Atmel LED Drivers-MSL2160/MSL2161 25 Table 5. Atmel LED Drivers-MSL2160/1 Register Power-up Defaults REGISTER NAME AND ADDRESS 0x27 0x28 0x29 0x2A 0x2B 0x2C 26 HEX 0 0 0 0 0 0 0 0 00 0 0 0 B0 0 0 1 0 1 0 0 0 28 PHIMUL PHI multiplier = 1 (register setting + 1) 0 0 0 0 0 0 0 0 00 PHIMAX Although disabled, PHI maximum count = 4148 0 0 1 1 0 1 0 0 34 0 0 0 1 0 0 0 0 10 1 0 0 1 1 0 0 1 99 0 0 0 0 0 1 1 1 07 Although disabled, global intensity set to (127 + 1) / 256 = 50% (1 added in numerator because bit D7 of 0x2D = 1) 0 1 1 1 1 1 1 1 7F Although disabled, alternate global intensity set to (95 + 1) / 256 = 37.5% (1 added in numerator because bit D7 of 0x2D = 1) 0 1 0 1 1 1 1 1 5F Strings current scaled to 50% of RSn setting 0 1 1 1 1 1 1 1 7F 0 0 0 0 0 0 0 0 00 0 1 0 0 0 0 0 0 40 ISTR 0x7F D0 0 0x31 0x7E D1 1 ALTGINT ↓ D2 1 0x30 0x61 D3 0 GINT 0x60 D4 1 0x2F 0x5F D5 Although disabled, internal PHI frequency fPGEN = 20MHz / (8 * (10416 + 1)) = 240Hz PWMCTRL1 ↓ D6 PHICNTR 0x2E 0x5E D7 PHICTRL PWMCTRL0 0x41 REGISTER DATA External signal at PHI selected for input to PWM engine PWM engine is synchronized to the falling edge of PHI PHI maximum count fault detect is disabled Although disabled, PHI max count monitors fpPHI 0x2D 0x40 POWER-UP CONDITION REGISTERS INITIALIZED FROM EEPROM STR0SET ↓ STR15SET PWM operation enabled Individual LED string drive pulse widths internally determined PWM input does not gate the output of the PWM engine String on times allowed to extend beyond end of PWM frame String on times allowed to extend into frame zero Alternate timing not used Global intensity (GINT) disabled Although disabled, (GINT + 1) is provided to the PWM engine String drive phasing enabled Delayed string turn on beginning after PWM frame allowed Delayed turn on occurring in frame zero allowed Alternate timing not selected by PWM input state All strings set to zero phase delay Strings assigned as follows: FBO1: All strings FBO2: None FBO3: None PWM0 ↓ PWM15 ↓ 0 0 0 0 0 0 0 0 00 0 1 0 0 0 0 0 0 40 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 1 0 02 All strings have PWM tON = 512 GSC cycles ↓ 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 1 0 02 Atmel LED Drivers-MSL2160/MSL2161 Atmel LED Drivers-MSL2160/MSL2161 16-string, White and RGB LED Drivers with Adaptive Configuration, EEPROM, and SPI/I2C/SMBus Serial Interface POWER-UP CONDITION REGISTERS INITIALIZED FROM EEPROM REGISTER NAME AND ADDRESS 0x80 0x81 ↓ 0x9E 0x9F 0xA0 0xA1 ↓ 0xBE 0xBF ALTSTR0SET ↓ D7 D6 D5 D4 D3 ALTPWM0 D1 D0 HEX 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 40 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 1 0 02 ↓ All strings set with alternate PWM tON = 512 GSC cycles ALTPWM15 D2 0 All strings set to zero phase delay ALTSTR15SET ↓ REGISTER DATA ↓ 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 1 0 02 REGISTERS WITH FIXED INITIAL VALUES 0xC0 E2ADDR 0xC1 E2CTRLSTA EEPROM 7 bit address = 0x00 0 0 0 0 0 0 0 0 00 EEPROM read/write disabled 0 0 0 0 0 0 0 0 00 * Read-only registers Atmel LED Drivers-MSL2160/MSL2161 27 Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: (+1)(408) 441-0311 Fax: (+1)(408) 487-2600 www.atmel.com Atmel Asia Limited Unit 01-5 & 16, 19F BEA Tower, Millennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon HONG KONG Tel: (+852) 2245-6100 Fax: (+852) 2722-1369 Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 JAPAN Tel: (+81)(3) 3523-3551 Fax: (+81)(3) 3523-7581 © 2011 Atmel Corporation. All rights reserved. / Rev.: MEM-MSL2160/61DB1-E-US_06-11 Atmel®, logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.