ZHCSIQ2B September 2018 – January 2019 LP5030 , LP5036
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 LP503x 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 LP503x device drives the LED 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. See Each Channel PWM Control for more details. When a channel configured as 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 | BANK NUMBER | RGB LED MODULE NUMBER |
---|---|---|
OUT0 | Bank A | LED0 |
OUT1 | Bank B | |
OUT2 | Bank C | |
OUT3 | Bank A | LED1 |
OUT4 | Bank B | |
OUT5 | Bank C | |
OUT6 | Bank A | LED2 |
OUT7 | Bank B | |
OUT8 | Bank C | |
OUT9 | Bank A | LED3 |
OUT10 | Bank B | |
OUT11 | Bank C | |
OUT12 | Bank A | LED4 |
OUT13 | Bank B | |
OUT14 | Bank C | |
OUT15 | Bank A | LED5 |
OUT16 | Bank B | |
OUT17 | Bank C | |
OUT18 | Bank A | LED6 |
OUT19 | Bank B | |
OUT20 | Bank C | |
OUT21 | Bank A | LED7 |
OUT22 | Bank B | |
OUT23 | Bank C | |
OUT24 | Bank A | LED8 |
OUT25 | Bank B | |
OUT26 | Bank C | |
OUT27 | Bank A | LED9 |
OUT28 | Bank B | |
OUT29 | Bank C | |
OUT30 | Bank A | LED10(1) |
OUT31 | Bank B | |
OUT32 | Bank C | |
OUT33 | Bank A | LED11(1) |
OUT34 | Bank B | |
OUT35 | Bank C |
With the bank control configuration, the LP503x device enables users to achieve smooth and live LED effects globally with an ultra-simple software effort. Figure 14 shows an example using LED0 as an independent RGB indicator and others with group breathing effect.