JAJSHH1B May 2019 – August 2020 LP5009 , LP5012
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. See PWM Control for Each Channel for more details. 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 | 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 (LP5012 only) | Bank A | LED3 |
OUT10 (LP5012 only) | Bank B | |
OUT11 (LP5012 only) | 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. #T5041832-16 shows an example using LED0 as an independent RGB indicator and others with group breathing effect.