ZHCSQX1A August 2022 – December 2022 LP5891-Q1
PRODUCTION DATA
Select the reference current-setting resistor RIREF and configure a proper BC value to set the maximum current of the RGB LEDs (see Brightness Control (BC) Function for more details). Here the maximum current is 3 mA, BC value is 03h, according to equation Equation 1, the reference resistor value is 0.8 V/3 mA × 86.61 = 23 kΩ.
Configure the CC_R/CC_G/CC_B registers to set the current of Red/Green/Blue LED current to 3 mA/2 mA/1 mA (see Color Brightness Control (CC) Function for more details).
Table 9-3 shows the reference current setting resistor RIREF, BC and CC_R/CC_G/CC_B register value.
DESIGN PARAMETER | EXAMPLE VALUE |
---|---|
RIREF | 23 kΩ |
BC | 011 b |
CC_R | 11111110 b |
CC_G | 10101001 b |
CC_B | 01010100 b |