Hi,
I have used LP5024 in my design to independently control LEDs for status indicator. I am able to communicate with the device. Configuration values are as follows.
DEVICE_CONFIG0 = 0x40 (Chip_EN = 1)
DEVICE_CONFIG1 = 0x2E (Power save is off for development, Current = 35mA)
LED_CONFIG0 = 0xFF
BANK_BRIGHTNESS = 0x80
BANK_A_COLOR = 0x80
BANK_B_COLOR = 0x80
BANK_C_COLOR = 0x80
LED0_BRIGHTNESS = 0x80
LED1_BRIGHTNESS = 0x80
LED2_BRIGHTNESS = 0x80
LED3_BRIGHTNESS = 0x80
LED4_BRIGHTNESS = 0x80
LED5_BRIGHTNESS = 0x80
LED6_BRIGHTNESS = 0x80
LED7_BRIGHTNESS = 0x80
OUT0_COLOR = 0x80
OUT1_COLOR = 0x80
OUT2_COLOR = 0x80
OUT3_COLOR = 0x80
OUT4_COLOR = 0x80
OUT5_COLOR = 0x80
OUT6_COLOR = 0x80
OUT7_COLOR = 0x80
OUT8_COLOR = 0x80
OUT9_COLOR = 0x80
OUT10_COLOR = 0x80
OUT11_COLOR = 0x80
I am able to configure the registers and read them back. Need support on following points.
1. But once send OUTx_COLOR data values I am not getting any output. I am using LEDs in common Anode configuration as shown in the attached figure. Voltage levels seems to be fine as measured. Some of the screen shots are attached herewith for ref. I assume that I am passing some wrong configuration values
2. Please let me know where I am doing wrong. Also please share the values of the configuration registers for simple LED ON/OFF control. configuration for Status indicator.
3. For this resistor values in Iref pin what will be value of Iset? (If I use Riref = Kiref xViref/Iset, With MOSFET ON Riref = 5.1k+5.1k. hence Iset = 105x0.7/10.2k comes to be 5.147mA which is not sufficient to drive an LED.
4. Is there any effect of giving a PWM put at MOSFET at Iref pin using MOSFET as in the circuit.
5. what is the relation hierarchy of BANK_BRIGHTNESS, LED0_BRIGHTNESS and OUTx_COLOR registers?
Thanks & Regards
Gyanesh