This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP5812: LP5812 application information

Part Number: LP5812

Hello,

I am checking a possible application of the RGB LED driver LP5812 in our product and I would like to ask for further application information (besides the datasheet) to the chip.

Could you provide further literature to the programming of the IC or C-code templates?

Thank you and best regards
Timo Freivogel

  • Hi Timo,

    Please refer the programming demo below:

    • Manual mode
      1. Set chip_en = 1 to enable the device. (Write 01h to register 000h)
      2. Set led_mode = 0h to configure the LED drive mode as direct drive mode. (Write 00h to register 002h)
      3. Send update command to complete configuration settings (Write 55h to register 010h)
      4. Enable 4 LEDs (Write 0Fh to register 020h)
      5. Set manual_DC value (Write 55h to register 030h~033h)
      6. Set manual_PWM value (Write FFh to register 040h~043h)
    • Auto mode
      1. Set chip_en = 1 to enable the device. (Write 01h to register 000h)
      2. Set led_mode = 0 to configure the LED drive mode as direct drive mode. (Write 00h to register 002h)
      3. Set auto_en = 1 to configure the LED in auto mode. (Write 0Fh to register 004h)
      4. Send update command to complete configuration settings (Write 55h to register 010h)
      5. Enable 4 LEDs (Write 0Fh to register 020h)
      6. Set auto_DC value (Write 55h to register 050h~053h)
      7. Set LED_0_Autonomous_Animation value
      8. Set the same value for LED_1_Autonomous_Animation (Write 00h, 00h, 00h, FFh, 00h, FFh, 00h, AAh, AAh to register 09Ah~0A2h)
      9. Set the same value for LED_2_Autonomous_Animation (Write 00h, 00h, 00h, FFh, 00h, FFh, 00h, AAh, AAh to register 0B4h~0BCh)
      10. Set the same value for LED_3_Autonomous_Animation (Write 00h, 00h, 00h, FFh, 00h, FFh, 00h, AAh, AAh to register 0CEh~0D6h)
      11. Send update command to complete configuration settings (Write 55h to register 010h)
      12. Send start command to start the engine animation (Write FFh to register 010h)

    For the sample code based on MSPM0, please find it with below link.

    • Link:tidrive.ext.ti.com/.../2c442300-de11-47c9-a9bb-ce3e0836a7e3
    • Access code:3w3'4wBQ

    BR, Jared

  • Hi Jared,

    Thank you for the support.

    Best regards

    Timo

  • Hi Timo,

    Glad to help you!

    Please free to contact me by email (jared-zhou@ti.com) if you have any questions.

    BR, Jared