Product Folder Order Now Support & Community Tools & Software Technical Documents LP5569 SNVSAP8 – JULY 2017 LP5569 Nine-Channel I2C RGB LED Driver With Engine Control and Charge Pump 1 Features 3 Description • • The LP5569 device is a programmable, easy-to-use 9-channel I2C LED driver designed to produce lighting effects for various applications. The LED driver is equipped with an internal SRAM memory for userprogrammed sequences and three programmable LED engines, which allow operation without processor control. Autonomous operation reduces system power consumption when the processor is put in sleep mode. • • • • • • Supply Voltage Range: 2.5 V–5.5 V Nine High-Accuracy Current Sinks – 25.5 mA Maximum per Channel – 8-Bit Individual Current Control – 12-Bit 20-kHz Internal Individual PWM Control Without Audio Noise Three Programmable LED Engines – Independent Illumination Control Without Active Microcontroller Control – Synchronization Among Multiple Devices – Up to 256 Instructions in SRAM Memory for Storing Sequences of Lighting Patterns – LP5523- and LP55231-Device-Compatible Command Set Flexible Dimming Control – I2C Dimming Control – PWM Direct-Input Dimming – PWM Input Frequency: 100-Hz to 20-kHz Adaptive High-Efficiency Charge-Pump Control for Driving High-VF LEDs With Low Battery Voltage Master Fader Control Allows Dimming of Multiple LEDs by Writing to Only One Register to Reduce the I2C Bus Traffic 2-µA Low Standby Current and 10-µA in Automatic Power-Save Mode When LEDs Are Inactive POR, UVLO, and TSD Protection A high-efficiency charge pump enables the driving of LEDs with high VF, even with 2.5-V input voltage. The LP5569 LED driver maintains good efficiency over a wide operational voltage range by autonomously selecting the best charge-pump gain based on LED forward voltage requirements. The LP5569 device enters power-save mode when LEDs are not active, lowering idle-current consumption considerably. A flexible digital interface allows the connection of up to eight LP5569 devices with a unique I2C slave address for each device in the same system, which supports synchronization of the lighting effects among all devices. Device Information(1) PART NUMBER LP5569 BODY SIZE (NOM) 4.00 mm × 4.00 mm (1) For all available packages, see the orderable addendum at the end of the data sheet. Simplified Schematic CFLY1 1 μF 2 Applications LED Lighting, Indicator Lights, and Fun Lights for: • Smart Speaker • Smart Home Appliance • Doorbell • Electric Lock • Smoke Detector • Thermostat • Set-Top Box • Smart Router • Bluetooth® Headset • Cell Phone PACKAGE WQFN (24) VIN C1– 2.5 V to 5.5 V CIN 1 μF VIN C1+ CFLY2 1 μF C2– C2+ VOUT COUT 1 μF PGND VIN 1.8 V V1P8 LED0 LED1 µC SCL LED2 SDA LED3 EN/PWM LED4 CLK LED5 GPIO/TRIG/INT LED6 ADDR LED7 AGND LED8 Copyright © 2017, Texas Instruments Incorporated 1 An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. ADVANCE INFORMATION for pre-production products; subject to change without notice. ADVANCE INFORMATION 1 LP5569 SNVSAP8 – JULY 2017 www.ti.com 4 Revision History DATE REVISION NOTES July 2017 * Initial release ADVANCE INFORMATION 2 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table of Contents Features .................................................................. Applications ........................................................... Description ............................................................. Revision History..................................................... Device Comparison Table..................................... Pin Configuration and Functions ......................... Specifications......................................................... 1 1 1 2 4 5 7 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 7.10 Absolute Maximum Ratings ...................................... 7 ESD Ratings.............................................................. 7 Recommended Operating Conditions....................... 7 Thermal Information .................................................. 7 Electrical Characteristics........................................... 8 Charge-Pump Electrical Characteristics ................... 8 LED Current Sinks Electrical Characteristics............ 9 Logic Interface Characteristics.................................. 9 Timing Requirements (EN/PWM).............................. 9 Serial-Bus Timing Requirements (SDA, SCL), See Figure 2.................................................................... 10 7.11 External Clock Timing Requirements (CLK), See Figure 1.................................................................... 10 7.12 Typical Characteristics .......................................... 11 8 Detailed Description ............................................ 12 8.1 8.2 8.3 8.4 8.5 8.6 9 Overview ................................................................. Functional Block Diagram ....................................... Feature Description................................................. Device Functional Modes........................................ Programming........................................................... Register Maps ......................................................... 12 13 14 23 25 39 Application and Implementation ........................ 76 9.1 Application Information............................................ 76 9.2 Typical Applications ................................................ 76 10 Power Supply Recommendations ..................... 80 11 Layout................................................................... 81 11.1 Layout Guidelines ................................................. 81 11.2 Layout Example .................................................... 82 12 Device and Documentation Support ................. 83 12.1 12.2 12.3 12.4 12.5 12.6 Device Support .................................................... Receiving Notification of Documentation Updates Community Resources.......................................... Trademarks ........................................................... Electrostatic Discharge Caution ............................ Glossary ................................................................ 83 83 83 83 83 83 13 Mechanical, Packaging, and Orderable Information ........................................................... 83 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 3 ADVANCE INFORMATION 1 2 3 4 5 6 7 LP5569 SNVSAP8 – JULY 2017 www.ti.com 5 Device Comparison Table PART NUMBER GROUP I2C SLAVE ADDRESS LP5569 0 32h–35h and 40h (see I2C Slave Addressing) LP5569A 1 42h–45h and 40h (see I2C Slave Addressing) ADVANCE INFORMATION 4 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 6 Pin Configuration and Functions C2± VOUT PGND ADDR LED0 23 22 21 20 19 C2+ 1 18 LED1 C1+ 2 17 LED2 VIN 3 16 LED3 AGND 4 15 LED4 EN/PWM 5 14 LED5 CLK 6 13 LED6 Thermal 7 8 9 10 11 12 GPIO/TRIG/INT SDA SCL V1P8 LED8 LED7 Pad Not to scale Pin Functions PIN NAME NO. TYPE (1) DESCRIPTION ADDR 20 I I2C slave-address selection pin. See I2C Slave Addressing for more details. This pin must not be left floating. AGND 4 G Analog and digital ground. Connect to PGND, exposed thermal pad, and common ground plane. C1– 24 A Negative pin of charge-pump flying capacitor 1. If charge pump is not used, this pin must be left floating. C1+ 2 A Positive pin of charge-pump flying capacitor 1. If charge pump is not used, this pin must be left floating. C2– 23 A Negative pin of charge-pump flying capacitor 2. If charge pump is not used, this pin must be left floating. C2+ 1 A Positive pin of charge-pump flying capacitor 2. If charge pump is not used, this pin must be left floating. CLK 6 I, OD EN/PWM 5 I GPIO/TRIG/INT 7 I, OD LED0 19 A LED current sink 0. If not used, this pin can be left floating. LED1 18 A LED current sink 1. If not used, this pin can be left floating. LED2 17 A LED current sink 2. If not used, this pin can be left floating. LED3 16 A LED current sink 3. If not used, this pin can be left floating. LED4 15 A LED current sink 4. If not used, this pin can be left floating. (1) Clock input/output. By default this pin is a clock input. If not used, this pin must be connected to GND or VIN. Chip enable and PWM input pin. General-purpose input or open-drain output, or trigger input or open-drain output, or interrupt open-drain output. This pin function is configured in the I2C registers. By default this pin is a general-purpose output (open-drain) and can be left floating if not used. A: analog pin; G: ground pin; P: power pin; I : input pin; OD: open-drain pin Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 5 ADVANCE INFORMATION C1± 24 RTW Package 24-Pin WQFN With Exposed Thermal Pad Top View LP5569 SNVSAP8 – JULY 2017 www.ti.com Pin Functions (continued) PIN NAME NO. TYPE (1) DESCRIPTION ADVANCE INFORMATION LED5 14 A LED current sink 5. If not used, this pin can be left floating. LED6 13 A LED current sink 6. If not used, this pin can be left floating. LED7 12 A LED current sink 7. If not used, this pin can be left floating. LED8 11 A LED current sink 8. If not used, this pin can be left floating. PGND 21 G Charge-pump power ground. Connect to AGND, exposed thermal pad, and common ground plane. SCL 9 I I2C bus clock line. If not used, this pin must be connected to GND or VIN. SDA 8 I, OD I2C bus data line. If not used, this pin must be connected to GND or VIN. V1P8 10 P Input power for digital circuitry. VIN 3 P Input power, a 1-µF capacitor must be connected between PGND and this pin. VOUT 22 A Charge-pump output voltage. If charge pump is used, a 1-µF capacitor must be connected between PGND and this pin. If charge pump is not used or is used in 1× mode only, the capacitor can be omitted. Exposed thermal pad — — Must be connected to AGND (pin 4), PGND (pin 21), and common ground plane. See Layout Example. Must be soldered to achieve appropriate power dissipation and mechanical reliability. 6 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 7 Specifications 7.1 Absolute Maximum Ratings over operating ambient temperature range (unless otherwise noted) (1) MIN MAX Voltage on VIN, CLK, ADDR, EN/PWM, GPIO/TRIG/INT, SCL, SDA, VOUT (2) −0.3 6 V Voltage on LED0 to LED8, C1–, C2–, C1+, C2+ −0.3 VVIN + 0.3 V with 6 V max. V Voltage on V1P8 −0.3 2 V Continuous power dissipation UNIT Internally limited Internally limited Junction temperature, TJ-MAX -40 125 °C Storage temperature, Tstg −65 150 °C (1) (2) Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under Recommended Operating Conditions. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. VOUT cannot be forced to a power supply during device shutdown. VALUE V(ESD) (1) (2) Electrostatic discharge Human-body model (HBM), per ANSI/ESDA/JEDEC JS-001 (1) ±2500 Charged-device model (CDM), per JEDEC specification JESD22C101 (2) ±250 ADVANCE INFORMATION 7.2 ESD Ratings UNIT V JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process. 7.3 Recommended Operating Conditions over operating ambient temperature range (unless otherwise noted) MIN MAX 2.5 5.5 V Voltage on LED0 to LED8, C1–, C2–, C1+, C2+, VOUT 0 VVIN V Voltage on CLK, ADDR, EN/PWM, GPIO/TRIG/INT, SDA, SCL 0 VVIN V 1.65 1.95 V 0 160 mA −40 85 °C Input voltage on VIN Input voltage on V1P8 Output current on VOUT Operating ambient temperature, TA (1) (1) UNIT In applications where high power dissipation and/or poor PCB cooling status is present, the maximum ambient temperature Might require derating. Maximum ambient temperature (TA-MAX) is dependent on the maximum operating junction temperature (TJ-MAX-OP = 125°C), the maximum power dissipation of the device in the application (PD-MAX), and the junction-to ambient thermal resistance of the device in the application (RθJA), as given by the equation: TA-MAX = TJ-MAX-OP – (RθJA × PD-MAX). 7.4 Thermal Information LP5569 THERMAL METRIC (1) RTW (WQFN) UNIT 24 PINS RθJA Junction-to-ambient thermal resistance 35.8 °C/W RθJC(top) Junction-to-case (top) thermal resistance 26.7 °C/W RθJB Junction-to-board thermal resistance 13.1 °C/W ψJT Junction-to-top characterization parameter 0.4 °C/W ψJB Junction-to-board characterization parameter 13.1 °C/W RθJC(bot) Junction-to-case (bottom) thermal resistance 4.6 °C/W (1) For more information about traditional and new thermal metrics, see Semiconductor and IC Package Thermal Metrics. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 7 LP5569 SNVSAP8 – JULY 2017 www.ti.com 7.5 Electrical Characteristics Unless otherwise noted, specifications apply to the LP5569 device in a circuit per the typical application diagram for the single device with VVIN = 3.6 V, V1P8 = 1.8 V, VEN/PWM = VVIN, CIN = COUT = CFLY1 = CFLY2 = 1 µF. (Limits in () are design target and subject to change). Typical (TYP) values apply for TA = 25°C and minimum (MIN) and maximum (MAX) apply over the operating ambient temperature range (−40°C < TA < 85°C). PARAMETER TEST CONDITIONS MIN VEN/PWM = 0 V, chip_en (bit) = 0 Standby supply current IVIN Normal-mode supply current ADVANCE INFORMATION Power-save mode supply current Standby supply current IV1P8 Normal-mode supply current Powersave-mode supply current ƒOSC VUVLO 32-kHz internal oscillator frequency accuracy MAX 0.2 1 VEN/PWM = 3.3 V, chip_en (bit) = 0, external CLK not running 2 VEN/PWM = 3.3 V, chip_en (bit) = 0, external CLK running 2 External CLK running, charge pump and current sinks disabled 5 UNIT µA µA Charge pump in 1× mode, no load, current sinks disabled (30) Charge pump in 1.5× mode, no load, currentsink outputs disabled tbd External CLK running, see Automatic PowerSave Mode 10 Internal oscillator running mA µA 600 VEN/PWM = 0 V, chip_en(bit) = 0 (1) µA VEN/PWM = 3.3 V, chip_en (bit) = 0, external CLK not running tbd µA VEN/PWM = 3.3 V, chip_en (bit) = 0, external CLK running tbd µA External CLK running, charge pump and current sinks disabled tbd µA Charge pump in 1× mode, no load, current sinks disabled tbd µA Charge pump in 1.5× mode, no load, currentsink- outputs disabled tbd µA External CLK running tbd µA Internal oscillator running tbd µA TA = 25°C 10-MHz internal oscillator frequency accuracy Undervoltage lockout TYP –10% 10% –7% 7% VVIN falling 2.2 VVIN rising 2.3 V 7.6 Charge-Pump Electrical Characteristics PARAMETER ROUT Charge-pump output resistance VOUT ƒSW TEST CONDITIONS Gain = 1×, VVIN = 4.2 V MAX UNIT Ω VVIN = 3.7 V, IOUT = 160 mA, gain = 1.5× 4.5 V ICL Output current limit tON VOUT turnon time IOUT = 0 mA, VIN ≥ 3 V, VOUT > 4.1 V, gain = 1.5× 8 1 3.5 Switching frequency Maximum output current TYP Gain = 1.5×, VVIN = 3.7 V VOUT = 0 V, VVIN = 3.7 V, CP_CONFIG = 0xFF IOUT MIN 1.25 MHz 600 mA 100 µs VVIN > 3.1 V, VOUT dropped 10%, gain = 1.5× TBD VIN > 2.5 V, VOUT dropped 10%, gain = 1.5× TBD Submit Documentation Feedback mA Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 7.7 LED Current Sinks Electrical Characteristics PARAMETER ILEAKAGE Leakage current (LED0 to LED8) IMAX Maximum sink current ILED_ACC Sink current accuracy (1) Matching ƒLED LED switching frequency (1) (2) Saturation voltage MIN TYP MAX 1 25.5 Current set to 17.5 mA. PWM = 100% (1) ILED_MATCH VSAT TEST CONDITIONS PWM = 0%, VLED = 5 V –5% µA mA 5% Current set to 17.5 mA 1% 3.5% 19.5 (2) UNIT Output current set to 25.5 mA 80 kHz 130 mV Output-current accuracy is the difference between the actual value of the output current and the programmed value of this current. Matching is the maximum difference from the average. For the constant-current outputs on the device (LED0 to LED8), the following are determined: the maximum output current (MAX), the minimum output current (MIN), and the average output current of all outputs (AVG). The matching number is calculated: (MAX – MIN) / AVG. The typical specification provided is the most likely norm of the matching figure for all devices. Note that some manufacturers have different definitions in use. Saturation voltage is defined as the voltage when the LED current has dropped 10% from the value measured at 1 V. 7.8 Logic Interface Characteristics PARAMETER TEST CONDITIONS MIN TYP MAX UNIT VIL Input low level VIH Input high level Ilkg Input leakage current 0.4 V 1 µA 1.25 VI ≤ VVIN ADVANCE INFORMATION LOGIC INPUT (EN/PWM, SCL, ADDR) V –1 LOGIC OUTPUT (SDA, GPIO/TRIG/INT, CLK) VIL Input low level Pin configured as input VIH Input high level Pin configured as input Ilkg Input leakage current Pin configured as input, VVIN = 5.5 V, VI ≤ VVIN VOL Output low level IPULLUP = 3 mA Output leakage current Pin configured as output , Hi-Z state IL 0.4 V 1.25 –1 1 0.3 µA 0.5 V 1 µA 7.9 Timing Requirements (EN/PWM) MIN 2 TYP MAX 2 tbd UNIT tEN Enable time, EN/PWM first rising edge until first I C access tEN_TIMEOUT EN timeout, EN/PWM = low time while in standby mode (enable function) 15 ms tPWM_TIMEOU PWM timeout, EN/PWM = low time while in normal mode (PWM function) T 15 ms PWMres 10 bits Resolution for EN/PWM input when configured as PWM, fPWM = 10 kHz ms Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 9 LP5569 SNVSAP8 – JULY 2017 www.ti.com 7.10 Serial-Bus Timing Requirements (SDA, SCL), See Figure 2 I2C fast mode MIN MAX UNIT 0 400 kHz ƒSCL Clock frequency 1 Hold time (repeated) START condition 0.6 µs 2 Clock low time 1.3 µs 3 Clock high time 600 ns 4 Setup time for a repeated START condition 600 ns 5 Data hold time 0 ns 6 Data setup time 100 ns 7 Rise time of SDA and SCL 20 + 0.1Cb 300 ns 8 Fall time of SDA and SCL 15 + 0.1Cb 300 ns 9 Set-up time for STOP condition 600 10 Bus-free time between a STOP and a START condition 1.3 Cb Capacitive load for each bus line 10 ns µs 200 pF ADVANCE INFORMATION 7.11 External Clock Timing Requirements (CLK), See Figure 1 over operating ambient temperature range (unless otherwise noted) MIN TYP MAX 32.7 UNIT ƒCLK Clock frequency tCLKH High time 6 kHz µs tCLKL Low time 6 µs tr Clock rise time, 10% rising edge to 90% rising edge 2 µs tf Clock fall time, 90% falling edge to 10% falling edge 2 µs Figure 1. External Clock Signal Figure 2. Timing Parameters 10 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 7.12 Typical Characteristics Graph Placeholder Graph Placeholder C00 Figure 4. ADVANCE INFORMATION Figure 3. C00 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 11 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8 Detailed Description 8.1 Overview The LP5569 device is a fully integrated lighting management unit for producing lighting effects for various LED applications. The LP5569 device includes all necessary power management, low-side current sinks, two-wire serial I2C-compatible interface, and programmable LED engines. The overall maximum current for each of the nine drivers is set with 8-bit resolution. The LP5569 device controls LED luminance with a pulse-width modulation (PWM) scheme with a resolution of 12 bits at 20 kHz, which is achieved by using 3-bit dithering. 8.1.1 Programming The LP5569 device provides flexibility and programmability for dimming and sequencing control. Each LED can be controlled directly and independently through the serial interface, or LED drivers can be grouped together for preprogrammed flashing patterns. The device has three independent program execution engines. Each engine can control 1 to 9 LED driver outputs, but more than one engine cannot simultaneously control the same LED driver output. Any engine can be used as the master fader for all three engines. 8.1.2 Energy Efficiency ADVANCE INFORMATION An integrated 1× or 1.5× charge pump with adaptive control provides supply voltage for LEDs when operating with low input voltage. Because the LED drivers are low-side sinks, some or all LEDs can be powered from an external source if available. The LP5569 device has very low standby current and an automatic power-save mode when the LEDs are inactive. 8.1.3 Protection Features Protection features include power-on reset, charge-pump input-current limiter, thermal shutdown (TSD), and undervoltage lockout (UVLO). 12 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.2 Functional Block Diagram CFLY2 CFLY1 C1+ C1Å C2Å C2+ VIN CIN OSC VOUT 1X/1.5X Charge Pump COUT PGND BIAS VREF SRAM PROGRAM MEMORY 256 INSTRUCTIONS UVLO LED PWM ENGINE 1 LED PWM ENGINE 2 LED PWM ENGINE 3 9 12-bit PWM Control VIN ADVANCE INFORMATION V1P8 LED0 EN/PWM LED1 CTRL REG SCL I2C SDA LED2 8-bit Current LED3 9 ADDR CONTROL 8-bit D/A LED4 CLK CLK DET LED5 GPIO/TRIG/INT LED6 POR LED7 LED8 THERMAL SHUTDOWN AGND Copyright © 2017, Texas Instruments Incorporated Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 13 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.3 Feature Description 8.3.1 Current Sinks 8.3.1.1 Overview The LP5569 LED drivers are constant-current sources. Maximum output-current scale can be programmed by control registers up to 25.5 mA. The overall maximum current is set by 8-bit output current-control registers with 100-μA step size. Each of the 9 LED drivers has a separate output-current control register. The LED luminance pattern (dimming) is controlled with a PWM technique, which has 12-bit resolution during ramping and 8-bit user control. The LED current-sink PWM frequency is 20 kHz. High 20-kHz PWM frequency and 12-bit control accuracy are achieved by using 3-bit dithering for PWM control. There is a 9-bit pure PWM resolution generated in the PWM generators, and one least-significant bit (1 LSB) is toggled in eight periods to output a smaller average step. For 3-bit dithering, every eighth pulse is made 1 LSB longer to increase the average value by 1 / 8th. Figure 5 shows an example of 9-bit PWM value, step of 4 / 8 (0.5) and its 12-bit representation. 256 (9-bit) 2048 (12-bit) 1LSB ADVANCE INFORMATION 256 4/8 (9-bit) 2052 (12-bit) 257 (9-bit) 2056 (12-bit) Figure 5. Dithering A phase-shift PWM scheme allows delaying the time when each LED driver is active. When the LED drivers are not activated simultaneously, the peak load current from the charge-pump output is greatly decreased. This also reduces input-current ripple and ceramic-capacitor audible ringing. LED drivers are grouped into three different phases. In phase 1, the rising edge of the PWM pulse is fixed in time. In phase 2, the middle point of the PWM pulse is fixed, and the pulse spreads to both directions when PWM duty cycle is increased. Phase 3 has a fixed falling edge, that is, the rising edge of the pulse is changed when the duty cycle changes. Cycle Time 1/fPWM LED0 Phase 1 LED3 LED6 0 mA LED1 Phase 2 LED4 LED7 0 mA LED2 Phase 3 LED5 LED8 0 mA Phase 1 Phase 2 Phase 3 Copyright © 2016, Texas Instruments Incorporated Figure 6. LED Phase Shift LED dimming is controlled according to an exponential or linear scale (see Figure 7) In exponential mode, the PWM output percent can be approximated by the following two equations: • Less than or equal to code 64: y = 0.0125x – 0.0066. • Greater than code 64: y = 0.7835e0.0217x . 14 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Feature Description (continued) 100,0 100 PWM OUTPUT % 80,0 80 60 60,0 40,0 40 20,0 20 0 0,0 0,0 0 64,0 64 128,0 128 192,0 192 256,0 256 DIMMING CONTROL (DEC) 8.3.1.2 Controlling the Low-Side Current Sinks 8.3.1.2.1 Direct Register Control All LP5569 LED drivers, LED0 to LED8, can be controlled independently through the two-wire serial I2Ccompatible interface. For each low-side driver there is an 8-bit PWM control register which can be used to control the LED PWM duty-cycle value. This register cannot be written when the program execution engine is active, which could result in undesirable behavior. Care should be taken to update these registers only when the program execution engine is idle. 8.3.1.2.2 Controlling by Program Execution Engines Engine control is used when the user wants to create programmed sequences. The program execution engine updates the direct-control registers when active. Therefore, if the user has set the PWM register to a certain value, it is automatically overridden when the program execution engine controls the driver. LED control and program-execution-engine operation is described in Programming. 8.3.1.2.3 Master Fader Control In addition to LED-by-LED PWM register control, the LP5569 device is equipped with a master-fader control, which allows the user to fade in or fade out multiple LEDs from the EN/PWM pin or by writing to the master fader registers. This is a useful function to minimize serial bus traffic between the MCU and the LP5569 device. The LP5569 device has three master fader registers, so it is possible to form three master fader groups. Either writing master fader registers through the I2C interface directly or through LED engine control can set the master fader register values. The final output PWM duty cycle is the PWM register duty-cycle value multiplied by the dutycycle value of the master fader register. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 15 ADVANCE INFORMATION Figure 7. 8-Bit User PWM Control, Exponential and Linear Dimming LP5569 SNVSAP8 – JULY 2017 www.ti.com Feature Description (continued) ADVANCE INFORMATION Figure 8. Simplified Data Flow of Master Fader 8.3.1.2.3.1 PWM Master Fader on EN/PWM Pin The EN/PWM pin provides a dual-function input. On power up, the pin functions as the device enable (EN) function, where the first rising edge enables the LP5569 device. After the chip_en bit is set high in the CONFIG register, the pin is reconfigured for PWM master-fader control of the LEDs. The LEDx_CONTROL register (addresses 07h–0Fh) MF_MAPPINGx bits = 5h configures LEDx for PWM control. The PWM input is a sampled input which converts the input duty-cycle information into an 11-bit code. The use of a sampled input eliminates any noise and current ripple that is typical of traditional PWM-controlled LED drivers. The PWM input uses logic-level thresholds with VIH_MIN = 1.25 V and VIL_MAX = 0.4 V. Because this is a sampled input, there are limits on the maximum PWM input frequency as well as the resolution that can be achieved. 8.3.1.2.3.1.1 PWM Master Fader Resolution and Input Frequency Range The PWM input frequency range is 100 Hz to 20 kHz. To achieve the full 11-bit maximum resolution of PWM duty cycle to the code, the input PWM duty cycle must be ≥ 11 bits, and the PWM sample period (1 / fSAMPLE) must be smaller than the minimum PWM input pulse duration. Figure 9 shows the possible brightness code resolutions based on the input PWM frequency. 16 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Feature Description (continued) 12 Sample Frequency = 10 MHz PWM Resolution (Bits) 11 10 9 8 7 6 0.1 1 PWM Frequency (kHz) 10 20 D001 PWM Master Fader Hysteresis To prevent jitter on the input PWM signal from feeding through the PWM path and causing oscillations in the LED current, the LP5569 device offers seven selectable hysteresis settings. The hysteresis works by forcing a specific number of 11-bit LSB code transitions to occur in the input duty cycle before the LED current changes. Table 1 describes the hysteresis. The hysteresis only applies during a change in direction of brightness currents. Once the change in direction has taken place, the PWM input must overcome the required LSB(s) of the hysteresis setting before the brightness change takes effect. Once the initial hysteresis has been overcome and the direction in brightness change remains the same, the PWM-to-current response changes with no hysteresis. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 17 ADVANCE INFORMATION Figure 9. PWM Resolution vs PWM Input Frequency LP5569 SNVSAP8 – JULY 2017 www.ti.com Feature Description (continued) Table 1. PWM Input Hysteresis HYSTERESIS SETTING (0x80 bits [2:0]) MIN. CHANGE IN PWM PULSE DURATION (Δt) REQUIRED TO CHANGE LED CURRENT, AFTER DIRECTION CHANGE (for fPWM < 11.7 kHz) MIN. CHANGE IN PWM DUTY CYCLE (ΔD) REQUIRED TO CHANGE LED CURRENT AFTER DIRECTION CHANGE 000 (0 LSB) 1 / (fPWM × 2047) 001 (1 LSB) 1 / (f PWM× 1023) 010 (2 LSB) 011 (3 LSB) MIN (ΔILED), INCREASE FOR INITIAL CODE EXPONENTIAL MODE LINEAR MODE 0.05% 0.3% 0.05% 0.1% 0.61% 0.1% 1 / (fPWM × 511) 0.2% 1.21% 0.2% 1 / (fPWM × 255) 0.39% 2.4% 0.39% 100 (4 LSB) 1 / (fPWM × 127) 0.78% 4.74% 0.78% 101 (5 LSB) 1 / (fPWM × 63) 1.56% 9.26% 1.56% 110 (6 LSB) 1 / (fPWM × 31) 3.12% 17.66% 3.12% ADVANCE INFORMATION tJITTER tJITTER D/fPWM 1/fPWM x x x D is tJITTER x fPWM or equal to #/6%¶V = ¨' [ 2048 codes. For 11-bit resolution, #LSBs is equal to a hysteresis setting of LN(#/6%¶V)/LN(2). For example, with a tJITTER of 1 µs and a fPWM of 5 kHz, the hysteresis setting should be: LN(1 µ s x 5 kHz x 2048)/LN(2) = 3.35 (4 LSBs). Copyright © 2016, Texas Instruments Incorporated Figure 10. PWM Hysteresis Example EN/PWM Input Timeout The EN/PWM input timeout feature has two operating modes as follows: • STANDBY state: EN/PWM low for > 15 ms shuts down the LP5569 device and returns to the DISABLED state (see Figure 13). 18 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.3.2 Charge Pump 8.3.2.1 Overview The LP5569 device includes a pre-regulated switched-capacitor charge pump with a programmable voltage multiplication of 1× or 1.5×. In 1.5× mode, by combining the principles of a switched-capacitor charge pump and a linear regulator, a regulated 4.5-V output is generated from the VIN input within its normal voltage range. A two-phase non-overlapping clock, generated internally, controls the operation of the charge pump. During the charge phase, both flying capacitors (CFLY1 and CFLY2) are charged from input voltage. In the pump phase that follows, the flying capacitors are discharged to the output. A traditional switched-capacitor charge pump operating in this manner uses switches with very low on-resistance, ideally 0 Ω, to generate an output voltage that is 1.5× the input voltage. The LP5569 device regulates the output voltage by controlling the resistance of the input-connected pass-transistor switches in the charge pump. The very low input-current ripple of the LP5569 device, resulting from internal pre-regulation, adds minimal noise to the input line. The core of the LP5569 device is very similar to that of a basic switched-capacitor charge pump: it is composed of switches and two flying capacitors (external). Regulation is achieved by controlling the current through the switches connected to the VIN pin (one switch in each phase). The regulation occurs before the voltage multiplication, giving rise to the term pre-regulation. It is pre-regulation that eliminates most of the inputcurrent ripple that is a typical and undesirable characteristic of a many switched-capacitor converters. 8.3.2.3 Input Current Limit The LP5569 device contains current-limit circuitry that protects the device in the event of excessive input current and/or output shorts to ground. The input current is limited to 600 mA (typical) when the output is shorted directly to ground. When the LP5569 device is current limiting, power dissipation in the device is likely to be quite high. In this event, thermal cycling should be expected. 8.3.2.4 Output Discharge The LP5569 device provides a feature to discharge the charge-pump output capacitor. The charge-pump output pulldown is not enabled when the MISC2 register (address 33h) CP_DIS_DISCH bit = 1. The charge pump output pulldown is enabled when the CP_DIS_DISCH bit = 0. The pulldown draws a minimal current from the output capacitor (TBD μA typical) when in the SHUTDOWN and STANDBY states. 8.3.2.5 Controlling the Charge Pump The charge pump is controlled with two CP_MODE bits in the MISC register (address 2Fh). When both of the bits are low, the charge pump is disabled, and output voltage is pulled down as described in Output Discharge. The charge pump can be forced to bypass mode, so the battery voltage is connected directly to the current sources; in 1.5× mode the output voltage is boosted to 4.5 V. In automatic mode, the charge-pump operation mode is determined by saturation of constant-current drivers described in LED Forward Voltage Monitoring. 8.3.2.6 LED Forward Voltage Monitoring When the charge-pump automatic-mode selection is enabled, voltages on the LED current sinks LED0 to LED8 are monitored. If the current sinks do not have enough headroom, the charge pump gain is set to 1.5× and remains in 1.5× mode until one of the following occurs: • The LP5569 device enters the SHUTDOWN state and goes through the INITIALIZATION or STARTUP states. • The charge-pump mode is forced to 1× mode via the MISC register. • The LP5569 device exits power save when the charge pump is in automatic mode (CP_MODE bits = 3h). A current-sink saturation monitor is selectable to one of four fixed voltage thresholds. The charge-pump gain is set to 1× when the battery voltage is high enough to supply all LEDs. Note: forward-voltage monitoring is disabled when the LEDx_CONTROL (addresses 07h–0Fh) register EXTERNAL_POWERx bit = 1. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 19 ADVANCE INFORMATION 8.3.2.2 Pre-Regulation LP5569 SNVSAP8 – JULY 2017 www.ti.com MODE VIN VOUT CHARGE PUMP LEDx PWM CURRENT SINK VOFS COMPARATOR ADVANCE INFORMATION CONTROL REGISTERS SATURATION MONITOR MODE CONTROL Copyright © 2016, Texas Instruments Incorporated Figure 11. Forward-Voltage-Monitoring and Gain-Control Block 8.3.3 Energy Efficiency 8.3.3.1 LED Powering The red LED (R) element of an RGB LED typically has a forward voltage of about 2 V. These LEDs can be powered directly from the input voltage because battery voltage is typically high enough to drive red LEDs over the whole operating voltage range. This allows driving of three RGB LEDs with good efficiency because the red LEDs do not load the charge pump. When the LEDx_CONTROL (address 07h–0Fh) register EXTERNAL_POWERx bit = 1, the LEDx output is configured for external supply, and forward-voltage monitoring is disabled. 8.3.4 Automatic Power-Save Mode When the LED outputs are not active, the LP5569 device is able to enter power-save mode automatically, thus lowering idle-current consumption down to TBD μA (typical). Automatic power-save mode is enabled when the MISC register (address 2Fh) POWERSAVE_EN bit = 1. Almost all analog blocks are powered down in power save, if an external clock signal is used. The charge pump enters the weak 1× mode using a passive currentlimited keep-alive switch, which keeps the output voltage at the battery level to reduce output-voltage transients. During program execution, the LP5569 device can enter power save if there is no PWM activity in any of the LED driver outputs. To prevent short power-save sequences during program execution, the device has an instruction look-ahead filter. In power-save mode, program execution continues without interruption. When an instruction that requires PWM activity is executed, a fast internal start-up sequence is started automatically. 8.3.5 Protection Features 8.3.5.1 Thermal Shutdown (TSD) The LP5569 device implements a thermal shutdown mechanism to protect the device from damage due to overheating. When the junction temperature rises to 150°C (typical), the device switches into shutdown mode. The LP5569 device releases thermal shutdown when the junction temperature of the device decreases to 130°C (typical). 20 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Thermal shutdown is most often triggered by self-heating, which occurs when there is excessive power dissipation in the device and/or insufficient thermal dissipation. LP5569 power dissipation increases with increased output current and input voltage. When self-heating brings on thermal shutdown, thermal cycling is the typical result. Thermal cycling is the repeating process where the part self-heats, enters thermal shutdown (where internal power dissipation is practically zero), cools, turns on, and then heats up again to the thermal shutdown threshold. Thermal cycling is recognized by a pulsing output voltage and can be stopped by reducing the internal power dissipation (reduce input voltage and/or output current) or the ambient temperature. If thermal cycling occurs under desired operating conditions, thermal dissipation performance must be improved to accommodate the power dissipation of the LP5569 device. The QFN package is designed to have excellent thermal properties that, when soldered to a PCB designed to aid thermal dissipation, allows the LP5569 device to operate under very demanding power-dissipation conditions. 8.3.5.2 Undervoltage Lockout (UVLO) 8.3.5.3 Power-On Reset (POR) The LP5569 device has internal comparators that monitor the voltages at VIN and V1P8. When VVIN is below TBD V or V1P8 is below TBD V, reset is active and the LP5569 device is in the DISABLED state. 8.3.5.4 LED Fault Detection The LP5569 device contains both open-LED and shorted-LED fault detection. These fault detections are designed to be used in production-level testing and not normal operation. For the fault flags to operate, they must be enabled via the MISC2 register (address 33h) LED_OPEN_TEST and LED_SHORT_TEST bits. The fault flags are shared by both open-LED and shorted-LED tests so only one can be enabled at a time. The default LED-fault status is ready in the LED_FAULT1 and LED_FAULT2 registers (addresses 81h and 82h). The following sections detail the proper procedure for reading back open and short faults in the LED strings. 8.3.5.4.1 Open LED The LP5569 device features one fault flag per LED, indicating one or more of the active low-voltage LED strings are open. An open in a low-voltage LED string is flagged if the voltage at the input to any active low-voltage current sink goes below the drv_headroom[1:0] setting in the MISC2 register. The procedure for detecting an open-LED fault is: 1. Set the LP5569 device in the STANDBY state. 2. Configure the charge pump in the 1.5× mode. 3. Set the LED_OPEN_TEST bit = 1 in the MISC2 register (address 33h). 4. Set the chip_en bit = 1 in the CONTROL register (address 0h) with the LP5569 device in the NORMAL state. 5. Wait at least 500 µs. 6. Enable all LEDs, and set all LEDs to 100% brightness. 7. Wait at least 500 µs. 8. Check the fault status of the LED_FAULT1 and LED_FAULT2 registers. 9. Set the LED_OPEN_TEST bit = 0 in the MISC2 register (address 33h). 10. Set all LEDs to 0% brightness. 8.3.5.4.2 Shorted LED The LP5569 device features one fault flag per LED, indicating when any active LED is shorted (anode to cathode). During the LED short test, the charge pump is forced to the 1× mode. A short in the LED is determined when the LED voltage (VIN – LED VF) falls below 1 V. The procedure for detecting a shorted-LED fault is: 1. Set the LP5569 device in the STANDBY state. 2. Configure the charge pump in the 1× mode, set LED PWM (0x16-0x1E) and LED current (0x22–0x2A) to maximum value. depending on the LED channel being tested. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 21 ADVANCE INFORMATION The LP5569 device has an internal comparator that monitors the voltage at VIN. If the input voltage drops to 2.2 V (nominal), undervoltage is detected, the LED outputs and the charge pump shut down, and the corresponding fault bit is set in the fault register. Hysteresis is implemented for the threshold level to avoid continuous triggering of a fault when the threshold is reached. If the input voltage rises above 2.3 V (nominal), the LP5569 device resumes normal operation. LP5569 SNVSAP8 – JULY 2017 www.ti.com 3. Set the chip_en bit in the CONFIG register = 1 and the LP5569 device to the NORMAL state. 4. Wait at least 500 µs. 5. Enable all LEDs, and set brightness to 100%. 6. Set the LED_SHORT_TEST bit = 1 in the MISC2 register (address 33h). 7. Wait at least 500 µs. 8. Check the fault status of the LED Fault1 and LED Fault2 registers. 9. Set the LED_SHORT_TEST bit = 0 in in the MISC2 register (address 33h). 10. Set all LEDs to 0% brightness. 8.3.6 Clock Generation and Synchronization The LP5569 device can generate a 32-kHz clock signal and use it for synchronizing multiple devices. The CLK pin is configured as an input by default. When the EN_CLK_OUT bit = 1 in the IO_CONTROL register (address 3Dh) the LP5569 device drives the CLK pin using its 32-kHz oscillator. VIN 1.8V ADVANCE INFORMATION SCL SDA Set up as Clock master VIN 1.8V VIN 1.8V VIN 1.8V V1P8 V1P8 V1P8 V1P8 VIN VIN VIN VIN ADDR ADDR ADDR ADDR SCL SDA SCL SDA SCL SDA SCL SDA SCL SDA SCL SDA SCL SDA CLK CLK CLK CLK GPIO/TRIG/INT GPIO/TRIG/INT GPIO/TRIG/INT GPIO/TRIG/INT VIN Copyright © 2016, Texas Instruments Incorporated Figure 12. Synchronizing Multiple Devices Using the Clock Generator 8.3.7 GPIO/TRIG/INT Multifunctional I/O The GPIO/TRIG/INT pin is configured by the GPIO_CONFIG bits in the IO_CONTROL register (address 3Dh). The default configuration for this pin is the INT function. 22 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.4 Device Functional Modes 8.4.1 Modes Of Operation CP_LED_STARTUP: LED drivers are enabled. The device enters NORMAL after 300 µs (typical). CP_ON: Charge pump is enabled per CP_MODE bits, and charge-pump output voltage is within regulation after 300 µs (typical). CP_WAKEUP After the power-save condition is no longer met, the device enters the CP_WAKEUP state. The device enters CP_LED_STARTUP after 100 µs (typical). DISABLED: The device enters this state when logic receives POR or the EN/PWM pin is low for longer than 15 ms (typical). The internal logic is disabled in this state to minimize power consumption. The mode changes to INITIALIZATION when a rising edge has been detected in the EN/PWM pin and TSD is inactive. NORMAL: After startup has been completed the device enters the NORMAL mode. Users can drive LEDs and execute programs in this mode. OTP_READ - SRAM_INIT: The OTP_READ mode is followed by SRAM_INIT, which initializes SRAM. When initialization is complete, the device enters the STANDBY state. If VIN is below VUVLO while in this state, the device returns to INITIALIZATION. POWER SAVE: In POWER SAVE mode, analog blocks are disabled to minimize power consumption. After the power-save condition is no longer met, the device exits the POWER SAVE mode. See Automatic Power-Save Mode section for further information. INTERNAL POWER SHUTDOWN: In INTERNAL POWER SHUTDOWN mode, the internal LDO is shutdown. SHUTDOWN: During shutdown, the charge-pump and LED drivers are disabled. The device enters the shutdown state if disabled (chip_en = 0) or if a TSD fault is active. The device enters STANDBY after 1 ms (typical). STANDBY: The STANDBY mode is a low-power-consumption mode and is entered if the register bit chip_en is zero and Reset is not active. Register and SRAM access is available via I2C. START-UP: During a fault condition, device operation is halted, and the device waits in STARTUP mode until no faults are present. UVLO detection returns the device to STARTUP from all states with the exception of STANDBY, INITIALIZATION, and OTP_READ - SRAM_INIT. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 23 ADVANCE INFORMATION INITIALIZATION: This state duration is 2 ms (typical). The device enters the OTP_READ–SRAM_INIT state if VVIN is above the VUVLO level, and the temperature is below TSD. If VVIN is below VUVLO or TSD is active, the device remains in INITIALIZATION unless EN/PWM is low for 15 ms (typical), then the device enters the DISABLED mode. LP5569 SNVSAP8 – JULY 2017 www.ti.com Device Functional Modes (continued) ADVANCE INFORMATION Figure 13. LP5569 Function State Machine 24 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.5 Programming 8.5.1 I2C Interface The I2C-compatible two-wire serial interface provides access to the programmable functions and registers on the device. This protocol uses a two-wire interface for bidirectional communications between the devices connected to the bus. The two interface lines are the serial data line (SDA) and the serial clock line (SCL). Every device on the bus is assigned a unique address and acts as either a master or a slave depending on whether it generates or receives the serial clock, SCL. The SCL and SDA lines should each have a pullup resistor placed somewhere on the line and remain HIGH even when the bus is idle. Note: the CLK pin is not used for serial bus data transfer. 8.5.1.1 Data Validity The data on SDA line must be stable during the HIGH period of the clock signal (SCL). In other words, state of the data line can only be changed when clock signal is LOW. SCL data change allowed data valid data change allowed data valid data change allowed Figure 14. Data Validity Diagram 8.5.1.2 Start and Stop Conditions START and STOP conditions classify the beginning and the end of the data transfer session. A START condition is defined as the SDA signal transitioning from HIGH to LOW while SCL line is HIGH. A STOP condition is defined as the SDA transitioning from LOW to HIGH while SCL is HIGH. The bus master always generates START and STOP conditions. The bus is considered to be busy after a START condition and free after a STOP condition. During data transmission, the bus master can generate repeated START conditions. First START and repeated START conditions are functionally equivalent. 8.5.1.3 Transferring Data Every byte put on the SDA line must be eight bits long, with the most significant bit (MSB) being transferred first. Each byte of data must be followed by an acknowledge bit. The acknowledge related clock pulse is generated by the master. The master releases the SDA line (HIGH) during the acknowledge clock pulse. The LP5569 device pulls down the SDA line during the 9th clock pulse, signifying an acknowledge. The LP5569 device generates an acknowledge after each byte has been received. There is one exception to the acknowledge after every byte rule. When the master is the receiver, it must indicate to the transmitter an end of data by not-acknowledging (negative acknowledge) the last byte clocked out of the slave. This negative acknowledge still includes the acknowledge clock pulse (generated by the master), but the SDA line is not pulled down. After the START condition, the bus master sends a device address. This address is seven bits long followed by an eighth bit which is a data direction bit (READ or WRITE). For the eighth bit, a 0 indicates a WRITE, and a 1 indicates a READ. The second byte selects the register to which the data is to be written. The third byte contains data to write to the selected register. 8.5.1.4 I2C Slave Addressing The LP5569 slave address is defined by connecting GND, SCL, SDA, or VIN to the ADDR pin. A total of four slave addresses can be realized by combinations when GND, SCL, SDA, or VIN is connected to the ADDR pin (see Table 2). The LP5569 device is available in two versions (LP5569 and LP5569A). Each version has four possible address settings, which allows up to eight devices sharing the same I2C bus as shown in Table 2. Values are in 7-bit slave ID format. The LP5569 device responds to slave address 40h regardless of the setting of the ADDR pin and device version. Global writes to address 40h can be used for configuring all devices simultaneously. The LP5569 device supports global read using slave address 40h; however, the data read is only valid if all LP5569 devices on the I2C bus contain the same value in the register read. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 25 ADVANCE INFORMATION SDA LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 2. LP5569 Slave-Address Combinations SLAVE ID VERSION ADDR 32h and 40h GND 33h and 40h SCL 34h and 40h SDA 35h and 40h VIN 42h and 40h A GND 43h and 40h A SCL 44h and 40h A SDA 45h and 40h A VIN MSB ADR6 bit7 LSB ADR5 bit6 ADR4 bit5 ADR3 bit4 ADR2 bit3 ADR1 bit2 ADR0 bit1 R/W bit0 2 I C Slave Address (chip address) ADVANCE INFORMATION Figure 15. LP5569 Chip Address 8.5.1.5 Control Register Write Cycle 1. The master device generates a start condition. 2. The master device sends the slave address (7 bits) and the data direction bit (R/W = 0). 3. The slave device sends an acknowledge signal if the slave address is correct. 4. The master device sends the control register address (8 bits). 5. The slave device sends an acknowledge signal. 6. The master device sends the data byte to be written to the addressed register. 7. The slave device sends an acknowledge signal. 8. If the master device sends further data bytes, the control register address of the slave is incremented by 1 after the acknowledge signal. In order to reduce program load time, the LP5569 device supports address auto incrementation. The register address is incremented after each 8 data bits. For example, the whole program memory page can be written in one serial-bus write sequence. 9. The write cycle ends when the master device creates a stop condition. ack from slave ack from slave ack from slave start MSB Chip Addr LSB w ack MSB Register Addr LSB ack MSB Data LSB ack start id = 32h w ack addr = 40h ack address 40h data ack stop SCL SDA stop Figure 16. Write Cycle (W = Write; SDA = 0) 8.5.1.6 1. The 2. The 3. The 4. The 5. The 26 Control Register Read Cycle master device generates a start condition. master device sends the slave address (7 bits) and the data direction bit (R/W = 0). slave device sends an acknowledge signal if the slave address is correct. master device sends the control register address (8 bits). slave device sends an acknowledge signal. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 6. The master device generates a repeated-start condition. 7. The master device sends the slave address (7 bits) and the data direction bit (R/W = 1). 8. The slave device sends an acknowledge signal if the slave address is correct. 9. The slave device sends the data byte from the addressed register. 10. If the master device sends an acknowledge signal, the control register address is incremented by 1. The slave device sends the data byte from the addressed register. 11. The read cycle ends when the master device does not generate an acknowledge signal after a data byte and generates a stop condition. ack from slave start MSB Chip Addr LSB w ack from slave MSB Register Addr LSB repeated start ack from slave data from slave nack from master rs MSB Chip Address LSB rs id = 32h r MSB Data LSB stop address 3Fh data nack stop SCL start id =32h w ack address = 3Fh ack r ack ID = chip address = 32h for the LP5569 device Figure 17. Read Cycle (R = Read; SDA = 1) 8.5.1.7 Auto-Increment Feature The auto-increment feature allows writing several consecutive registers within one transmission. Every time an 8bit word is sent to the LP5569 device, the internal address index counter is incremented by 1, and the next register is written. The auto-increment feature is enabled by default and can be disabled by setting the EN_AUTO_INCR bit = 0 in the MISC register (address 2Fh). 8.5.2 Execution Engine Programming The LP5569 device provides flexibility and programmability for dimming and sequencing control. Each LED can be controlled directly and independently through the serial bus, or LED drivers can be grouped together for preprogrammed flashing patterns. The LP5569 device has three independent program execution engines, so it is possible to form three independently programmable LED banks. LED drivers can be grouped based on their function so that, for example, the first bank of drivers can be assigned to the keypad illumination, the second bank to the funlights, and the third group to the indicator LED(s). Each bank can contain 1 to 9 LED driver outputs. Instructions for program execution engines are stored in the program memory. The total amount of the program memory is 255 instructions, and the user can allocate the instructions as required by the engines; however, a single engine can only allocate up to ½ the memory (128 instructions). 8.5.2.1 SRAM Memory The LP5569 device has internal SRAM for the three LED engines. SRAM can contain up to 255 16-bit instructions (addresses 0 through 254) with a maximum size of 128 16-bit instructions for a single engine. SRAM memory address 255 is reserved and must not be allocated to any LED engine. Memory allocation among the three LED engines is done dynamically, so that each LED engine has a separate start address and program counter (PC) that are set in the ENGINEx_PROG_START registers (addresses 4Bh, 4Ch, 4Dh) and ENGINEx_PC registers (addresses 30h, 31h, 32h). This allows flexible memory allocation among the LED engines, and multiple engines can recall the same memory address. The program counter uses relative memory addressing; when the PC is zero the engine is executing an instruction at its start address. The SRAM is loaded via the I2C interface in 33-byte-length pages. The first byte contains the program-memorypage-select (address 4Fh) followed by up to 32 bytes containing compiled program execution engine instructions (address 50h thru 6Fh). Engines must be set to load the program mode (register 01h) before writing the SRAM. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 27 ADVANCE INFORMATION SDA LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.5.2.2 Variables The LP5569 device has four LED engine variables which are divided into local and global variables. Variables A and B are engine-specific local variables and each of the three engines has separate A and B variables, so there is a total of six A and B variables. Variable A can be read and written via I2C registers 42h–44h. Local variable B is not available via I2C and can only be accessed by the LED engine. Variables C and D are global variables which are shared by all three LED engines. Global variable C is not available via I2C and can only be accessed by the LED engines. The D variable can be read and written via I2C register 3Eh. Variables are referenced to instructions with 2 bits, see Table 3 for details. Note that some instructions (ld, add, sub) can use only variables A, B, and C as target variables. Table 3. LED Engine Variables VARIABLE BITS LOCAL/GLOBAL A 00 Local B 01 Local C 10 Global D 11 Global 8.5.2.3 Instruction Set ADVANCE INFORMATION The LP5569 device has three independent programmable execution engines. All the program execution engines have their own program memory block allocated by the user. The maximum program size for any one engine is limited to 128 locations. At least one engine must be in the load-program mode with the engine-busy bit cleared before writing to any program memory address. Program execution is clocked with a 32.768-kHz clock. Instruction execution takes sixteen clock cycles (488 μs). This applies also to ramp and wait instructions where execution time is a multiple of 488 μs. This clock can be generated internally or an external clock can be supplied to the CLK pin. Using an external clock enables synchronization of LED timing to the external clock signal and is also more power-efficient. The supported instruction set is listed in Table 4 through Table 6. The LP5569 device is fully compatible with the LP5523 instruction set. A command compiler is available for easy sequence programming. With the command compiler it is possible to write sequences with simple ASCII commands, which are then converted to binary or hex format. Table 4. LED Driver Instructions INSTRUCTION USAGE COMPILER EXAMPLE ramp (1) Generate a programmable PWM ramp to mapped LED driver(s) from the current value to a new value in steps of +1 or –1 with programmed step time. ramp 0.6, 255; ramp to full scale in 0.6 s ramp (2) ramp var1, prescale, var2 {Punctuation here? only need space ] var1 is a variable (ra, rb, rc, rd); prescale is a boolean constant (pre = 0 or pre = 1); Var2 is a variable (ra, rb, rc, rd). Output PWM with increasing or decreasing duty cycle. ld ra, 31 ld rb, 255 ramp ra, pre=0, +rb; ramp up to full scale over 3.9 s. set_pwm (1) Set PWM or current value to mapped LED driver(s), effective immediately. set_pwm 128; set duty cycle to 50%: set_pwm (2) set_pwm var1 {Punctuation here? Only space] Var1 is a variable (ra, rb, ld rc, 128; set_pwm rc; set PWM duty cycle rc, rd). Generate a continuous PWM output. to 50%. wait Wait for a given time. Time span is from 0.488 ms to 484 ms. (1) (2) wait 0.4; wait for 0.4 s: This opcode is used with numerical operands. This opcode is used with variables. Table 5. LED Mapping Instructions INSTRUCTION (1) ACT load_start map_start (1) (2) 28 x (2) USAGE COMPILER EXAMPLE Define the LED mapping-table start address in SRAM. Starting address at 01h: load_start 01h; Starting address at 01h Define the LED mapping-table start address in SRAM and set that address active. map_start 01h ;Starting address at 01h These instructions are compatible with the LP5523 and LP55231 mux_* LED mapping instructions. x - The instruction activates LED mapping to the driver when the instruction is executed. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 5. LED Mapping Instructions (continued) load_end Define the last address of the LED mapping table in SRAM. Last address at 03h: load_end 03h ; Last address at 03h map_sel x Connect one LED driver to the LED engine. map_sel 0 ; Select LED0 as output map_clr x Clear the LED driver mappings in an engine map_clr map_next x Select the next address in the LED mapping table and set that address active. map_next map_prev x Select the previous address in the LED mapping table and set that address active. map_prev load_next Move the mapping-table pointer to the next address. load_next load_prev Move the mapping-table pointer to the previous address. load_prev load_addr Set the mapping-table pointer to assigned address. load_addr 02h ; Set pointer to 02h map_addr x Set the mapping-table pointer to assigned address and set that address map_addr 02h ; Set mapping to active. 02h INSTRUCTION USAGE COMPILER EXAMPLE rst Reset program counter to zero. Reset branch (1) Branch to address. The number of loops can be set to a value or do an infinite loop. Do 20 loops to loop1 label: branch 20, loop1 branch (2) Branch to address. The loop count can be one of four variables A, B, C, or D. Do 20 loops to loop1 label: ld ra, 30 branch ra, loop1 int Send an interrupt to the host system by pulling the GPIO/TRIG/INT int pin low. end End program execution and reset the program counter to zero. Can also the set GPIO/TRIG/INT pin high and/or reset mapped LED PWM and engine LED mapping. End and reset LEDs: trigger Wait or send trigger. The trigger can be sent or received from an external pin or another engine. Wait for external trigger: trigger w{e} trig_clear (3) Clear pending triggers. trig_clear jne Jump if not equal. A != B Jump to loop1 if A != B: jne ra, rb, loop1 jl Jump if less. A < B Jump to loop1 if A < B : jl ra, rb, loop1 jge Jump if greater or equal. A ≥ B Jump to loop1 if A >= B: jge ra, rb, loop1 je Jump if equal. A = B Jump to loop1 if A = B: je ra, rb, loop1 (1) (2) (3) This opcode is used with numerical operands. This opcode is used with variables. This is a new instruction, not available in LP5523 or LP55231 Table 7. Data Transfer and Arithmetic INSTRUCTION USAGE COMPILER EXAMPLE ld (1) Assign a value to a variable. Load value 33h to local variable A: ld ra, 33 add (1) Add the 8-bit value to the variable value. Add value 11h to local variable A: add ra, 11 add (2) Add the value of variable 3 (global variable D) to the value of variable 2 (global variable C) and store the result in variable 1 (local variable A). Add the value in rd to rc and store in ra: add ra, rc, rd sub (1) Subtract the 8-bit value from the variable value. Subtract value 11h from local variable A: sub ra, 11 sub (2) Subtract the value of variable 3 (global variable D) from the value of variable 2 (global variable C) and store the result in variable 1 (local variable A). Subtract the value in rd from rc and store in ra: sub ra, rc, rd (1) (2) This opcode is used with numerical operands. This opcode is used with variables. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 29 ADVANCE INFORMATION Table 6. Branch Instructions LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.5.2.4 LED Driver Instructions Table 8. LP5569 LED Driver Instructions Bit [15] Bit [14] ramp (1) 0 prescale ramp (2) 1 0 0 0 0 1 0 0 set_pwm (1) 0 1 0 0 0 0 0 0 set_pwm (2) 1 0 0 0 0 1 0 wait 0 prescale INST. (1) (2) Bit [13] Bit [12] Bit [11] Bit [10] Bit [9] step time Bit [8] Bit [7] Bit [6] Bit [5] sign time Bit [4] Bit [3] Bit [2] Bit [1] Bit [0] no. of increments 0 0 prescale 0 0 1 1 0 0 0 0 0 0 0 0 0 0 sign step time no. of increments PWM value PWM value 0 0 This opcode is used with numerical operands. This opcode is used with variables. 8.5.2.4.1 Ramp ADVANCE INFORMATION This is the instruction useful for smoothly changing from one PWM value into another PWM value on the LED0 to LED8 outputs — in other words, generating ramps with a negative or positive slope. The LP5569 device allows the programming of very fast and very slow ramps using only a single instruction. Full ramp 0 to 255 ramp time ranges from 124 ms to 4 s. The ramp instruction generates a PWM ramp, using the effective PWM value as a starting value. At each ramp step the output is incremented or decremented by 1, unless the number of increments is 0. The time span for one ramp step is defined with the prescale bit [14] and step-time bits [13:9]. The ramp instruction controls the eight most significant bits (MSB) of the PWM values and the remaining bits are interpolated as ramp mid-values internally for smoother transition. Prescale = 0 sets a 0.49-ms cycle time and prescale = 1 sets a 15.6-ms cycle time; so the minimum time span for one step is 0.49 ms (prescale × step time span = 0.49 ms × 1) and the maximum time span is 15.6 ms × 31 = 484 ms/step. If all the step-time bits [13:9] are set to zero, the output value is incremented or decremented during one prescale on the whole time cycle. The number-of-increments value defines how many steps are taken during one ramp instruction: the increment maximum value is 255, which corresponds to an increment from zero value to the maximum value. If PWM reaches the minimum or maximum value (0 or 255) during the ramp instruction, the ramp instruction is executed to the end regardless of saturation. This enables ramp instruction to be used as a combined ramp-and-wait instruction. Note: the ramp instruction is a wait instruction when the increment bits [7:0] are set to zero. Programming ramps with variables is very similar to programming ramps with numerical operands. The only difference is that step time and number of increments are captured from variable registers when the instruction execution is started. If the variables are updated after starting the instruction execution, it has no effect on instruction execution. Again, at each ramp step the output is incremented or decremented by one unless the step time is 0 or the number of increments is 0. The time span for one step is defined with the prescale and step-time bits. The step time is defined with variable A, B, C, or D. Variable A is set by an I2C write to the engine 1, 2, or 3 variable A register or the ld instruction, variables B and C are set with the ld instruction, and variable D is set by an I2C write to the variable D register. Setting the EXP_EN bit of registers 07h–0Fh high or low sets the exponential (1) or linear ramp (0). By using the exponential ramp setting, the visual effect appears like a linear ramp to the human eye. Table 9. Ramp Instructions Bit [15] Bit [14] ramp (1) 0 prescale ramp (1) 1 0 INST. (1) 30 Bit [13] Bit [12] Bit [11] Bit [10] Bit [9] step time 0 0 0 Bit [8] Bit [7] Bit [6] Bit [5] sign 1 0 0 Bit [4] Bit [3] Bit [2] Bit [1] Bit [0] no. of increments 0 0 prescale sign step-time variable no.-ofincrements variable Compatible with LP5523 and LP55231 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 PARAMETER NAME NUMERIC OR VARIABLE prescale VALUE (d) Numeric sign Numeric Numeric step time no. of increments DESCRIPTION 0 32.7 kHz / 16 ≥ 0.488 ms cycle time 1 32.7 kHz / 512 ≥ 15.625 ms cycle time 0 Increase PWM output 1 Decrease PWM output 1–31 Variable 0–3 Numeric 0–255 Variable 0–3 One ramp increment done is in step time × prescale Value in the variable A, B, C, or D must be from 1 to 31 for correct operation. The number of ramp cycles. Variables A to D as input. An example of generating a 1.5-s ramp from PWM value 140 (approximately 55%) to 148 (approximately 58%). The ramp instruction uses relative values, so in this example we must ramp 8 steps up, as shown in Figure 18. The parameters for the RAMP instruction are: • Positive ramp → sign = 0 (increase by 1) • Step from 140 to 148 → no. of increments = 8 • Ramp time 1.5 s → 1.5 s / 8 steps = 187.5 ms/step • Prescale = 1 → 15.625 ms cycle time • 187.5 ms / 15.625 ms = 12 → step time = 12 DIMMING CONTROL 148 147 STEP TIME SPAN = 187.5 ms 146 145 144 143 142 RAMP INSTRUCTION 141 140 375 0 0 1 2 750 3 4 1500 TIME ELAPSED (ms) 1125 5 6 7 8 STEP COUNT Figure 18. Example of Ramp Instruction 8.5.2.4.3 Set_PWM This instruction is used for setting the PWM value on outputs LED0 to LED8 without any ramps. Set the PWM output value from 0 to 255 with PWM value bits [7:0]. Instruction execution takes 16 32-kHz clock cycles (= 488 µs). NAME PWM value (1) VALUE (d) 0–255 DESCRIPTION PWM output duty cycle 0–100% 0 = local variable A variable (2) 0–3 1 = local variable B 2 = global variable C 3 = global variable D (1) (2) Valid for numerical operands Valid for variables 8.5.2.4.4 Wait When a wait instruction is executed, the engine is set in wait status, and the PWM values on the outputs are frozen. Note: A wait instruction with prescale and time = 0 is invalid and is executed as rst. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 31 ADVANCE INFORMATION 8.5.2.4.2 Ramp Instruction Application Example LP5569 SNVSAP8 – JULY 2017 www.ti.com NAME VALUE (d) prescale time DESCRIPTION 0 Divide master clock (32.7 kHz) by 16 which means 0.488 ms cycle time. 1 Divide master clock (32.7 kHz) by 512 which means 15.625 ms cycle time. 1–31 Total wait time is = (time) × (prescale). Maximum 484 ms, minimum 0.488 ms. 8.5.2.5 LED Mapping Instructions These instructions define the engine-to-LED mapping. The mapping information is stored in a table, which is stored in the lower half of SRAM (program memory of the LP5569 device). The LP5569 device has three program execution engines which can be mapped to nine LED drivers. One engine can control one or multiple LED drivers. Execution engine 1 has priority over execution engines 2 and 3, with execution engine 2 having priority over execution engine 3. If an LED is mapped to more than one execution engine, the higher-priority engine controls the LED. I2C 12-bit 8-bit [11:4] Engine 1 Engine 2 Engine 3 8-bit 9 x Current DAC 9 x PWM Generator Master Fader PWM Register 0 PWM Register 1 PWM Register 2 PWM Register 3 PWM Register 4 PWM Register 5 PWM Register 6 PWM Register 7 PWM Register 8 Exponential Converter EN=0/1 8-bit [11:4] Mapping Table ADVANCE INFORMATION LED mapping instructions can be divided to two groups: • Instructions that activate LED mapping to a certain row of the table (map_ instructions). • Instructions that DO NOT activate the actual LED mapping but just shift the mapping-table pointer (load_ instructions). Activating instructions are map_start, map_sel, map_clr, map_next, map_prev and map_addr. Instructions load_start, load_end, load_next, load_prev and load_addr do not activate the LED mapping. Mapping table and master fader bits can be read from I2C registers 70h–75h but are written only via engine instructions. When an engine is actively mapped to the LEDs, the engine takes over the LED PWM control, and PWM control registers have no effect. Register control is returned when the engine is mapped to another LED. See Figure 19 for a simplified diagram of LED-engine data flow. The engine does not push a new PWM value to the LED driver output before the set_pwm or ramp instruction is executed. If the mapping has been released from an LED, the value in the PWM register still controls the LED brightness, and PWM register value remains in the last engine state. Actual PWM control resolution of the LED engines is 12 bits, but only the 8 highest bits are visible in the I2C registers. Also, engine commands use the 8 high bits for control, and the 4 low bits are used for smoother ramps. 12-bit LED0 LED1 LED2 LED3 LED4 LED5 LED6 LED7 LED8 12-bit PWM 8-bit Current 12-bit Copyright © 2016, Texas Instruments Incorporated Figure 19. LED Data Flow All LED mapping instructions use the SRAM bit to LEDx pin mapping as shown in Table 10. 32 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 10. LED Mapping Bits in SRAM Bit [15] Bit [14] Bit [13] Bit [12] Bit [11] Bit [10] Bit [9] Bit [8] Bit[7 ] Bit[6] Bit[5 ] Bit[4] Bit[3] Bit[2] Bit[1] Bit 0 – – – – – – 0 LED8 LED 7 LED6 LED 5 LED4 LED3 LED2 LED1 LED0 LED mapping table in SRAM Bit[9] is to enable master fader control by the engine. If this bit is set to 1 in engine 1, then master fader 1 is enabled. Table 11. LP5569 LED Mapping Instructions (1) Bit [14] Bit [13] Bit [12] Bit [11] Bit [10] Bit [9] Bit [8] Bit [7] Bit [6] Bit [5] Bit [4] Bit [3] Bit [2] Bit [1] Bit [0] (2) load_start 1 0 0 1 1 1 1 0 0 SRAM addresses 0–127 map_start 1 0 0 1 1 1 0 0 0 SRAM addresses 0–127 (2) load_end 1 0 0 1 1 1 0 0 1 SRAM addresses 0–127 (2) map_sel 1 0 0 1 1 1 0 1 0 LED select (3) map_clr 1 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 map_next 1 0 0 1 1 1 0 1 1 0 0 0 0 0 0 0 map_prev 1 0 0 1 1 1 0 1 1 1 0 0 0 0 0 0 load_next 1 0 0 1 1 1 0 1 1 0 0 0 0 0 0 1 load_prev 1 0 0 1 1 1 0 1 1 1 0 0 0 0 0 1 (2) load_addr 1 0 0 1 1 1 1 1 0 SRAM addresses 0–127 map_addr 1 0 0 1 1 1 1 1 1 SRAM addresses 0–127 (2) (1) (2) (3) ADVANCE INFORMATION INST. Bit [15] These instructions are compatible with LP5523 and LP55231 mux_* LED mapping instructions. Absolute address Only values 1 through 9 are valid, any other value results in no LED driver selected. 8.5.2.5.1 LOAD_START and LOAD_END The load_start and load_end instructions define the mapping table locations in SRAM. NAME SRAM address VALUE (d) 0–127 DESCRIPTION Mapping table start or end address restricted to lower half of memory. 8.5.2.5.2 MAP_START The map_start instruction defines the mapping table start address in the memory, and the first row of the table is activated (mapped) at the same time. NAME SRAM address VALUE (d) 0–127 DESCRIPTION Mapping table start address restricted to lower half of memory. 8.5.2.5.3 MAP_SEL With the map_sel instruction one, and only one, LED driver can be connected to a program execution engine. Connecting multiple LEDs to one engine is done with the mapping table. After the mapping has been released from an LED, the PWM register value still controls the LED brightness. NAME VALUE (d) DESCRIPTION 0 = no drivers selected 1 = LED1 selected LED select 0–127 2 = LED1 selected ... 9 = LED9 selected 10–127 = no drivers selected Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 33 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.5.2.5.4 MAP_CLR The map_clr instruction clears engine-to-driver mapping. After the mapping has been released from an LED, the PWM register value still controls the LED brightness. 8.5.2.5.5 MAP_NEXT This instruction sets the next row active in the mapping table each time it is called. For example, if the second row is active at this moment, after the map_next instruction call the third row is active. If the mapping table end address is reached, activation rolls to the mapping-table start address the next time when the map_next instruction is called. The engine does not push a new PWM value to the LED driver output before the set_pwm or ramp instruction is executed. If the mapping has been released from an LED, the value in the PWM register still controls the LED brightness. 8.5.2.5.6 LOAD_NEXT Similar to the map_next instruction with the exception that no mapping is set. The index pointer is set to point to the next row and the engine-to-LED-driver connection is not updated. 8.5.2.5.7 MAP_PREV ADVANCE INFORMATION This instruction sets the previous row active in the mapping table each time it is called. For example, if the third row is active at this moment, after the map_prev instruction call the second row is active. If the mapping table start address is reached, activation rolls to the mapping table end address next time the map_prev instruction is called. The engine does not push a new PWM value to the LED driver output before the set_pwm or ramp instruction is executed. If the mapping has been released from an LED, the value in the PWM register still controls the LED brightness. 8.5.2.5.8 LOAD_PREV Similar to the map_prev instruction with the exception that no mapping is set. The index pointer is set to point to the previous row and the engine-to-LED-driver connection is not updated. 8.5.2.5.9 MAP_ADDR The map_addr instruction sets the index pointer to point to the mapping table row defined by bits [6:0] and sets the row active. The engine does not push a new PWM value to the LED driver output before the set_pwm or ramp instruction is executed. If the mapping has been released from an LED, the value in the PWM register still controls the LED brightness. NAME SRAM address VALUE (d) 0–127 DESCRIPTION SRAM address containing mapping data restricted to lower half of memory. 8.5.2.5.10 LOAD_ADDR The load_addr instruction sets the index pointer to point to the mapping table row defined by bits [6:0], but the row is not set active. NAME SRAM address VALUE (d) 0–127 DESCRIPTION SRAM address containing mapping data restricted to lower half of memory. 8.5.2.6 Branch Instructions 8.5.2.6.1 BRANCH The branch instruction is provided for repeating a portion of the program code several times. The branch instruction loads a step number value to the program counter. A loop count parameter defines how many times the instructions inside the loop are repeated. The step number is loaded into the PC when the instruction is executed. The PC is relative to the ENGINEx_PROG_START register setting. The LP5569 device supports nested looping, that is, a loop inside a loop. The number of nested loops is not limited. The instruction takes 16 32-kHz clock cycles. 34 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 12. LP5569 Branch Instructions rst Bit [15] Bit [14] Bit [13] Bit [12] Bit [11] Bit [10] 0 0 0 Bit [9] Bit [8] 0 Bit [6] Bit [5] Bit [4] Bit [3] Bit [2] Bit [1] Bit [0] 0 0 0 (1) 1 0 1 branch (2) 1 0 0 0 0 1 1 int 1 1 0 0 0 1 0 0 0 0 0 end 1 1 0 int reset 0 0 0 0 0 0 branch 0 Bit [7] 0 0 0 loop count 0 0 0 0 step number step number wait for trigger trigger 0 loop count 0 0 0 0 0 0 0 0 0 0 send a trigger 1 1 1 ext trig X (3) X (3) E3 E2 E1 ext trig X (3) X (3) E3 E2 E1 4) 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 jne 1 0 0 0 1 0 0 Number of instructions to be skipped if the operation returns true variable 1 variable 2 jl 1 0 0 0 1 0 1 Number of instructions to be skipped if the operation returns true variable 1 variable 2 jge 1 0 0 0 1 1 0 Number of instructions to be skipped if the operation returns true variable 1 variable 2 je 1 0 0 0 1 1 1 Number of instructions to be skipped if the operation returns true variable 1 variable 2 trig_clear ( (1) (2) (3) (4) 0 0 This opcode is used with numerical operands. This opcode is used with variables. X means don't care. This is a new instruction, not available in LP5523 or LP55231 NAME VALUE (d) DESCRIPTION loop count (1) 0–63 The number of loops to be done. 0 means an infinite loop. step number 0–127 The step number to be loaded to program counter. Selects the variable for loop count value. Loop count is loaded with the value of the variable defined below. loop count (2) 0 = Local variable A 0–3 1 = Local variable B 2 = Global variable C 3 = Global variable D (1) (2) Valid for numerical operands. Valid for variables. 8.5.2.6.2 INT Send an interrupt to the processor by pulling the INT pin down and setting the corresponding status bit high. Interrupts can be cleared by reading the interrupt bits in the ENGINE_STATUS register at address 3Ch. 8.5.2.6.3 RST The rst instruction resets the program counter register (address 30h, 31h, or 32h) and continues executing the program from the program the start address defined in register addresses 4Bh–4Dh. The instruction takes 16 32kHz clock cycles. Note that default value for all program memory registers is 0000h, which is the rst instruction. 8.5.2.6.4 END End program execution. The instruction takes 16 32-kHz clock cycles. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 35 ADVANCE INFORMATION INST. LP5569 SNVSAP8 – JULY 2017 NAME int reset www.ti.com VALUE (d) DESCRIPTION 0 No interrupt is sent. PWM register values remain intact. 1 Reset program counter value to 0 and send interrupt to processor by pulling the INT pin down and setting the corresponding status bit high to notify that the program has ended. PWM register values remain intact. Interrupts can be cleared by reading the interrupt bits in STATUS/INTERRUPT register at address 3Ch. 0 Reset program counter value to 0 and hold. PWM register values remain intact. 1 Reset program counter value to 0 and hold. PWM register values of the non-mapped drivers remain. PWM register values of the mapped drivers are set to 0000 0000b. 8.5.2.6.5 TRIGGER and TRIG_CLEAR ADVANCE INFORMATION Wait-for-trigger or send-a-trigger instructions can be used to synchronize operation between the program execution engines. Sending a trigger instruction takes 16 32-kHz clock cycles and waiting for a trigger takes at least 16 32-kHz clock cycles. The receiving engine stores the triggers that have been sent. Received triggers are cleared by the wait-for-trigger instruction or trig_clear instruction. The wait-for-trigger instruction is executed until all the defined triggers have been received. (Note: several triggers can be defined in the same instruction.) The external-trigger input signal must stay low for at least two 32-kHz clock cycles to be executed. The trigger output signal is three 32-kHz clock cycles long. The external trigger signal is active-low; for example, when a trigger is sent or received, the pin is pulled to GND. Sending an external trigger is masked; that is, the device which has sent the trigger does not recognize the trigger it sent. If send and wait external triggers are used on the same instruction, the send external trigger is executed first, followed by the wait external trigger. The trig_clear instruction clears pending triggers for a single execution engine. Use this instruction in each execution engine at the beginning of program execution to clear any pending triggers. Pending triggers are always cleared whenever the engine mode is in the disabled state or load program to SRAM (see SRAM Memory). NAME wait for trigger send a trigger VALUE (d) DESCRIPTION 0–31 Wait for trigger from the engine(s). Several triggers can be defined in the same instruction. Bit [7]: Wait for trigger from engine 1. Bit [8]: Wait for trigger from engine 2. Bit [9]: Wait for trigger from engine 3. Bit [12]: Wait for trigger from GPIO/TRIG/INT pin. Bits [10] and [11] are not used. 0–31 Send a trigger to the engine(s). Several triggers can be defined in the same instruction. Bit [1]: Send trigger to engine 1. Bit [2]: Send trigger to engine 2. Bit [3]: Send trigger to engine 3. Bit [6]: Send trigger to GPIO/TRIG/INT pin. Bits [4] and [5]: are not used. 8.5.2.6.6 JNE, JGE, JL and JE The LP5569 instruction set includes the following conditional jump instructions: jne (jump if not equal); jge (jump if greater or equal); jl (jump if less); je (jump if equal). If the condition is true, a certain number of instructions are skipped (that is, the program jumps forward to a location relative to the present location). If the condition is false, the next instruction is executed. NAME VALUE (d) number of instructions to be skipped if the operation returns true. 0–31 The number of instructions to be skipped when the statement is true. Note: value 0 means redundant code. 0–3 Defines the variable to be used in the test: 0 = Local variable A 1 = Local variable B 2 = Global variable C 3 = Global variable D 0–3 Defines the variable to be used in the test: 0 = Local variable A 1 = Local variable B 2 = Global variable C 3 = Global variable D variable 1 variable 2 36 DESCRIPTION Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.5.2.7 Data Transfer and Arithmetic Instructions Table 13. LP5569 Data Transfer and Arithmetic Instructions Bit [15] Bit [14] Bit [13] Bit [12] ld 1 0 0 1 target variable 0 0 8-bit value 0 add (1) 1 0 0 1 target variable 0 1 8-bit value 0 add (2) 1 0 0 1 target variable 1 1 sub (1) 1 0 0 1 target variable 1 0 sub (2) 1 0 0 1 target variable 1 1 INST. Bit [10] Bit [9] Bit [8] Bit [7] Bit [6] Bit [5] Bit [4] Bit [3] Bit [2] Bit [1] Bit [0] 0 0 0 0 var 1 var 2 0 0 0 1 var 1 var 2 This opcode is used with numerical operands This opcode is used with variables. 8.5.2.7.1 LD This instruction is used to assign a value into a variable; the previous value in that variable is overwritten. Each of the engines has two local variables, called A and B. The variable C is a global variable. NAME target variable 8-bit value VALUE (d) DESCRIPTION 0–2 0 = Variable A 1 = Variable B 2 = Variable C 0–255 Variable value 8.5.2.7.2 ADD This operator either adds an 8-bit value to the current value of the target variable, or adds the value of variable 1 (A, B, C, or D) to the value of variable 2 (A, B, C, or D) and stores the result in the register of variable A, B, or C. Variables overflow from 255 to 0. NAME 8-bit value (1) VALUE (d) 0–255 DESCRIPTION The value to be added. target variable 0–2 0 = Variable A 1 = Variable B 2 = Variable C variable 1 (2) 0–3 0 1 2 3 = Local variable A = Local variable B = Global variable C = Global variable D variable 2 (2) 0–3 0 1 2 3 = Local variable A = Local variable B = Global variable C = Global variable D (1) (2) Valid for numerical operands. Valid for variables. 8.5.2.7.3 SUB The SUB operator either subtracts an 8-bit value from the current value of the target variable, or subtracts the value of variable 2 (A, B, C, or D) from the value of variable 1 (A, B, C, or D) and stores the result in the register of the target variable (A, B, or C). Variables overflow from 0 to 255. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 37 ADVANCE INFORMATION (1) (2) Bit [11] LP5569 SNVSAP8 – JULY 2017 NAME 8-bit value (1) www.ti.com VALUE (d) 0–255 target variable variable 1 (2) variable 2 (2) (1) (2) DESCRIPTION The value to be subtracted. 0–2 0 = Variable A 1 = Variable B 2 = Variable C 0–3 0 1 2 3 = Local variable A = Local variable B = Global variable C = Global variable D 0–3 0 1 2 3 = Local variable A = Local variable B = Global variable C = Global variable D Valid for numerical operands Valid for variables ADVANCE INFORMATION 38 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.6 Register Maps 8.6.1 LP5569_MAP Registers Table 14 lists the memory-mapped registers for the LP5569_MAP. All register offset addresses not listed in Table 14 should be considered as reserved locations and the register contents should not be modified. Table 14. LP5569_MAP Registers Acronym Register Name 0h CONFIG Configuration Register Section Go 1h LED_ENGINE_CONTROL1 Engine Execution Control Register Go 2h LED_ENGINE_CONTROL2 Engine Operation Mode Register Go 7h LED0_CONTROL LED0 Control Register Go 8h LED1_CONTROL LED1 Control Register Go 9h LED2_CONTROL LED2 Control Register Go Ah LED3_CONTROL LED3 Control Register Go Bh LED4_CONTROL LED4 Control Register Go Ch LED5_CONTROL LED5 Control Register Go Dh LED6_CONTROL LED6 Control Register Go Eh LED7_CONTROL LED7 Control Register Go Fh LED8_CONTROL LED8 Control Register Go 16h LED0_PWM LED0 PWM Duty Cycle Go 17h LED1_PWM LED1 PWM Duty Cycle Go 18h LED2_PWM LED2 PWM Duty Cycle Go 19h LED3_PWM LED3 PWM Duty Cycle Go 1Ah LED4_PWM LED4 PWM Duty Cycle Go 1Bh LED5_PWM LED5 PWM Duty Cycle Go 1Ch LED6_PWM LED6 PWM Duty Cycle Go 1Dh LED7_PWM LED7 PWM Duty Cycle Go 1Eh LED8_PWM LED8 PWM Duty Cycle Go 22h LED0_CURRENT LED0 Current Control Go 23h LED1_CURRENT LED1 Current Control Go 24h LED2_CURRENT LED2 Current Control Go 25h LED3_CURRENT LED3 Current Control Go 26h LED4_CURRENT LED4 Current Control Go 27h LED5_CURRENT LED5 Current Control Go 28h LED6_CURRENT LED6 Current Control Go 29h LED7_CURRENT LED7 Current Control Go 2Ah LED8_CURRENT LED8 Current Control Go 2Fh MISC I2C, Charge Pump and Clock Configuration Go 30h ENGINE1_PC Engine1 Program Counter Go 31h ENGINE2_PC Engine2 Program Counter Go 32h ENGINE3_PC Engine3 Program Counter Go 33h MISC2 Charge Pump and LED Configuration Go 3Ch ENGINE_STATUS Engine 1, 2 & 3 Status Go 3Dh IO_CONTROL TRIG, INT and CLK Configuration Go 3Eh VARIABLE_D Global Variable D Go 3Fh RESET Software Reset Go 42h ENGINE1_VARIABLE_A Engine 1 Local Variable A Go 43h ENGINE2_VARIABLE_A Engine 2 Local Variable A Go 44h ENGINE3_VARIABLE_A Engine 3 Local Variable A Go Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 ADVANCE INFORMATION Address 39 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 14. LP5569_MAP Registers (continued) Address ADVANCE INFORMATION 40 Acronym Register Name 46h MASTER_FADER1 Engine 1 Master Fader Section Go 47h MASTER_FADER2 Engine 2 Master Fader Go 48h MASTER_FADER3 Engine 3 Master Fader Go 4Ah MASTER_FADER_PWM PWM Input Duty Cycle Go 4Bh ENGINE1_PROG_START Engine 1 Program Starting Address Go 4Ch ENGINE2_PROG_START Engine 2 Program Starting Address Go 4Dh ENGINE3_PROG_START Engine 2 Program Starting Address Go 4Fh PROG_MEM_PAGE_SELECT Program Memory Page Select Go 50h PROGRAM_MEM_00 MSB 0 Go 51h PROGRAM_MEM_01 LSB 0 Go 52h PROGRAM_MEM_02 MSB 1 Go 53h PROGRAM_MEM_03 LSB 1 Go 54h PROGRAM_MEM_04 MSB 2 Go 55h PROGRAM_MEM_05 LSB 2 Go 56h PROGRAM_MEM_06 MSB 3 Go 57h PROGRAM_MEM_07 LSB 3 Go 58h PROGRAM_MEM_08 MSB 4 Go 59h PROGRAM_MEM_09 LSB 4 Go 5Ah PROGRAM_MEM_10 MSB 5 Go 5Bh PROGRAM_MEM_11 LSB 5 Go 5Ch PROGRAM_MEM_12 MSB 6 Go 5Dh PROGRAM_MEM_13 LSB 6 Go 5Eh PROGRAM_MEM_14 MSB 7 Go 5Fh PROGRAM_MEM_15 LSB 7 Go 60h PROGRAM_MEM_16 MSB 8 Go 61h PROGRAM_MEM_17 LSB 8 Go 62h PROGRAM_MEM_18 MSB 9 Go 63h PROGRAM_MEM_19 LSB 9 Go 64h PROGRAM_MEM_20 MSB 10 Go 65h PROGRAM_MEM_21 LSB 10 Go 66h PROGRAM_MEM_22 MSB 11 Go 67h PROGRAM_MEM_23 LSB 11 Go 68h PROGRAM_MEM_24 MSB 12 Go 69h PROGRAM_MEM_25 LSB 12 Go 6Ah PROGRAM_MEM_26 MSB 13 Go 6Bh PROGRAM_MEM_27 LSB 13 Go 6Ch PROGRAM_MEM_28 MSB 14 Go 6Dh PROGRAM_MEM_29 LSB 14 Go 6Eh PROGRAM_MEM_30 MSB 15 Go 6Fh PROGRAM_MEM_31 LSB 15 Go 70h ENGINE1_MAPPING1 Engine 1 LED [8] and Master Fader Mapping Go 71h ENGINE1_MAPPING2 Engine 1 LED [7:0] Mapping Go 72h ENGINE2_MAPPING1 Engine 2 LED [8] and Master Fader Mapping Go 73h ENGINE2_MAPPING2 Engine 2 LED [7:0] Mapping Go 74h ENGINE3_MAPPING1 Engine 3 LED [8] and Master Fader Mapping Go 75h ENGINE3_MAPPING2 Engine 3 LED [7:0] Mapping Go 80h PWM_CONFIG PWM Input Configuration Go Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 14. LP5569_MAP Registers (continued) Address Acronym Register Name 81h LED_FAULT1 LED [8] Fault Status Section Go 82h LED_FAULT2 LED [7:0] Fault Status Go 83h GENERAL_FAULT CP Cap, UVLO and TSD Fault Status Go 8.6.1.1 CONFIG Register (Address = 0h) [reset = 0h] CONFIG is shown in Figure 20 and described in Table 15. Return to Summary Table. Configuration Register Figure 20. CONFIG Register 6 chip_en R/W-0h 5 4 3 2 1 0 RESERVED R/W-0h Table 15. CONFIG Register Field Descriptions Bit Field Type Reset 7 RESERVED R/W 0h 6 chip_en R/W 0h 0 = LP5569 not enabled (default) 1 = LP5569 enabled RESERVED R/W 0h Reserved 5–0 Description 8.6.1.2 LED_ENGINE_CONTROL1 Register (Address = 1h) [reset = 0h] LED_ENGINE_CONTROL1 is shown in Figure 21 and described in Table 16. Return to Summary Table. Execution states are defined in this register, and they are only applicable when the corresponding mode register in LED_ENGINE_CONTROL2 is set to the run mode. Execution-state values may be written by the host in other modes, but the engine disregards the write until the mode changes to run mode. The fields in this register define how the program is executed out of SRAM: HOLD: The engine does not execute any instructions, but the program counter holds its current value unless overwritten by the host. This is the only state in which the PC can be written. STEP: Executes a single instruction, increments the PC, and then changes to the hold state. If the instruction is a ramp or wait, the engine waits for this instruction to complete before changing to the hold state. FREE RUN: The engine begins instruction execution from the current value of the PC. The program counter is reset to zero when its upper-limit value is reached at the top of SRAM memory. EXECUTE ONCE: Executes a single instruction and then changes to the hold state. The PC remains unaffected unless the instruction is a branch command, in which case it changes if the branch is taken. If the instruction is a ramp or wait, it will wait for this instruction to complete before changing to hold state. Figure 21. LED_ENGINE_CONTROL1 Register 7 6 5 ch1_exec R/W-0h 4 ch2_exec R/W-0h 3 2 ch3_exec R/W-0h 1 0 RESERVED R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 41 ADVANCE INFORMATION 7 RESERVED R/W-0h LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 16. LED_ENGINE_CONTROL1 Register Field Descriptions Bit Field Type Reset Description 7–6 ch1_exec R/W 0h Engine 1 program execution control 00 = Hold: PC can be read or written only in this mode. (default) 01 = Step. Execute one instruction and return to hold mode. 10 = Free run. Start program from PC. 11 = Execute once. Execute one instruction but don't increment PC. 5–4 ch2_exec R/W 0h Engine 2 program execution control 00 = Hold: PC can be read or written only in this mode. (default) 01 = Step. Execute one instruction and return to hold mode. 10 = Free run. Start program from PC. 11 = Execute once. Execute one instruction but don't increment PC. 3–2 ch3_exec R/W 0h Engine 3 program execution control 00 = Hold: PC can be read or written only in this mode. (default) 01 = Step. Execute one instruction and return to hold mode. 10 = Free run. Start program from PC. 11 = Execute once. Execute one instruction but don't increment PC. 1–0 RESERVED R/W 0h ADVANCE INFORMATION 8.6.1.3 LED_ENGINE_CONTROL2 Register (Address = 2h) [reset = 0h] LED_ENGINE_CONTROL2 is shown in Figure 22 and described in Table 17. Return to Summary Table. Operation modes are defined in this register DISABLED: Engines each can be configured to be disabled independently. When disabled, the program counter per ENGINEx_PC is set to 0 and the engine does not execute instructions. LOAD PROGRAM: Writing to program memory is allowed only when the engine is in the load-program operation mode and the engine busy bit (register 3C) is not set. The host should check the busy bit before writing to program memory or allow at a least 1-ms delay after entering the load mode before memory write, to ensure initialization. If any engine is set to the load-program mode, then the other engines should be set either to the disabled or load-program mode, because they are inhibited from executing instructions while loading the SRAM. The load-program mode also resets the program counter of the respective engine. The load-program mode can only be entered from the disabled mode. RUN PROGRAM: The run-program mode executes the instructions stored in the program memory. Execution register (LED_ENGINE_CONTROL1) bits define how the program is executed (hold, step, free-run or execute once). HALT: Instruction execution aborts immediately and engine operation halts. Figure 22. LED_ENGINE_CONTROL2 Register 7 6 5 ch1_mode R/W-0h 4 ch2_mode R/W-0h 3 2 ch3_mode R/W-0h 1 0 RESERVED R/W-0h Table 17. LED_ENGINE_CONTROL2 Register Field Descriptions 42 Bit Field Type Reset Description 7–6 ch1_mode R/W 0h Engine 1 operation mode 00 = Disabled (default) 01 = Load program to SRAM 10 = Run program 11 = Halt 5–4 ch2_mode R/W 0h Engine 2 operation mode 00 = Disabled (default) 01 = Load program to SRAM 10 = Run program 11 = Halt Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 17. LED_ENGINE_CONTROL2 Register Field Descriptions (continued) Bit Field Type Reset Description 3–2 ch3_mode R/W 0h Engine 3 operation mode 00 = Disabled (default) 01 = Load program to SRAM 10 = Run program 11 = Halt 1–0 RESERVED R/W 0h 8.6.1.4 LED0_CONTROL Register (Address = 7h) [reset = 0h] LED0_CONTROL is shown in Figure 23 and described in Table 18. Return to Summary Table. LED0 Control Register Figure 23. LED0_CONTROL Register 6 mf_mapping0 5 R/W-0h 4 led0_ratio_en 3 exp_en0 R/W-0h R/W-0h 2 external_power 0 R/W-0h 1 0 RESERVED R/W-0h Table 18. LED0_CONTROL Register Field Descriptions Bit Field Type Reset Description 7–5 mf_mapping0 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led0_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGBLED remains the same regardless of the initial magnitude of the LED output. 3 exp_en0 R/W 0h 0 = Linear adjustment (default) 1 = Exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power0 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 1–0 8.6.1.5 LED1_CONTROL Register (Address = 8h) [reset = 0h] LED1_CONTROL is shown in Figure 24 and described in Table 19. Return to Summary Table. LED1 Control Register Figure 24. LED1_CONTROL Register 7 6 mf_mapping1 5 R/W-0h 4 led1_ratio_en 3 exp_en1 R/W-0h R/W-0h 2 external_power 1 R/W-0h 1 0 RESERVED R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 43 ADVANCE INFORMATION 7 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 19. LED1_CONTROL Register Field Descriptions ADVANCE INFORMATION Bit Field Type Reset Description 7–5 mf_mapping1 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led1_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGB LED remains the same regardless of the initial magnitude of the LED output. 3 exp_en1 R/W 0h 0 = Linear adjustment (default) 1 = Exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power1 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 1–0 8.6.1.6 LED2_CONTROL Register (Address = 9h) [reset = 0h] LED2_CONTROL is shown in Figure 25 and described in Table 20. Return to Summary Table. LED2 Control Register Figure 25. LED2_CONTROL Register 7 6 mf_mapping2 5 R/W-0h 4 led2_ratio_en 3 exp_en2 R/W-0h R/W-0h 2 external_power 2 R/W-0h 1 0 RESERVED R/W-0h Table 20. LED2_CONTROL Register Field Descriptions 44 Bit Field Type Reset Description 7–5 mf_mapping2 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led2_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGB LED remains the same regardless of the initial magnitude of the LED output. 3 exp_en2 R/W 0h 0 = Linear adjustment (default) 1 = Exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power2 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 20. LED2_CONTROL Register Field Descriptions (continued) Bit Field Type Reset 1–0 RESERVED R/W 0h Description 8.6.1.7 LED3_CONTROL Register (Address = Ah) [reset = 0h] LED3_CONTROL is shown in Figure 26 and described in Table 21. Return to Summary Table. LED3 Control Register Figure 26. LED3_CONTROL Register 7 6 mf_mapping3 5 R/W-0h 4 led3_ratio_en 3 exp_en3 R/W-0h R/W-0h 2 external_power 3 R/W-0h 1 0 RESERVED R/W-0h Bit Field Type Reset Description 7–5 mf_mapping3 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led3_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGBLED remains the same regardless of the initial magnitude of the LED output. 3 exp_en3 R/W 0h 0 = Linear adjustment (default) 1 = Exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power3 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 1–0 8.6.1.8 LED4_CONTROL Register (Address = Bh) [reset = 0h] LED4_CONTROL is shown in Figure 27 and described in Table 22. Return to Summary Table. LED4 Control Register Figure 27. LED4_CONTROL Register 7 6 mf_mapping4 5 R/W-0h 4 led4_ratio_en 3 exp_en4 R/W-0h R/W-0h 2 external_power 4 R/W-0h 1 0 RESERVED R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 45 ADVANCE INFORMATION Table 21. LED3_CONTROL Register Field Descriptions LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 22. LED4_CONTROL Register Field Descriptions ADVANCE INFORMATION Bit Field Type Reset Description 7–5 mf_mapping4 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led4_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGB LED remains the same regardless of the initial magnitude of the LED output. 3 exp_en4 R/W 0h 0 = linear adjustment (default) 1 = exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power4 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 1–0 8.6.1.9 LED5_CONTROL Register (Address = Ch) [reset = 0h] LED5_CONTROL is shown in Figure 28 and described in Table 23. Return to Summary Table. LED5 Control Register Figure 28. LED5_CONTROL Register 7 6 mf_mapping5 5 R/W-0h 4 led5_ratio_en 3 exp_en5 R/W-0h R/W-0h 2 external_power 5 R/W-0h 1 0 RESERVED R/W-0h Table 23. LED5_CONTROL Register Field Descriptions 46 Bit Field Type Reset Description 7–5 mf_mapping5 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led5_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGB LED remains the same regardless of the initial magnitude of the LED output. 3 exp_en5 R/W 0h 0 = Linear adjustment (default) 1 = exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 23. LED5_CONTROL Register Field Descriptions (continued) Bit 2 1–0 Field Type Reset Description external_power5 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 8.6.1.10 LED6_CONTROL Register (Address = Dh) [reset = 0h] LED6_CONTROL is shown in Figure 29 and described in Table 24. Return to Summary Table. LED6 Control Register Figure 29. LED6_CONTROL Register 6 mf_mapping6 5 R/W-0h 4 led6_ratio_en 3 exp_en6 R/W-0h R/W-0h 2 external_power 6 R/W-0h 1 0 RESERVED R/W-0h Table 24. LED6_CONTROL Register Field Descriptions Bit Field Type Reset Description 7–5 mf_mapping6 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led6_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGBLED remains the same regardless of the initial magnitude of the LED output. 3 exp_en6 R/W 0h 0 = linear adjustment (default) 1 = exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power6 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 1–0 8.6.1.11 LED7_CONTROL Register (Address = Eh) [reset = 0h] LED7_CONTROL is shown in Figure 30 and described in Table 25. Return to Summary Table. LED7 Control Register Figure 30. LED7_CONTROL Register 7 6 mf_mapping7 5 R/W-0h 4 led7_ratio_en 3 exp_en7 R/W-0h R/W-0h 2 external_power 7 R/W-0h 1 0 RESERVED R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 47 ADVANCE INFORMATION 7 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 25. LED7_CONTROL Register Field Descriptions ADVANCE INFORMATION Bit Field Type Reset Description 7–5 mf_mapping7 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led7_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGB LED remains the same regardless of the initial magnitude of the LED output. 3 exp_en7 R/W 0h 0 = Linear adjustment (default) 1 = Exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power7 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source RESERVED R/W 0h 1–0 8.6.1.12 LED8_CONTROL Register (Address = Fh) [reset = 0h] LED8_CONTROL is shown in Figure 31 and described in Table 26. Return to Summary Table. LED8 Control Register Figure 31. LED8_CONTROL Register 7 6 mf_mapping8 5 R/W-0h 4 led8_ratio_en 3 exp_en8 R/W-0h R/W-0h 2 external_power 8 R/W-0h 1 0 RESERVED R/W-0h Table 26. LED8_CONTROL Register Field Descriptions 48 Bit Field Type Reset Description 7–5 mf_mapping8 R/W 0h Master fader mapping select: 0h = No master fading (default) 1h = Master fader1 2h = Master fader2 3h = Master fader3 4h = No master fading 5h = PWM input master fading 6h = No master fading 7h = No master fading 4 led8_ratio_en R/W 0h 0 = Disables ratiometric dimming (default) 1 = Enables ratiometric dimming When ratiometric dimming is enabled, the emitted color of an RGB LED remains the same regardless of the initial magnitude of the LED output. 3 exp_en8 R/W 0h 0 = Linear adjustment (default) 1 = Exponential adjustment This bit is effective for both the program execution engine control and direct PWM control. 2 external_power8 R/W 0h 0 = LED is powered by charge pump (default) 1 = LED is powered by external power source Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 26. LED8_CONTROL Register Field Descriptions (continued) Bit Field Type Reset 1–0 RESERVED R/W 0h Description 8.6.1.13 LED0_PWM Register (Address = 16h) [reset = 0h] LED0_PWM is shown in Figure 32 and described in Table 27. Return to Summary Table. This is the PWM duty cycle control for the LED0 output. Figure 32. LED0_PWM Register 7 6 5 4 3 2 1 0 1 0 1 0 pwm0 R/W-0h Bit Field Type Reset Description 7–0 pwm0 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle ADVANCE INFORMATION Table 27. LED0_PWM Register Field Descriptions 8.6.1.14 LED1_PWM Register (Address = 17h) [reset = 0h] LED1_PWM is shown in Figure 33 and described in Table 28. Return to Summary Table. This is the PWM duty cycle control for the LED1 output. Figure 33. LED1_PWM Register 7 6 5 4 3 2 pwm1 R/W-0h Table 28. LED1_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm1 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle 8.6.1.15 LED2_PWM Register (Address = 18h) [reset = 0h] LED2_PWM is shown in Figure 34 and described in Table 29. Return to Summary Table. This is the PWM duty cycle control for the LED2 output. Figure 34. LED2_PWM Register 7 6 5 4 3 2 pwm2 R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 49 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 29. LED2_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm2 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle- 8.6.1.16 LED3_PWM Register (Address = 19h) [reset = 0h] LED3_PWM is shown in Figure 35 and described in Table 30. Return to Summary Table. This is the PWM duty cycle control for the LED3 output. Figure 35. LED3_PWM Register 7 6 5 4 3 2 1 0 1 0 1 0 pwm3 R/W-0h ADVANCE INFORMATION Table 30. LED3_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm3 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle 8.6.1.17 LED4_PWM Register (Address = 1Ah) [reset = 0h] LED4_PWM is shown in Figure 36 and described in Table 31. Return to Summary Table. This is the PWM duty cycle control for the LED4 output. Figure 36. LED4_PWM Register 7 6 5 4 3 2 pwm4 R/W-0h Table 31. LED4_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm4 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle 8.6.1.18 LED5_PWM Register (Address = 1Bh) [reset = 0h] LED5_PWM is shown in Figure 37 and described in Table 32. Return to Summary Table. This is the PWM duty cycle control for the LED5 output. Figure 37. LED5_PWM Register 7 6 5 4 3 2 pwm5 R/W-0h 50 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 32. LED5_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm5 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle 8.6.1.19 LED6_PWM Register (Address = 1Ch) [reset = 0h] LED6_PWM is shown in Figure 38 and described in Table 33. Return to Summary Table. This is the PWM duty cycle control for the LED6 output. Figure 38. LED6_PWM Register 7 6 5 4 3 2 1 0 1 0 1 0 pwm6 R/W-0h Bit Field Type Reset Description 7–0 pwm6 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle ADVANCE INFORMATION Table 33. LED6_PWM Register Field Descriptions 8.6.1.20 LED7_PWM Register (Address = 1Dh) [reset = 0h] LED7_PWM is shown in Figure 39 and described in Table 34. Return to Summary Table. This is the PWM duty cycle control for the LED7 output. Figure 39. LED7_PWM Register 7 6 5 4 3 2 pwm7 R/W-0h Table 34. LED7_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm7 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle 8.6.1.21 LED8_PWM Register (Address = 1Eh) [reset = 0h] LED8_PWM is shown in Figure 40 and described in Table 35. Return to Summary Table. This is the PWM duty cycle control for the LED8 output. Figure 40. LED8_PWM Register 7 6 5 4 3 2 pwm8 R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 51 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 35. LED8_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 pwm8 R/W 0h 00h = 0% duty cycle (default) 80h = 50% duty cycle FFh = 100% duty cycle 8.6.1.22 LED0_CURRENT Register (Address = 22h) [reset = AFh] LED0_CURRENT is shown in Figure 41 and described in Table 36. Return to Summary Table. LED0 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 41. LED0_CURRENT Register 7 6 5 4 3 2 1 0 1 0 current0 R/W-AFh ADVANCE INFORMATION Table 36. LED0_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current0 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.23 LED1_CURRENT Register (Address = 23h) [reset = AFh] LED1_CURRENT is shown in Figure 42 and described in Table 37. Return to Summary Table. LED1 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 42. LED1_CURRENT Register 7 6 5 4 3 2 current1 R/W-AFh Table 37. LED1_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current1 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.24 LED2_CURRENT Register (Address = 24h) [reset = AFh] LED2_CURRENT is shown in Figure 43 and described in Table 38. Return to Summary Table. LED2 driver output current control register. The resolution is 8 bits, and step size is 100 μA. 52 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Figure 43. LED2_CURRENT Register 7 6 5 4 3 2 1 0 1 0 1 0 current2 R/W-AFh Table 38. LED2_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current2 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.25 LED3_CURRENT Register (Address = 25h) [reset = AFh] LED3_CURRENT is shown in Figure 44 and described in Table 39. Return to Summary Table. ADVANCE INFORMATION LED3 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 44. LED3_CURRENT Register 7 6 5 4 3 2 current3 R/W-AFh Table 39. LED3_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current3 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.26 LED4_CURRENT Register (Address = 26h) [reset = AFh] LED4_CURRENT is shown in Figure 45 and described in Table 40. Return to Summary Table. LED4 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 45. LED4_CURRENT Register 7 6 5 4 3 2 current4 R/W-AFh Table 40. LED4_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current4 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 53 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.6.1.27 LED5_CURRENT Register (Address = 27h) [reset = AFh] LED5_CURRENT is shown in Figure 46 and described in Table 41. Return to Summary Table. LED5 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 46. LED5_CURRENT Register 7 6 5 4 3 2 1 0 1 0 1 0 current5 R/W-AFh Table 41. LED5_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current5 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA ADVANCE INFORMATION 8.6.1.28 LED6_CURRENT Register (Address = 28h) [reset = AFh] LED6_CURRENT is shown in Figure 47 and described in Table 42. Return to Summary Table. LED6 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 47. LED6_CURRENT Register 7 6 5 4 3 2 current6 R/W-AFh Table 42. LED6_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current6 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.29 LED7_CURRENT Register (Address = 29h) [reset = AFh] LED7_CURRENT is shown in Figure 48 and described in Table 43. Return to Summary Table. LED7 driver output current control register. The resolution is 8 bits, and step size is 100 μA. Figure 48. LED7_CURRENT Register 7 6 5 4 3 2 current7 R/W-AFh 54 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 43. LED7_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current7 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.30 LED8_CURRENT Register (Address = 2Ah) [reset = AFh] LED8_CURRENT is shown in Figure 49 and described in Table 44. Return to Summary Table. LED8 driver output current control register. The resolution is 8 bits, and step size is 100 μA. 7 6 5 4 3 2 1 0 1 RESERVED R/W-0h 0 int_clk_en R/W-0h ADVANCE INFORMATION Figure 49. LED8_CURRENT Register current8 R/W-AFh Table 44. LED8_CURRENT Register Field Descriptions Bit Field Type Reset Description 7–0 current8 R/W AFh 00h = 0.0 mA 01h = 0.1 mA ... AFh = 17.5 mA (default) ... FFh = 25.5 mA 8.6.1.31 MISC Register (Address = 2Fh) [reset = 40h] MISC is shown in Figure 50 and described in Table 45. Return to Summary Table. Figure 50. MISC Register 7 RESERVED R/W-0h 6 en_auto_incr R/W-1h 5 powersave_en R/W-0h 4 3 cp_mode R/W-0h 2 cp_return_1x R/W-0h Table 45. MISC Register Field Descriptions Bit Field Type Reset Description 7 RESERVED R/W 0h Reserved 6 en_auto_incr R/W 1h I2C address auto-increment enable 0 = Address auto-increment is disabled 1 = Address auto-increment is enabled (default) 5 powersave_en R/W 0h Power-save mode enable select 0 = Power-save mode is disabled (default) 1 = Power-save mode is enabled cp_mode R/W 0h Charge-pump mode selection 00 = Disabled (cp output pulled-down internally, default) 01 = 1× mode 10 = 1.5× mode 11 = Auto mode 4–3 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 55 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 45. MISC Register Field Descriptions (continued) Bit Field Type Reset Description 2 cp_return_1x R/W 0h Charge-pump return to 1× mode select 0 = Charge-pump mode is not affected during shutdown or powersave entry (default) 1 = Charge-pump mode is forced to 1x mode during shutdown or power-save entry 1 RESERVED R/W 0h Reserved 0 int_clk_en R/W 0h Internal 32-kHz clock-enable select 0 = External 32-kHz clock is used from CLK input pin (default) 1 = Internal 32-kHz oscillator is enabled Note: This bit is STATIC and should only be changed when CONFIG.CHIP_EN = 0. 8.6.1.32 ENGINE1_PC Register (Address = 30h) [reset = 0h] ENGINE1_PC is shown in Figure 51 and described in Table 46. Return to Summary Table. ADVANCE INFORMATION Figure 51. ENGINE1_PC Register 7 6 5 4 3 2 1 0 engine1_pc R/W-0h Table 46. ENGINE1_PC Register Field Descriptions Bit Field Type Reset Description 7–0 engine1_pc R/W 0h Program counter starting value for program execution engine 1. 8.6.1.33 ENGINE2_PC Register (Address = 31h) [reset = 0h] ENGINE2_PC is shown in Figure 52 and described in Table 47. Return to Summary Table. Figure 52. ENGINE2_PC Register 7 6 5 4 3 2 1 0 engine2_pc R/W-0h Table 47. ENGINE2_PC Register Field Descriptions Bit Field Type Reset Description 7–0 engine2_pc R/W 0h Program counter starting value for program execution engine 2. 8.6.1.34 ENGINE3_PC Register (Address = 32h) [reset = 0h] ENGINE3_PC is shown in Figure 53 and described in Table 48. Return to Summary Table. Figure 53. ENGINE3_PC Register 7 6 5 4 3 2 1 0 engine3_pc R/W-0h 56 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 48. ENGINE3_PC Register Field Descriptions Bit Field Type Reset Description 7–0 engine3_pc R/W 0h Program counter starting value for program execution engine 3. 8.6.1.35 MISC2 Register (Address = 33h) [reset = 2h] MISC2 is shown in Figure 54 and described in Table 49. Return to Summary Table. Figure 54. MISC2 Register 7 6 RESERVED 5 4 led_short_test R/W-0h 3 led_open_test R/W-0h 2 1 led_headroom R/W-1h 0 cp_dis_disch R/W-0h Bit Field Type Reset Description 7–5 RESERVED R/W 0h Reserved 4 led_short_test R/W 0h 0 = LED-short test disabled (default) 1 = LED-short test enabled 3 led_open_test R/W 0h 0 = LED-open test disabled (default) 1 = LED-open test enabled 2–1 led_headroom R/W 1h Selectable low-headroom comparator settings: 00 = 200 mV 01 = 250 mV (default) 10 = 300 mV 11 = 250 mV cp_dis_disch R/W 0h Charge pump discharge disable. 0 = discharging is enabled in shutdown and standby states, absent of TSD. (default) 1 = discharging is disabled 0 ADVANCE INFORMATION Table 49. MISC2 Register Field Descriptions 8.6.1.36 ENGINE_STATUS Register (Address = 3Ch) [reset = 80h] ENGINE_STATUS is shown in Figure 55 and described in Table 50. Return to Summary Table. Figure 55. ENGINE_STATUS Register 7 mask_busy R/W-1h 6 startup_busy R-0h 5 engine_busy R-0h 4 3 RESERVED 2 ch3_int R-0h 1 ch2_int R-0h 0 ch1_int R-0h Table 50. ENGINE_STATUS Register Field Descriptions Bit Field Type Reset Description 7 mask_busy R/W 1h Mask bit for interrupts generated by START-UP_BUSY or ENGINE_BUSY. 0 = External interrupt is generated when START-UP_BUSY or ENGINE_BUSY condition is no longer true. 1 = Interrupt events are masked (no external interrupt generated by START-UP_BUSY or ENGINE_BUSY). Reading register 3Ch clears the status bits and releases the INT pin to the high state. 6 startup_busy R 0h A status bit which indicates that the device is running the internal start-up sequence. 0 = Internal start-up sequence completed. 1 = Internal start-up sequence running Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 57 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 50. ENGINE_STATUS Register Field Descriptions (continued) Bit Field Type Reset Description 5 engine_busy R 0h A status bit which indicates that a program execution engine is clearing internal registers. Serial bus master should not write or read program memory, or registers 30h to 32h or 4Bh to 4Dh, when this bit is set to 1. 0 = Engine ready 1 = At least one of the engines is clearing internal registers. 4–3 ADVANCE INFORMATION RESERVED R 0h Reserved 2 ch3_int R 0h Engine3 interrupt. 0 = Interrupt cleared 1 = Interrupt set Interrupt is set by the END or INT instruction. Reading the ENGINE_STATUS address clears the interrupt. 1 ch2_int R 0h Engine2 interrupt. 0 = Interrupt cleared 1 = Interrupt set Interrupt is set by the END or INT instruction. Reading the ENGINE_STATUS address clears the interrupt. 0 ch1_int R 0h Engine1 interrupt. 0 = Interrupt cleared 1 = Interrupt set Interrupt is set by the END or INT instruction. Reading the ENGINE_STATUS address clears the interrupt. 8.6.1.37 IO_CONTROL Register (Address = 3Dh) [reset = 2h] IO_CONTROL is shown in Figure 56 and described in Table 51. Return to Summary Table. Figure 56. IO_CONTROL Register 7 6 5 4 RESERVED R/W-0h 3 en_clk_out R/W-0h 2 1 gpio_config R/W-1h 0 gpo R/W-0h Table 51. IO_CONTROL Register Field Descriptions Bit Field Type Reset 7–4 Description RESERVED R/W 0h 3 en_clk_out R/W 0h 0 = CLK pin is an input (default) 1 = CLK pin is an output driven by the internal 32-kHz oscillator 2–1 gpio_config R/W 1h GPIO configuration 00 = Trigger for LED engines 01 = Interrupt from LED engines (default) 10 = gpo register bit controlled by I2C (output only) 11 = gpo register bit controlled by I2C (output only) gpo R/W 0h GPIO pin control when gpio_config=10 or 11 0 = GPIO/TRIG/INT pin Low 1 = GPIO/TRIG/INT pin High 0 8.6.1.38 VARIABLE_D Register (Address = 3Eh) [reset = 0h] VARIABLE_D is shown in Figure 57 and described in Table 52. Return to Summary Table. 58 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Figure 57. VARIABLE_D Register 7 6 5 4 3 2 1 0 variable_d R/W-0h Table 52. VARIABLE_D Register Field Descriptions Bit Field Type Reset Description 7–0 variable_d R/W 0h These bits are used for storing a global 8-bit variable. The variable can be used to control program flow. 8.6.1.39 RESET Register (Address = 3Fh) [reset = 0h] RESET is shown in Figure 58 and described in Table 53. Return to Summary Table. Figure 58. RESET Register 6 5 4 3 2 1 0 reset W-0h Table 53. RESET Register Field Descriptions Bit Field Type Reset Description 7–0 reset W 0h Writing FFh into this register resets the device. Internal registers are reset to the default values. Reading this register returns 0h. 8.6.1.40 ENGINE1_VARIABLE_A Register (Address = 42h) [reset = 0h] ENGINE1_VARIABLE_A is shown in Figure 59 and described in Table 54. Return to Summary Table. Figure 59. ENGINE1_VARIABLE_A Register 7 6 5 4 3 engine1_variable_a R/W-0h 2 1 0 Table 54. ENGINE1_VARIABLE_A Register Field Descriptions Bit Field Type Reset Description 7–0 engine1_variable_a R/W 0h These bits are used for engine 1 local variable. 8.6.1.41 ENGINE2_VARIABLE_A Register (Address = 43h) [reset = 0h] ENGINE2_VARIABLE_A is shown in Figure 60 and described in Table 55. Return to Summary Table. Figure 60. ENGINE2_VARIABLE_A Register 7 6 5 4 3 engine2_variable_a R/W-0h 2 1 0 Table 55. ENGINE2_VARIABLE_A Register Field Descriptions Bit Field Type Reset Description 7–0 engine2_variable_a R/W 0h These bits are used for engine 2 local variable. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 59 ADVANCE INFORMATION 7 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.6.1.42 ENGINE3_VARIABLE_A Register (Address = 44h) [reset = 0h] ENGINE3_VARIABLE_A is shown in Figure 61 and described in Table 56. Return to Summary Table. Figure 61. ENGINE3_VARIABLE_A Register 7 6 5 4 3 engine3_variable_a R/W-0h 2 1 0 Table 56. ENGINE3_VARIABLE_A Register Field Descriptions Bit Field Type Reset Description 7–0 engine3_variable_a R/W 0h These bits are used for engine 3 local variable. 8.6.1.43 MASTER_FADER1 Register (Address = 46h) [reset = 0h] MASTER_FADER1 is shown in Figure 62 and described in Table 57. Return to Summary Table. ADVANCE INFORMATION An 8-bit register to control all the LED outputs mapped to MASTER FADER1. The master fader allows the user to control dimming of multiple LEDS with a single serial bus write. Figure 62. MASTER_FADER1 Register 7 6 5 4 3 2 1 0 master_fader1 R/W-0h Table 57. MASTER_FADER1 Register Field Descriptions Bit Field Type Reset Description 7–0 master_fader1 R/W 0h Master fader1 is controlled by engine1. 8.6.1.44 MASTER_FADER2 Register (Address = 47h) [reset = 0h] MASTER_FADER2 is shown in Figure 63 and described in Table 58. Return to Summary Table. An 8-bit register to control all the LED outputs mapped to MASTER FADER2. Master fader allows the user to control dimming of multiple LEDS with a single serial bus write. Figure 63. MASTER_FADER2 Register 7 6 5 4 3 2 1 0 master_fader2 R/W-0h Table 58. MASTER_FADER2 Register Field Descriptions Bit Field Type Reset Description 7–0 master_fader2 R/W 0h Master fader2 is controlled by engine 2. 8.6.1.45 MASTER_FADER3 Register (Address = 48h) [reset = 0h] MASTER_FADER3 is shown in Figure 64 and described in Table 59. Return to Summary Table. An 8-bit register to control all the LED outputs mapped to MASTER FADER2. Master fader allows the user to control dimming of multiple LEDS with a single serial bus write. 60 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Figure 64. MASTER_FADER3 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 master_fader3 R/W-0h Table 59. MASTER_FADER3 Register Field Descriptions Bit Field Type Reset Description 7–0 master_fader3 R/W 0h Master fader3 is controlled by engine 3. 8.6.1.46 MASTER_FADER_PWM Register (Address = 4Ah) [reset = 0h] MASTER_FADER_PWM is shown in Figure 65 and described in Table 60. Return to Summary Table. 7 6 5 4 3 master_fader_pwm R-0h 2 ADVANCE INFORMATION Figure 65. MASTER_FADER_PWM Register Table 60. MASTER_FADER_PWM Register Field Descriptions Bit Field Type Reset Description 7–0 master_fader_pwm R 0h PWM input duty cycle. 8.6.1.47 ENGINE1_PROG_START Register (Address = 4Bh) [reset = 0h] ENGINE1_PROG_START is shown in Figure 66 and described in Table 61. Return to Summary Table. Figure 66. ENGINE1_PROG_START Register 7 6 5 4 3 prog_start_addr1 R/W-0h 2 Table 61. ENGINE1_PROG_START Register Field Descriptions Bit Field Type Reset Description 7–0 prog_start_addr1 R/W 0h Engine 1 program start address. 8.6.1.48 ENGINE2_PROG_START Register (Address = 4Ch) [reset = 0h] ENGINE2_PROG_START is shown in Figure 67 and described in Table 62. Return to Summary Table. Figure 67. ENGINE2_PROG_START Register 7 6 5 4 3 prog_start_addr2 R/W-0h 2 Table 62. ENGINE2_PROG_START Register Field Descriptions Bit Field Type Reset Description 7–0 prog_start_addr2 R/W 0h Engine 2 program start address. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 61 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.6.1.49 ENGINE3_PROG_START Register (Address = 4Dh) [reset = 0h] ENGINE3_PROG_START is shown in Figure 68 and described in Table 63. Return to Summary Table. Figure 68. ENGINE3_PROG_START Register 7 6 5 4 3 prog_start_addr3 R/W-0h 2 1 0 Table 63. ENGINE3_PROG_START Register Field Descriptions Bit Field Type Reset Description 7–0 prog_start_addr3 R/W 0h Engine 3 program start address. 8.6.1.50 PROG_MEM_PAGE_SELECT Register (Address = 4Fh) [reset = 0h] PROG_MEM_PAGE_SELECT is shown in Figure 69 and described in Table 64. Return to Summary Table. ADVANCE INFORMATION SRAM page select. SRAM is 256 × 16 addressable from I2C, and is viewed as 16 pages of 32 bytes. This register selects which page is being accessed, serving as the upper bits of the SRAM address. The I2C host must write this register during the course of loading SRAM contents in order to access the next page. Figure 69. PROG_MEM_PAGE_SELECT Register 7 6 5 4 3 2 RESERVED R/W-0h 1 0 page_sel R/W-0h Table 64. PROG_MEM_PAGE_SELECT Register Field Descriptions Bit Field Type Reset 7–4 RESERVED R/W 0h 3–0 page_sel R/W 0h Description 0000 = page 0 (lowest 32 bytes) 0001 = page 1 (bytes 32-63) ... 1111 = page 15 (highest 32 bytes) 8.6.1.51 PROGRAM_MEM_00 Register (Address = 50h) [reset = 0h] PROGRAM_MEM_00 is shown in Figure 70 and described in Table 65. Return to Summary Table. Figure 70. PROGRAM_MEM_00 Register 7 6 5 4 3 2 1 0 cmd00_msb R/W-0h Table 65. PROGRAM_MEM_00 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd00_msb R/W 0h Program memory data 8.6.1.52 PROGRAM_MEM_01 Register (Address = 51h) [reset = 0h] PROGRAM_MEM_01 is shown in Figure 71 and described in Table 66. Return to Summary Table. 62 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Figure 71. PROGRAM_MEM_01 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 cmd00_lsb R/W-0h Table 66. PROGRAM_MEM_01 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd00_lsb R/W 0h Program memory data 8.6.1.53 PROGRAM_MEM_02 Register (Address = 52h) [reset = 0h] PROGRAM_MEM_02 is shown in Figure 72 and described in Table 67. Return to Summary Table. Figure 72. PROGRAM_MEM_02 Register 7 6 5 4 3 2 ADVANCE INFORMATION cmd01_msb R/W-0h Table 67. PROGRAM_MEM_02 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd01_msb R/W 0h Program memory data 8.6.1.54 PROGRAM_MEM_03 Register (Address = 53h) [reset = 0h] PROGRAM_MEM_03 is shown in Figure 73 and described in Table 68. Return to Summary Table. Figure 73. PROGRAM_MEM_03 Register 7 6 5 4 3 2 cmd01_lsb R/W-0h Table 68. PROGRAM_MEM_03 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd01_lsb R/W 0h Program memory data 8.6.1.55 PROGRAM_MEM_04 Register (Address = 54h) [reset = 0h] PROGRAM_MEM_04 is shown in Figure 74 and described in Table 69. Return to Summary Table. Figure 74. PROGRAM_MEM_04 Register 7 6 5 4 3 2 cmd02_msb R/W-0h Table 69. PROGRAM_MEM_04 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd02_msb R/W 0h Program memory data Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 63 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.6.1.56 PROGRAM_MEM_05 Register (Address = 55h) [reset = 0h] PROGRAM_MEM_05 is shown in Figure 75 and described in Table 70. Return to Summary Table. Figure 75. PROGRAM_MEM_05 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 cmd02_lsb R/W-0h Table 70. PROGRAM_MEM_05 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd02_lsb R/W 0h Program memory data 8.6.1.57 PROGRAM_MEM_06 Register (Address = 56h) [reset = 0h] PROGRAM_MEM_06 is shown in Figure 76 and described in Table 71. Return to Summary Table. ADVANCE INFORMATION Figure 76. PROGRAM_MEM_06 Register 7 6 5 4 3 2 cmd03_msb R/W-0h Table 71. PROGRAM_MEM_06 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd03_msb R/W 0h Program memory data 8.6.1.58 PROGRAM_MEM_07 Register (Address = 57h) [reset = 0h] PROGRAM_MEM_07 is shown in Figure 77 and described in Table 72. Return to Summary Table. Figure 77. PROGRAM_MEM_07 Register 7 6 5 4 3 2 cmd03_lsb R/W-0h Table 72. PROGRAM_MEM_07 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd03_lsb R/W 0h Program memory data 8.6.1.59 PROGRAM_MEM_08 Register (Address = 58h) [reset = 0h] PROGRAM_MEM_08 is shown in Figure 78 and described in Table 73. Return to Summary Table. Figure 78. PROGRAM_MEM_08 Register 7 6 5 4 3 2 cmd04_msb R/W-0h 64 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 73. PROGRAM_MEM_08 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd04_msb R/W 0h Program memory data 8.6.1.60 PROGRAM_MEM_09 Register (Address = 59h) [reset = 0h] PROGRAM_MEM_09 is shown in Figure 79 and described in Table 74. Return to Summary Table. Figure 79. PROGRAM_MEM_09 Register 7 6 5 4 3 2 1 0 1 0 1 0 cmd04_lsb R/W-0h Bit Field Type Reset Description 7–0 cmd04_lsb R/W 0h Program memory data ADVANCE INFORMATION Table 74. PROGRAM_MEM_09 Register Field Descriptions 8.6.1.61 PROGRAM_MEM_10 Register (Address = 5Ah) [reset = 0h] PROGRAM_MEM_10 is shown in Figure 80 and described in Table 75. Return to Summary Table. Figure 80. PROGRAM_MEM_10 Register 7 6 5 4 3 2 cmd05_msb R/W-0h Table 75. PROGRAM_MEM_10 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd05_msb R/W 0h Program memory data 8.6.1.62 PROGRAM_MEM_11 Register (Address = 5Bh) [reset = 0h] PROGRAM_MEM_11 is shown in Figure 81 and described in Table 76. Return to Summary Table. Figure 81. PROGRAM_MEM_11 Register 7 6 5 4 3 2 cmd05_lsb R/W-0h Table 76. PROGRAM_MEM_11 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd05_lsb R/W 0h Program memory data 8.6.1.63 PROGRAM_MEM_12 Register (Address = 5Ch) [reset = 0h] PROGRAM_MEM_12 is shown in Figure 82 and described in Table 77. Return to Summary Table. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 65 LP5569 SNVSAP8 – JULY 2017 www.ti.com Figure 82. PROGRAM_MEM_12 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 cmd06_msb R/W-0h Table 77. PROGRAM_MEM_12 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd06_msb R/W 0h Program memory data 8.6.1.64 PROGRAM_MEM_13 Register (Address = 5Dh) [reset = 0h] PROGRAM_MEM_13 is shown in Figure 83 and described in Table 78. Return to Summary Table. Figure 83. PROGRAM_MEM_13 Register 7 6 5 4 3 2 cmd06_lsb R/W-0h ADVANCE INFORMATION Table 78. PROGRAM_MEM_13 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd06_lsb R/W 0h Program memory data 8.6.1.65 PROGRAM_MEM_14 Register (Address = 5Eh) [reset = 0h] PROGRAM_MEM_14 is shown in Figure 84 and described in Table 79. Return to Summary Table. Figure 84. PROGRAM_MEM_14 Register 7 6 5 4 3 2 cmd07_msb R/W-0h Table 79. PROGRAM_MEM_14 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd07_msb R/W 0h Program memory data 8.6.1.66 PROGRAM_MEM_15 Register (Address = 5Fh) [reset = 0h] PROGRAM_MEM_15 is shown in Figure 85 and described in Table 80. Return to Summary Table. Figure 85. PROGRAM_MEM_15 Register 7 6 5 4 3 2 cmd07_lsb R/W-0h Table 80. PROGRAM_MEM_15 Register Field Descriptions 66 Bit Field Type Reset Description 7–0 cmd07_lsb R/W 0h Program memory data Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 8.6.1.67 PROGRAM_MEM_16 Register (Address = 60h) [reset = 0h] PROGRAM_MEM_16 is shown in Figure 86 and described in Table 81. Return to Summary Table. Figure 86. PROGRAM_MEM_16 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 cmd08_msb R/W-0h Table 81. PROGRAM_MEM_16 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd08_msb R/W 0h Program memory data 8.6.1.68 PROGRAM_MEM_17 Register (Address = 61h) [reset = 0h] PROGRAM_MEM_17 is shown in Figure 87 and described in Table 82. ADVANCE INFORMATION Return to Summary Table. Figure 87. PROGRAM_MEM_17 Register 7 6 5 4 3 2 cmd08_lsb R/W-0h Table 82. PROGRAM_MEM_17 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd08_lsb R/W 0h Program memory data 8.6.1.69 PROGRAM_MEM_18 Register (Address = 62h) [reset = 0h] PROGRAM_MEM_18 is shown in Figure 88 and described in Table 83. Return to Summary Table. Figure 88. PROGRAM_MEM_18 Register 7 6 5 4 3 2 cmd09_msb R/W-0h Table 83. PROGRAM_MEM_18 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd09_msb R/W 0h Program memory data 8.6.1.70 PROGRAM_MEM_19 Register (Address = 63h) [reset = 0h] PROGRAM_MEM_19 is shown in Figure 89 and described in Table 84. Return to Summary Table. Figure 89. PROGRAM_MEM_19 Register 7 6 5 4 3 2 cmd09_lsb R/W-0h Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 67 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 84. PROGRAM_MEM_19 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd09_lsb R/W 0h Program memory data 8.6.1.71 PROGRAM_MEM_20 Register (Address = 64h) [reset = 0h] PROGRAM_MEM_20 is shown in Figure 90 and described in Table 85. Return to Summary Table. Figure 90. PROGRAM_MEM_20 Register 7 6 5 4 3 2 1 0 1 0 1 0 cmd10_msb R/W-0h Table 85. PROGRAM_MEM_20 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd10_msb R/W 0h Program memory data ADVANCE INFORMATION 8.6.1.72 PROGRAM_MEM_21 Register (Address = 65h) [reset = 0h] PROGRAM_MEM_21 is shown in Figure 91 and described in Table 86. Return to Summary Table. Figure 91. PROGRAM_MEM_21 Register 7 6 5 4 3 2 cmd10_lsb R/W-0h Table 86. PROGRAM_MEM_21 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd10_lsb R/W 0h Program memory data 8.6.1.73 PROGRAM_MEM_22 Register (Address = 66h) [reset = 0h] PROGRAM_MEM_22 is shown in Figure 92 and described in Table 87. Return to Summary Table. Figure 92. PROGRAM_MEM_22 Register 7 6 5 4 3 2 cmd11_msb R/W-0h Table 87. PROGRAM_MEM_22 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd11_msb R/W 0h Program memory data 8.6.1.74 PROGRAM_MEM_23 Register (Address = 67h) [reset = 0h] PROGRAM_MEM_23 is shown in Figure 93 and described in Table 88. Return to Summary Table. 68 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Figure 93. PROGRAM_MEM_23 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 cmd11_lsb R/W-0h Table 88. PROGRAM_MEM_23 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd11_lsb R/W 0h Program memory data 8.6.1.75 PROGRAM_MEM_24 Register (Address = 68h) [reset = 0h] PROGRAM_MEM_24 is shown in Figure 94 and described in Table 89. Return to Summary Table. Figure 94. PROGRAM_MEM_24 Register 7 6 5 4 3 2 ADVANCE INFORMATION cmd12_msb R/W-0h Table 89. PROGRAM_MEM_24 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd12_msb R/W 0h Program memory data 8.6.1.76 PROGRAM_MEM_25 Register (Address = 69h) [reset = 0h] PROGRAM_MEM_25 is shown in Figure 95 and described in Table 90. Return to Summary Table. Figure 95. PROGRAM_MEM_25 Register 7 6 5 4 3 2 cmd12_lsb R/W-0h Table 90. PROGRAM_MEM_25 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd12_lsb R/W 0h Program memory data 8.6.1.77 PROGRAM_MEM_26 Register (Address = 6Ah) [reset = 0h] PROGRAM_MEM_26 is shown in Figure 96 and described in Table 91. Return to Summary Table. Figure 96. PROGRAM_MEM_26 Register 7 6 5 4 3 2 cmd13_msb R/W-0h Table 91. PROGRAM_MEM_26 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd13_msb R/W 0h Program memory data Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 69 LP5569 SNVSAP8 – JULY 2017 www.ti.com 8.6.1.78 PROGRAM_MEM_27 Register (Address = 6Bh) [reset = 0h] PROGRAM_MEM_27 is shown in Figure 97 and described in Table 92. Return to Summary Table. Figure 97. PROGRAM_MEM_27 Register 7 6 5 4 3 2 1 0 1 0 1 0 1 0 cmd13_lsb R/W-0h Table 92. PROGRAM_MEM_27 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd13_lsb R/W 0h Program memory data 8.6.1.79 PROGRAM_MEM_28 Register (Address = 6Ch) [reset = 0h] PROGRAM_MEM_28 is shown in Figure 98 and described in Table 93. Return to Summary Table. ADVANCE INFORMATION Figure 98. PROGRAM_MEM_28 Register 7 6 5 4 3 2 cmd14_msb R/W-0h Table 93. PROGRAM_MEM_28 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd14_msb R/W 0h Program memory data 8.6.1.80 PROGRAM_MEM_29 Register (Address = 6Dh) [reset = 0h] PROGRAM_MEM_29 is shown in Figure 99 and described in Table 94. Return to Summary Table. Figure 99. PROGRAM_MEM_29 Register 7 6 5 4 3 2 cmd14_lsb R/W-0h Table 94. PROGRAM_MEM_29 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd14_lsb R/W 0h Program memory data 8.6.1.81 PROGRAM_MEM_30 Register (Address = 6Eh) [reset = 0h] PROGRAM_MEM_30 is shown in Figure 100 and described in Table 95. Return to Summary Table. Figure 100. PROGRAM_MEM_30 Register 7 6 5 4 3 2 cmd15_msb R/W-0h 70 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 95. PROGRAM_MEM_30 Register Field Descriptions Bit Field Type Reset Description 7–0 cmd15_msb R/W 0h Program memory data 8.6.1.82 PROGRAM_MEM_31 Register (Address = 6Fh) [reset = 0h] PROGRAM_MEM_31 is shown in Figure 101 and described in Table 96. Return to Summary Table. Figure 101. PROGRAM_MEM_31 Register 7 6 5 4 3 2 1 0 1 eng1_map_ma ster_fader1 R-0h 0 eng1_map_led 8 R-0h cmd15_lsb R/W-0h Bit Field Type Reset Description 7–0 cmd15_lsb R/W 0h Program memory data 8.6.1.83 ENGINE1_MAPPING1 Register (Address = 70h) [reset = 0h] ENGINE1_MAPPING1 is shown in Figure 102 and described in Table 97. Return to Summary Table. Figure 102. ENGINE1_MAPPING1 Register 7 6 5 4 3 2 RESERVED R-0h Table 97. ENGINE1_MAPPING1 Register Field Descriptions Bit Field Type Reset 7–2 RESERVED Description R 0h 1 eng1_map_master_fader1 R 0h 0 = Program execution engine 1 master fader disabled. 1 = Program execution engine 1 master fader enabled. 0 eng1_map_led8 0h 0 = LED8 is not mapped to the program execution engine 1. 1 = LED8 is mapped to the program execution engine 1. R 8.6.1.84 ENGINE1_MAPPING2 Register (Address = 71h) [reset = 0h] ENGINE1_MAPPING2 is shown in Figure 103 and described in Table 98. Return to Summary Table. Figure 103. ENGINE1_MAPPING2 Register 7 eng1_map_led 7 R-0h 6 eng1_map_led 6 R-0h 5 eng1_map_led 5 R-0h 4 eng1_map_led 4 R-0h 3 eng1_map_led 3 R-0h 2 eng1_map_led 2 R-0h 1 eng1_map_led 1 R-0h 0 eng1_map_led 0 R-0h Table 98. ENGINE1_MAPPING2 Register Field Descriptions Bit 7 Field Type Reset Description eng1_map_led7 R 0h 0 = LED7 is not mapped to program execution engine 1. 1 = LED7 is mapped to program execution engine 1. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 71 ADVANCE INFORMATION Table 96. PROGRAM_MEM_31 Register Field Descriptions LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 98. ENGINE1_MAPPING2 Register Field Descriptions (continued) Bit Field Type Reset Description 6 eng1_map_led6 R 0h 0 = LED6 is not mapped to program execution engine 1. 1 = LED6 is mapped to program execution engine 1. 5 eng1_map_led5 R 0h 0 = LED5 is not mapped to program execution engine 1. 1 = LED5 is mapped to program execution engine 1. 4 eng1_map_led4 R 0h 0 = LED4 is not mapped to program execution engine 1. 1 = LED4 is mapped to program execution engine 1. 3 eng1_map_led3 R 0h 0 = LED3 is not mapped to program execution engine 1. 1 = LED3 is mapped to program execution engine 1. 2 eng1_map_led2 R 0h 0 = LED2 is not mapped to program execution engine 1. 1 = LED2 is mapped to program execution engine 1. 1 eng1_map_led1 R 0h 0 = LED1 is not mapped to program execution engine 1. 1 = LED1 is mapped to program execution engine 1. 0 eng1_map_led0 R 0h 0 = LED0 is not mapped to program execution engine 1. 1 = LED0 is mapped to program execution engine 1. 8.6.1.85 ENGINE2_MAPPING1 Register (Address = 72h) [reset = 0h] ADVANCE INFORMATION ENGINE2_MAPPING1 is shown in Figure 104 and described in Table 99. Return to Summary Table. Figure 104. ENGINE2_MAPPING1 Register 7 6 5 4 3 2 RESERVED R-0h 1 eng2_map_ma ster_fader2 R-0h 0 eng2_map_led 8 R-0h Table 99. ENGINE2_MAPPING1 Register Field Descriptions Bit Field Type Reset 7–2 RESERVED R 0h 1 eng2_map_master_fader2 R 0h 0 = Program execution engine 2 master fader disabled. 1 = Program execution engine 2 master fader enabled. 0 eng2_map_led8 0h 0 = LED8 is not mapped to the program execution engine 2. 1 = LED8 is mapped to the program execution engine 2. R Description 8.6.1.86 ENGINE2_MAPPING2 Register (Address = 73h) [reset = 0h] ENGINE2_MAPPING2 is shown in Figure 105 and described in Table 100. Return to Summary Table. Figure 105. ENGINE2_MAPPING2 Register 7 eng2_map_led 7 R-0h 6 eng2_map_led 6 R-0h 5 eng2_map_led 5 R-0h 4 eng2_map_led 4 R-0h 3 eng2_map_led 3 R-0h 2 eng2_map_led 2 R-0h 1 eng2_map_led 1 R-0h 0 eng2_map_led 0 R-0h Table 100. ENGINE2_MAPPING2 Register Field Descriptions Bit 72 Field Type Reset Description 7 eng2_map_led7 R 0h 0 = LED7 is not mapped to program execution engine 2. 1 = LED7 is mapped to program execution engine 2. 6 eng2_map_led6 R 0h 0 = LED6 is not mapped to program execution engine 2. 1 = LED6 is mapped to program execution engine 2. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 100. ENGINE2_MAPPING2 Register Field Descriptions (continued) Bit Field Type Reset Description 5 eng2_map_led5 R 0h 0 = LED5 is not mapped to program execution engine 2. 1 = LED5 is mapped to program execution engine 2. 4 eng2_map_led4 R 0h 0 = LED4 is not mapped to program execution engine 2. 1 = LED4 is mapped to program execution engine 2. 3 eng2_map_led3 R 0h 0 = LED3 is not mapped to program execution engine 2. 1 = LED3 is mapped to program execution engine 2. 2 eng2_map_led2 R 0h 0 = LED2 is not mapped to program execution engine 2. 1 = LED2 is mapped to program execution engine 2. 1 eng2_map_led1 R 0h 0 = LED1 is not mapped to program execution engine 2. 1 = LED1 is mapped to program execution engine 2. 0 eng2_map_led0 R 0h 0 = LED0 is not mapped to program execution engine 2. 1 = LED0 is mapped to program execution engine 2. 8.6.1.87 ENGINE3_MAPPING1 Register (Address = 74h) [reset = 0h] Return to Summary Table. Figure 106. ENGINE3_MAPPING1 Register 7 6 5 4 3 2 1 eng3_map_ma ster_fader3 R-0h RESERVED R-0h 0 eng3_map_led 8 R-0h Table 101. ENGINE3_MAPPING1 Register Field Descriptions Bit Field Type Reset 7–2 RESERVED R 0h 1 eng3_map_master_fader3 R 0h 0 = Program execution engine 3 master fader disabled. 1 = Program execution engine 3 master fader enabled. 0 eng3_map_led8 0h 0 = LED8 is not mapped to the program execution engine 3. 1 = LED8 is mapped to the program execution engine 3. R Description 8.6.1.88 ENGINE3_MAPPING2 Register (Address = 75h) [reset = 0h] ENGINE3_MAPPING2 is shown in Figure 107 and described in Table 102. Return to Summary Table. Figure 107. ENGINE3_MAPPING2 Register 7 eng3_map_led 7 R-0h 6 eng3_map_led 6 R-0h 5 eng3_map_led 5 R-0h 4 eng3_map_led 4 R-0h 3 eng3_map_led 3 R-0h 2 eng3_map_led 2 R-0h 1 eng3_map_led 1 R-0h 0 eng3_map_led 0 R-0h Table 102. ENGINE3_MAPPING2 Register Field Descriptions Bit Field Type Reset Description 7 eng3_map_led7 R 0h 0 = LED7 is not mapped to program execution engine 3. 1 = LED7 is mapped to program execution engine 3. 6 eng3_map_led6 R 0h 0 = LED6 is not mapped to program execution engine 3. 1 = LED6 is mapped to program execution engine 3. 5 eng3_map_led5 R 0h 0 = LED5 is not mapped to program execution engine 3. 1 = LED5 is mapped to program execution engine 3. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 73 ADVANCE INFORMATION ENGINE3_MAPPING1 is shown in Figure 106 and described in Table 101. LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 102. ENGINE3_MAPPING2 Register Field Descriptions (continued) Bit Field Type Reset Description 4 eng3_map_led4 R 0h 0 = LED4 is not mapped to program execution engine 3. 1 = LED4 is mapped to program execution engine 3. 3 eng3_map_led3 R 0h 0 = LED3 is not mapped to program execution engine 3. 1 = LED3 is mapped to program execution engine 3. 2 eng3_map_led2 R 0h 0 = LED2 is not mapped to program execution engine 3. 1 = LED2 is mapped to program execution engine 3. 1 eng3_map_led1 R 0h 0 = LED1 is not mapped to program execution engine 3. 1 = LED1 is mapped to program execution engine 3. 0 eng3_map_led0 R 0h 0 = LED0 is not mapped to program execution engine 3. 1 = LED0 is mapped to program execution engine 3. 8.6.1.89 PWM_CONFIG Register (Address = 80h) [reset = 4h] PWM_CONFIG is shown in Figure 108 and described in Table 103. Return to Summary Table. ADVANCE INFORMATION Figure 108. PWM_CONFIG Register 7 6 pwm_min_pulse_width 5 4 RESERVED R/W-0h R/W-0h 3 pwm_input_edg e_sel R/W-0h 2 1 pwm_input_hysteresis 0 R/W-4h Table 103. PWM_CONFIG Register Field Descriptions Bit Field Type Reset Description 7–6 pwm_min_pulse_width R/W 0h Minimum output PWM pulse width allowed. Applies to all PWM outputs. 00 = Minimum PWM pulse width = 1 clk period (100 ns, default) 01 = Minimum PWM pulse width = 2 clk periods (200 ns) 10 = Minimum PWM pulse width = 3 clk periods (300 ns) 11 = Minimum PWM pulse width = 4 clk periods (400 ns) 5–4 RESERVED R/W 0h 3 pwm_input_edge_sel R/W 0h PWM input period measurement select. 0h = PWM period is measured from rising edge to rising edge. (default) 1h = PWM period is measured from falling edge to falling edge. 2–0 pwm_input_hysteresis R/W 4h PWM input hysteresis select 0h = No hysteresis 1h = 1 LSB 2h = 2 LSBs 3h = 3 LSBs 4h = 4 LSBs (default) 5h = 5 LSBs 6h = 6 LSBs 7h = 7 LSBs 8.6.1.90 LED_FAULT1 Register (Address = 81h) [reset = 0h] LED_FAULT1 is shown in Figure 109 and described in Table 104. Return to Summary Table. Figure 109. LED_FAULT1 Register 7 74 6 5 4 RESERVED R-0h 3 Submit Documentation Feedback 2 1 0 led_fault8 R-0h Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Table 104. LED_FAULT1 Register Field Descriptions Bit Field Type Reset 7–1 RESERVED R 0h led_fault8 R 0h 0 Description LED fault status for LED8 8.6.1.91 LED_FAULT2 Register (Address = 82h) [reset = 0h] LED_FAULT2 is shown in Figure 110 and described in Table 105. Return to Summary Table. Figure 110. LED_FAULT2 Register 7 6 5 4 3 2 1 0 1 vdd_uvlo 0 tsd R-0h R-0h led_fault_7to0 R-0h Field Type Reset Description 7–0 led_fault_7to0 R 0h LED fault status for LED7...LED0 ADVANCE INFORMATION Table 105. LED_FAULT2 Register Field Descriptions Bit 8.6.1.92 GENERAL_FAULT Register (Address = 83h) [reset = 4h] GENERAL_FAULT is shown in Figure 111 and described in Table 106. Return to Summary Table. Figure 111. GENERAL_FAULT Register 7 6 5 RESERVED 4 3 R-0h 2 cp_cap_missin g R-1h Table 106. GENERAL_FAULT Register Field Descriptions Bit Field Type Reset 7–3 RESERVED R 0h Description 2 cp_cap_missing R 1h 0 = CP capacitor detected 1 = CP capacitor missing or CP disabled 1 vdd_uvlo R 0h 0 = No UVLO fault 1 = UVLO fault 0 tsd R 0h 0 = No TSD fault 1 = TSD fault Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 75 LP5569 SNVSAP8 – JULY 2017 www.ti.com 9 Application and Implementation NOTE Information in the following applications sections is not part of the TI component specification, and TI does not warrant its accuracy or completeness. TI’s customers are responsible for determining suitability of components for their purposes. Customers should validate and test their design implementation to confirm system functionality. 9.1 Application Information The LP5569 device is designed as an autonomous lighting controller for handheld devices. In these devices, extremely small form factor is needed; therefore, the LP5569 device is designed to require only four small capacitors: input and output, as well as flying capacitor 1 and flying capacitor 2 for the charge pump. If the system has other LED input voltage(s) available, and the charge pump is not needed in the application, the charge-pump capacitors can be omitted, thus reducing the solution even further. The LED can be an RGB LED or any color if desired. 9.2 Typical Applications ADVANCE INFORMATION 9.2.1 Single LP5569 Application Figure 112 shows an example of a typical application that uses a charge pump to get high-enough voltage to drive green and blue LEDs. Red LEDs are powered from VVIN for reduced power consumption. The device, with a voltage range of 2.5 V to 4.5 V, is powered from three AA batteries typically 3.6 V with 1.2-V cell voltage. Design Requirements shows related design parameters for this example. In this example, input voltage with AA batteries is typically over 3.6 V (cell voltage >1.2 V) for half of the battery lifetime. During this time the charge pump operates in 1× mode, as the input voltage is enough for the green and blue LEDs. As the battery voltage continues to decrease, the LP5569 device detects that the LED headroom voltage is too low and automatically configures the charge pump to the 1.5× mode. In 1.5× mode, the LEDs can be powered with VIN down to 2.5 V, where the batteries are almost empty. 76 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 Typical Applications (continued) CFLY1 1 µF C1– VIN = 2.5 V to 4.5 V, 3.6V typ CIN 1 µF 3 x AA DC/DC C1+ CFLY2 C2– VIN C2 VOUT COUT 1 µF PGND V1P8 LED0 VIN LED1 LED2 SCL µC EN/PWM LED3 LED4 CLK LED5 GPIO/TRIG/INT LED6 ADDR AGND ADVANCE INFORMATION SDA LED7 LED8 Copyright © 2017, Texas Instruments Incorporated Figure 112. LP5569 Typical Application 9.2.1.1 Design Requirements DESIGN PARAMETER EXAMPLE VALUE Input voltage range 2.5 V to 5.5 V LED VF (maximum) 3.2 V LED current 25.5 mA maximum Input capacitor CIN = 1 µF Output capacitor COUT = 1 µF Charge pump flying capacitors CFLY1 = CFLY2 = 1 µF Charge-pump mode 1.5× or automatic 9.2.1.2 Detailed Design Procedure The LP5569 device requires four external capacitors for proper operation. TI recommends surface-mount multilayer ceramic capacitors. Tantalum and aluminum capacitors are not recommended because of their high ESR. Multi-layer ceramic capacitors must always be used for the flying capacitors (CFLY1 and CFLY2). Ceramic capacitors with an X7R or X5R temperature characteristic are preferred for use with the LP5569 device. These capacitors have tight capacitance tolerance (as good as ±10%) and hold their value over temperature (X7R: ±15% over −55°C to 125°C; X5R: ±15% over −55°C to 85°C). It is necessary to have at least 0.24 μF of effective capacitance for each of the flying capacitors under all operating conditions to ensure proper operation. The output capacitor COUT directly affects the magnitude of the output ripple voltage. In general, the higher the value of COUT, the lower the output-ripple magnitude. For proper operation TI recommends having at least 0.5 μF of effective capacitance for CIN and COUT under all operating conditions. The voltage rating of all four capacitors must be 6.3 V (minimum), with 10 V preferred. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 77 LP5569 SNVSAP8 – JULY 2017 www.ti.com Table 107 lists suitable external components from some leading ceramic capacitor manufacturers. Table 107. Suitable External Components MODEL TYPE VENDOR VOLTAGE RATING (V) PACKAGE SIZE C1005X5R1A105K Ceramic X5R TDK 10 0402 LMK105BJ105KV-F Ceramic X5R Taiyo Yuden 10 0402 ECJ0EB1A105M Ceramic X5R Panasonic 10 0402 9.2.1.3 Application Curves Graph Placeholder Graph Placeholder ADVANCE INFORMATION C00 Figure 113. C00 Figure 114. 9.2.2 Using Multiple LP5569 Devices The LP5569 device enables up to eight parallel devices together, which can drive up to 24 RGB LEDs or 72 single LEDs. Figure 115 shows the connections for two LP5569 devices for six RGB LEDs. Note that the LED6, LED7, and LED8 outputs are used for the red LEDs. The SCL and SDA lines must each have a pullup resistor placed somewhere on the line (R2 and R3; the pullup resistors are normally located on the bus master). In typical applications, values of 1.8 kΩ to 4.7 kΩ are used, depending on the bus capacitance, I/O voltage, and the desired communication speed. GPIO/TRIG/INT is open drain, which requires a pullup resistor. The typical value for R1 is from 120 kΩ to 180 kΩ for two LP5569 devices. 78 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 C1 1 µF 1.8 V 2.5 V to 5.5 V VIN C1+ C1Å C2+ C2Å V1P8 VOUT VIN CIN1 1 µF R1 C2 1 µF PGND VIN COUT1 1 µF R2 R3 LED0 LED1 LED2 SCL SDA MCU GPIO/TRIG/INT EN/PWM LED3 LED4 LED5 CLK LED6 LED7 LED8 AGND C3 1 µF ADVANCE INFORMATION ADDR C4 1 µF VIN 1.8 V CIN2 1 µF C1+ C1Å C2+ C2Å V1P8 VOUT VIN PGND SCL SDA COUT2 1 µF LED0 LED1 LED2 GPIO/TRIG/INT EN/PWM CLK LED3 LED4 LED5 ADDR AGND LED6 LED7 LED8 Copyright © 2016, Texas Instruments Incorporated Figure 115. Dual LP5569 Application Example Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 79 LP5569 SNVSAP8 – JULY 2017 www.ti.com 9.2.2.1 Design Requirements DESIGN PARAMETER EXAMPLE VALUE Input voltage range 2.5 V to 5.5 V LED VF (maximum) 3.2 V LED current 25.5 mA maximum Input capacitor CIN = 1 µF Output capacitor COUT= 1 µF Charge pump flying capacitors CFLY1 = CFLY2 = 1 µF Charge-pump mode 1.5× or automatic 9.2.2.2 Detailed Design Procedure External component selection follows the earlier example (see Detailed Design Procedure). 9.2.2.3 Application Curves ADVANCE INFORMATION Graph Placeholder Graph Placeholder C00 Figure 116. Charge Pump Start-Up Without Load C00 Figure 117. PWM-Dimming Dither Feature 10 Power Supply Recommendations The device is designed to operate from a VVIN input-voltage supply range between 2.5 V and 5.5 V. This input supply must be well-regulated and able to withstand maximum input current and maintain stable voltage without voltage drop even in a load-transition condition (start-up or rapid brightness change). The resistance of the input supply rail must be low enough that the input-current transient does not cause a drop below 2.5-V in the LP5569 VVIN supply voltage. 80 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 11 Layout 11.1 Layout Guidelines The charge pump basically has three areas of concern regarding component placement: • The flying capacitors • The output capacitor • The input capacitor 11.1.1 Flying Capacitor Placement The charge pump flying capacitors must quickly charge up and then supply current to the output every switching cycle. Because the charge-pump switching frequency is 1.25 MHz, the capacitor must be a low-inductance and low-resistance ceramic. Additionally, there must be a low-inductive connection between the flying capacitors and LP5569 pins C1P, C2P, C1M, and C2M. The charge-pump output capacitor detects the switched charge from the flying capacitor every switching cycle (1.25 MHz). This fast switching action requires that a low-inductance and low-resistance capacitor (ceramic) be used and that the output capacitor be connected to the LP5569 VOUT pin with a low-inductance connection. This is done by placing the output capacitor as close as possible to the VOUT and PGND pins of the LP5569 device, with connections on the same layer to avoid vias. 11.1.3 Input Capacitor Placement The charge pump input capacitor detects the switched charge to the flying capacitor every switching cycle (0.8 µs). This fast switching action requires that a low-inductance and low-resistance capacitor (ceramic) be used and that the input capacitor be connected to the LP5569 VIN pin with a low-inductive connection. This is done by placing the output capacitor as close as possible to the VOUT and AGND pins of the LP5569 device, with connections on the same layer to avoid vias. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 81 ADVANCE INFORMATION 11.1.2 Output Capacitor Placement LP5569 SNVSAP8 – JULY 2017 www.ti.com 11.2 Layout Example To LEDs LED6 LED5 LED4 LED3 LED2 LED1 LED0 LED7 ADDR LED8 PGND V1P8 ADVANCE INFORMATION SCL VOUT Vias to GND plane C2Å SDA C1Å INT Control signals CLK EN/PWM AGND VIN C1+ C2+ Input Voltage Copyright © 2017, Texas Instruments Incorporated Figure 118. LP5569 Layout Example 82 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 LP5569 www.ti.com SNVSAP8 – JULY 2017 12 Device and Documentation Support 12.1 Device Support 12.1.1 Third-Party Products Disclaimer TI'S PUBLICATION OF INFORMATION REGARDING THIRD-PARTY PRODUCTS OR SERVICES DOES NOT CONSTITUTE AN ENDORSEMENT REGARDING THE SUITABILITY OF SUCH PRODUCTS OR SERVICES OR A WARRANTY, REPRESENTATION OR ENDORSEMENT OF SUCH PRODUCTS OR SERVICES, EITHER ALONE OR IN COMBINATION WITH ANY TI PRODUCT OR SERVICE. 12.2 Receiving Notification of Documentation Updates To receive notification of documentation updates, navigate to the device product folder on ti.com. In the upper right corner, click on Alert me to register and receive a weekly digest of any product information that has changed. For change details, review the revision history included in any revised document. The following links connect to TI community resources. Linked contents are provided "AS IS" by the respective contributors. They do not constitute TI specifications and do not necessarily reflect TI's views; see TI's Terms of Use. TI E2E™ Online Community TI's Engineer-to-Engineer (E2E) Community. Created to foster collaboration among engineers. At e2e.ti.com, you can ask questions, share knowledge, explore ideas and help solve problems with fellow engineers. Design Support TI's Design Support Quickly find helpful E2E forums along with design support tools and contact information for technical support. 12.4 Trademarks E2E is a trademark of Texas Instruments. Bluetooth is a registered trademark of Bluetooth SIG, Inc.. All other trademarks are the property of their respective owners. 12.5 Electrostatic Discharge Caution These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in conductive foam during storage or handling to prevent electrostatic damage to the MOS gates. 12.6 Glossary SLYZ022 — TI Glossary. This glossary lists and explains terms, acronyms, and definitions. 13 Mechanical, Packaging, and Orderable Information The following pages include mechanical, packaging, and orderable information. This information is the mostcurrent data available for the designated device. This data is subject to change without notice and without revision of this document. For browser-based versions of this data sheet, see the left-hand navigation pane. Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Product Folder Links: LP5569 83 ADVANCE INFORMATION 12.3 Community Resources PACKAGE OPTION ADDENDUM www.ti.com 9-Aug-2017 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Pins Package Drawing Qty Eco Plan Lead/Ball Finish MSL Peak Temp (2) (6) (3) Op Temp (°C) Device Marking (4/5) LP5569RTWR PREVIEW WQFN RTW 24 3000 TBD Call TI Call TI -40 to 85 PLP5569RTWR ACTIVE WQFN RTW 24 3000 TBD Call TI Call TI -40 to 85 (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) RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may reference these types of products as "Pb-Free". RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption. Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based flame retardants must also meet the <=1000ppm threshold requirement. (3) MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. (4) There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device. (5) Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation of the previous line and the two combined represent the entire Device Marking for that device. (6) Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish value exceeds the maximum column width. 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 Samples IMPORTANT NOTICE Texas Instruments Incorporated (TI) reserves the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. TI’s published terms of sale for semiconductor products (http://www.ti.com/sc/docs/stdterms.htm) apply to the sale of packaged integrated circuit products that TI has qualified and released to market. Additional terms may apply to the use or sale of other types of TI products and services. Reproduction of significant portions of TI information in TI data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such reproduced 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. Buyers and others who are developing systems that incorporate TI products (collectively, “Designers”) understand and agree that Designers remain responsible for using their independent analysis, evaluation and judgment in designing their applications and that Designers have full and exclusive responsibility to assure the safety of Designers' applications and compliance of their applications (and of all TI products used in or for Designers’ applications) with all applicable regulations, laws and other applicable requirements. Designer represents that, with respect to their applications, Designer has all the necessary expertise to create and implement safeguards that (1) anticipate dangerous consequences of failures, (2) monitor failures and their consequences, and (3) lessen the likelihood of failures that might cause harm and take appropriate actions. Designer agrees that prior to using or distributing any applications that include TI products, Designer will thoroughly test such applications and the functionality of such TI products as used in such applications. TI’s provision of technical, application or other design advice, quality characterization, reliability data or other services or information, including, but not limited to, reference designs and materials relating to evaluation modules, (collectively, “TI Resources”) are intended to assist designers who are developing applications that incorporate TI products; by downloading, accessing or using TI Resources in any way, Designer (individually or, if Designer is acting on behalf of a company, Designer’s company) agrees to use any particular TI Resource solely for this purpose and subject to the terms of this Notice. TI’s provision of TI Resources does not expand or otherwise alter TI’s applicable published warranties or warranty disclaimers for TI products, and no additional obligations or liabilities arise from TI providing such TI Resources. TI reserves the right to make corrections, enhancements, improvements and other changes to its TI Resources. TI has not conducted any testing other than that specifically described in the published documentation for a particular TI Resource. Designer is authorized to use, copy and modify any individual TI Resource only in connection with the development of applications that include the TI product(s) identified in such TI Resource. NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information regarding or referencing third-party products or services does not constitute a license to use such products or services, or a warranty or endorsement thereof. Use of TI Resources 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. TI RESOURCES ARE PROVIDED “AS IS” AND WITH ALL FAULTS. TI DISCLAIMS ALL OTHER WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED, REGARDING RESOURCES OR USE THEREOF, INCLUDING BUT NOT LIMITED TO ACCURACY OR COMPLETENESS, TITLE, ANY EPIDEMIC FAILURE WARRANTY AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHTS. TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR INDEMNIFY DESIGNER AGAINST ANY CLAIM, INCLUDING BUT NOT LIMITED TO ANY INFRINGEMENT CLAIM THAT RELATES TO OR IS BASED ON ANY COMBINATION OF PRODUCTS EVEN IF DESCRIBED IN TI RESOURCES OR OTHERWISE. IN NO EVENT SHALL TI BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, COLLATERAL, INDIRECT, PUNITIVE, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES IN CONNECTION WITH OR ARISING OUT OF TI RESOURCES OR USE THEREOF, AND REGARDLESS OF WHETHER TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Unless TI has explicitly designated an individual product as meeting the requirements of a particular industry standard (e.g., ISO/TS 16949 and ISO 26262), TI is not responsible for any failure to meet such industry standard requirements. Where TI specifically promotes products as facilitating functional safety or as compliant with industry functional safety standards, such products are intended to help enable customers to design and create their own applications that meet applicable functional safety standards and requirements. Using products in an application does not by itself establish any safety features in the application. Designers must ensure compliance with safety-related requirements and standards applicable to their applications. Designer may not use any TI products in life-critical medical equipment unless authorized officers of the parties have executed a special contract specifically governing such use. Life-critical medical equipment is medical equipment where failure of such equipment would cause serious bodily injury or death (e.g., life support, pacemakers, defibrillators, heart pumps, neurostimulators, and implantables). Such equipment includes, without limitation, all medical devices identified by the U.S. Food and Drug Administration as Class III devices and equivalent classifications outside the U.S. TI may expressly designate certain products as completing a particular qualification (e.g., Q100, Military Grade, or Enhanced Product). Designers agree that it has the necessary expertise to select the product with the appropriate qualification designation for their applications and that proper product selection is at Designers’ own risk. Designers are solely responsible for compliance with all legal and regulatory requirements in connection with such selection. Designer will fully indemnify TI and its representatives against any damages, costs, losses, and/or liabilities arising out of Designer’s noncompliance with the terms and provisions of this Notice. Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2017, Texas Instruments Incorporated