This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP5569: LP5569 how I run dimming(fader, fade in/out)??

Part Number: LP5569
Other Parts Discussed in Thread: LP5813

I try to LP5569's dimming

How can I run dimming??

I want the led to be dimmed by sending just one command

please check below my code. 

<code>

HAL_StatusTypeDef ret;
uint8_t tValue = 0;

//Init
for(uint8_t i = 0; i < 9; i++){
 tValue = 0x30; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_LED0_CNTRL + i, &tValue, 1);
 tValue = 0x10; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_LED0_CURRENT_CNTRL + i, &tValue, 1);
 tValue = 0x64; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_LED0_PWM + i, &tValue, 1);
}

tValue = 0x3; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_ENGINE1_MAPPING1, &tValue, 1);
tValue = 0xff; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_ENGINE1_MAPPING2, &tValue, 1);
tValue = 0x3; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_ENGINE2_MAPPING1, &tValue, 1);
tValue = 0xff; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_ENGINE2_MAPPING2, &tValue, 1);
tValue = 0x3; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_ENGINE3_MAPPING1, &tValue, 1);
tValue = 0xff; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_ENGINE3_MAPPING2, &tValue, 1);

tValue = 0xff; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_MASTER_FADER_1, tValue, 1);
tValue = 0xff; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_MASTER_FADER_2, tValue, 1);
tValue = 0xff; I2C_Write_LED_DRIVER(LP5569_ADDR, LP5569_MASTER_FADER_3, tValue, 1);

  • Hi Lee,

    I am sorry I don't have LP5569EVM on hand, please give me some time to apply it. Btw, I'd like to recommend the LP5813 which is our new device, the next generation of LP5569 and  based on LBC9 to you.

    BR, Jared