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.

LP5024: How to set the LED individually

Part Number: LP5024

Hi,

I am considering using the LP5024 device.

(Question)
I understand that this device has 24 LEDs connected in parallel, and each 24 can be set separately with I2C, but is that correct?

Looking at Figure 13 below, it looks like Bank_A, Bank_B, and Bank_C are mixed with Bank Brightness-control to set Brightness.
This Bank Brightness-control seems to change the brightness of BANK_A / B / C (RGB) so that it becomes "white" or something and the brightness is corrected to become white. When that happens, it looks like each color cannot be set individually...

If it can be set individually, please tell me how to set it.

Best regards,

  • Hi,

    Here is something you misunderstanding.

    For example

    1. if LEDx_Bank_EN=1(x=1,2,..24) and BANK_A_COLOR=0xFF, BANK_B_COLOR=0xFF, BANK_C_COLOR=0xFF(suppose out0/3/6/9/12/15/18/21 pin connect to Red LED, out1/4/7/10/13/16/19/22 pin connect to Green LED, out2/5/8/11/14/17/20/23 pin connect to Blue LED), the bank color mixing make the LEDs become white and the 8 bit brightness change the brightness of 'white' .
    2. if LEDx_Bank_EN=1(x=1,2,..24) and BANK_A_COLOR=0xFF, BANK_B_COLOR=0x00, BANK_C_COLOR=0x00(suppose out0/3/6/9/12/15/18/21 pin connect to Red LED, out1/4/7/10/13/16/19/22 pin connect to Green LED, out2/5/8/11/14/17/20/23 pin connect to Blue LED), the bank color mixing make the LEDs become RED and the 8 bit brightness change the brightness of 'red' .

    Can be understand that the mixing of BANK_A_COLOR, BANK_B_COLOR and BANK_C_COLOR determine the color of LEDs.

    Best Regard 

    Monet Xu

  • Thank you for your reply.
    I misunderstood you.
    I'm thinking of controlling the LEDs one by one instead of adjusting the RGB colors.
    Is it possible to control the LEDs one by one with this device?
    If you can, please tell me how to set it.
    Best regards,
  • Hi Kaji,

    In addition to the 3 Programmable Banks(R,G,B) for easy software control of each color, it also integrated 12-bit, 29kHz PWM Generator for each channel: independent color-mixing register per channel and independent brightness-control register per RGB LED module. You can choose PWM control for each channel to control the LED  one by one(refer to the following pic). This is described detailed in the 8.3 Feature Description part of the datasheet.

    Here are the related registers(highlight with yellow and set LEDx_Bank_EN = 0)

    Monet Xu