ZHCSHV7C October 2018 – July 2024 LP5018 , LP5024
PRODUCTION DATA
For most LED-animation effects, like blinking and breathing, all the RGB LEDs have the same lighting pattern. Instead of controlling the individual LED separately, which occupies the microcontroller resources heavily, the LP50xx device provides an easy coding approach, the LED bank control.
Each channel can be configured as either independent control or bank control through the LEDx_Bank_EN register. When LEDx_Bank_EN = 0 (default), the LED is controlled independently by the related color-mixing and intensity-control registers. When LEDx_Bank_EN = 1, the LP50xx device drives the LEDs in LED bank-control mode. The LED bank has its own independent PWM control scheme, which is the same structure as the PWM scheme of each channel. For more details, see PWM Control for Each Channel. When a channel is configured in LED bank-control mode, the related color mixing and intensity control is governed by the bank control registers (BANK_A_COLOR, BANK_B_COLOR, BANK_C_COLOR, and BANK_BRIGHTNESS) regardless of the inputs on its own color-mixing and intensity-control registers.
OUT NUMBER | OUT CORLOR | BANK Number | RGB LED MODULE NUMBER | ||
---|---|---|---|---|---|
LP5024VQFN | LP5018VQFN | LP5018VSSOP | |||
OUT0 | OUT0 | OUT0 | OUT0_COLOR | Bank A | LED0 |
OUT1 | OUT1 | OUT1 | OUT1_COLOR | Bank B | |
OUT2 | OUT2 | — | OUT2_COLOR | Bank C | |
OUT3 | OUT3 | OUT2 | OUT3_COLOR | Bank A | LED1 |
OUT4 | OUT4 | OUT3 | OUT4_COLOR | Bank B | |
OUT5 | OUT5 | OUT4 | OUT5_COLOR | Bank C | |
OUT6 | OUT6 | — | OUT6_COLOR | Bank A | LED2 |
OUT7 | OUT7 | OUT5 | OUT7_COLOR | Bank B | |
OUT8 | OUT8 | OUT6 | OUT8_COLOR | Bank C | |
OUT9 | OUT9 | OUT7 | OUT9_COLOR | Bank A | LED3 |
OUT10 | OUT10 | OUT8 | OUT10_COLOR | Bank B | |
OUT11 | OUT11 | — | OUT11_COLOR | Bank C | |
OUT12 | OUT12 | OUT9 | OUT12_COLOR | Bank A | LED4 |
OUT13 | OUT13 | OUT10 | OUT13_COLOR | Bank B | |
OUT14 | OUT14 | OUT11 | OUT14_COLOR | Bank C | |
OUT15 | OUT15 | OUT12 | OUT15_COLOR | Bank A | LED5 |
OUT16 | OUT16 | — | OUT16_COLOR | Bank B | |
OUT17 | OUT17 | OUT13 | OUT17_COLOR | Bank C | |
OUT18 | — | — | OUT18_COLOR | Bank A | LED6 |
OUT19 | — | OUT14 | OUT19_COLOR | Bank B | |
OUT20 | — | OUT15 | OUT20_COLOR | Bank C | |
OUT21 | — | OUT16 | OUT21_COLOR | Bank A | LED7 |
OUT22 | — | OUT17 | OUT22_COLOR | Bank B | |
OUT23 | — | — | OUT23_COLOR | Bank C |
With the bank control configuration, the LP50xx device enables users to achieve smooth and live LED effects globally with an ultrasimple software effort. Figure 7-6 shows an example using LED0 as an independent RGB indicator and others with group breathing effect.