SNVSCP2A March   2025  – August 2025 LP5815

PRODUCTION DATA  

  1.   1
  2. Features
  3. Applications
  4. Description
  5. Device Comparison
  6. Pin Configuration and Functions
  7. Specifications
    1. 6.1 Absolute Maximum Ratings
    2. 6.2 ESD Ratings
    3. 6.3 Recommended Operating Conditions
    4. 6.4 Thermal Information
    5. 6.5 Electrical Characteristics
    6. 6.6 Timing Requirements
    7. 6.7 Timing Diagrams
    8. 6.8 Typical Characteristics
  8. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagram
    3. 7.3 Feature Description
      1. 7.3.1 Analog Dimming
      2. 7.3.2 PWM Dimming
      3. 7.3.3 Sloper
      4. 7.3.4 Autonomous Animation Control
        1. 7.3.4.1 Animation Engine Unit
        2. 7.3.4.2 Animation Pattern Unit
        3. 7.3.4.3 Animation Control
      5. 7.3.5 Instant Blinking
      6. 7.3.6 Protections
        1. 7.3.6.1 UVLO
        2. 7.3.6.2 Thermal Shutdown
    4. 7.4 Device Functional Modes
      1. 7.4.1 Initialization Mode
      2. 7.4.2 Standby and Normal Mode
      3. 7.4.3 Instant Blinking Mode
      4. 7.4.4 Shutdown Mode
      5. 7.4.5 Thermal Shutdown Mode
    5. 7.5 Programming
      1. 7.5.1 I2C Data Tansactions
      2. 7.5.2 I2C Data Format
      3. 7.5.3 Command Description
    6. 7.6 Register Maps
  9. Application and Implementation
    1. 8.1 Application Information
    2. 8.2 Typical Application
      1. 8.2.1 Application
      2. 8.2.2 Design Parameters
      3. 8.2.3 Detailed Design Procedure
        1. 8.2.3.1 Program Procedure
        2. 8.2.3.2 Programming Example
      4. 8.2.4 Application Performance Plots
    3. 8.3 Power Supply Recommendations
    4. 8.4 Layout
      1. 8.4.1 Layout Guidelines
      2. 8.4.2 Layout Example
  10. Device and Documentation Support
    1. 9.1 Documentation Support
    2. 9.2 Receiving Notification of Documentation Updates
    3. 9.3 Support Resources
    4. 9.4 Trademarks
    5. 9.5 Electrostatic Discharge Caution
    6. 9.6 Glossary
  11. 10Revision History
  12. 11Mechanical, Packaging, and Orderable Information

Programming Example

To get the design parameters in Section 8.2.2, the following program steps can be referred.

After VCC powering up and wait around 1ms,

  1. Set INSTABLINK_DIS = 1 to disable instant blinking, set CHIP_EN = 1 to enable the device (Write 03h to register 00h)
  2. Set MAX_CURRENT = 1h to set 51mA maximum output LED current (Write 01h to register 01h)
  3. Set 51mA maximum current for red LEDs, 40.8mA maximum current for green and blue LEDs (Write FFh to registers 14h, write CCh to registers 15h and 16h)
  4. Enable all 3 LEDs (Write 07h to register 02h)
  5. Set red LED in manual mode, set green and blue LEDs in autonomous animation mode, and enable blue LED exponential PWM dimming (Write 46h to register 04h)
  6. Select ENGINE0 for green LED and ENGINE1 for blue LED (Write 10h to register 05h)
  7. Send UPDATE_CMD to make above step2, step4, step5 and step6 configurations take effect (Write 55h to register 0Fh)
  8. Set red LED PWM duty cycle as 50% (Write 80h to register 18h)

    After this step, the read LED is turned on.

  9. Check ENGINE_BUSY flag by reading the FLAG register (Read register 40h)
    • If ENGINE_BUSY = 1, send STOP_CMD to clear ENGINE_BUSY flag as showed in Internal Engine Busy Status (Write AAh to register 11h), then move to next step.
    • If ENGINE_BUSY = 0, move to next step directly.
  10. Select PATTERN0 for ENGINE0_ORDER0 and PATTERN1 for ENGINE1_ORDER0 (Write 00h to register 06h, write 01h to register 07h)
  11. Enable ENGINE0_ORDER0 and ENGINE1_ORDER0 (Write 11h to register 0Ah)
  12. Set PATTERN0 parameters as showed in Table 8-2 to realize 5Hz blinking effect on green LED, set PATTERN1 parameters as showed in Table 8-3 to realize breathing effect on blue LED.
  13. Send START_CMD to intiate the animation (Write FFh to register 10h)

After this step, the red LED keeps constant ON, the green LED keeps blinking with 5Hz frequency.

Table 8-2 PATTERN0 5Hz Blinking Register Setting
Address Register Set Value Description
1Ch PATTERN0_PAUSE_TIME 00h No pause time
1Dh PATTERN0_REPEAT_TIME 0Fh Infinite repeat times
1Eh PATTERN0_PWM0 FFh PATTERN0_PWM0 = FFh
1Fh PATTERN0_PWM1 FFh PATTERN0_PWM1 = FFh
20h PATTERN0_PWM2 00h PATTERN0_PWM2 = 0
21h PATTERN0_PWM3 00h PATTERN0_PWM3 = 0
22h PATTERN0_PWM4 00h PATTERN0_PWM4 = 0
23h PATTERN0_SLOPER_TIME1 02h PATTERN0_SLOPER_T1 = 0, PATTERN0_SLOPER_T0 = 0.1s
24h PATTERN0_SLOPER_TIME2 02h PATTERN0_SLOPER_T3 = 0, PATTERN0_SLOPER_T2 = 0.1s

LP5815 PATTERN0 5Hz Blinking
                    Example

Figure 8-3 PATTERN0 5Hz Blinking Example
Table 8-3 PATTERN1 Breathing Register Setting
Address Register Set Value Description
25h PATTERN1_PAUSE_TIME 00h No pause time
26h PATTERN1_REPEAT_TIME 0Fh Infinite repeat times
27h PATTERN1_PWM0 00h PATTERN1_PWM0 = 0
28h PATTERN1_PWM1 FFh PATTERN1_PWM1 = FFh
29h PATTERN1_PWM2 FFh PATTERN1_PWM2 = FFh
2Ah PATTERN1_PWM3 00h PATTERN1_PWM3 = 0
2Bh PATTERN1_PWM4 00h PATTERN1_PWM4 = 0
2Ch PATTERN1_SLOPER_TIME1 4Bh PATTERN1_SLOPER_T1 = 0.2s, PATTERN1_SLOPER_T0 = 1s
2Dh PATTERN1_SLOPER_TIME2 4Bh PATTERN1_SLOPER_T3 = 0.2s, PATTERN1_SLOPER_T2 = 1s

LP5815 PATTERN1 Breathing
                    Example

Figure 8-4 PATTERN1 Breathing Example