Hello,
We've a project with the LP5521 connected to REG LED (from Kingbright APF3236SEEZGKQBKC).
There is a scenario where we light-up the RED for 1 second then GREEN (1 second) then BLUE (1 second).
The problem is that sometimes the RED color doesn't light up (whether the FW of the MCU main board has just been flashed or if the MCU wakes-up from sleep).
I think it's related to REG 08H, here is my config:
reg[0] = 0x08;
reg[1] = 0x55;
err_code = nrf_drv_twi_tx(&m_twi, 0x32, reg, sizeof(reg), false);
nrf_delay_ms(I2C_DELAY);
while (m_xfer_done == false);
I've tried many value for the REG (like 0x11 ...)
Do you have any clue?
I manage the driver in Program mode (not in Direct mode, the direct mode seems more reliable according to my experience but I prefer to avoid it in my project to limit power consumption by limiting I2c packets)
Thanks,
JohnM.