Hello,
How long does it take to program a new profile onto the LP5813 via I2C?
Thank you and best regards,
Ambroise
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.
Hello,
How long does it take to program a new profile onto the LP5813 via I2C?
Thank you and best regards,
Ambroise
Hi Ambroise,
I am not sure what you mean a new profile for LP5813. Could you please describe it clearly?
BR, Jared
Hi Jared,
We want to alter the animation during use of the device. Can an alternate animation be loaded or is a full firmware write required?
Best regards,
Ambroise
Hi Ambroise,
To change the animation, whatever the alternate animation or a full firmware you use, both they need to write the command to the internal register to modify the animation configuration.
BR, Jared
Hi Ambroise,
Apologies for my confuse, could you please tell me what effect do you want since the device has many internal register to control the animation? The time your command needs is different with the different animation.
Please refer the below register map, it's a total register map of animation control for one LED dot. You can change the PWM setting or time setting to change the animation. But how many bytes you need to send is determined by your animation.
For example, I assume that you only want to change the PWM setting in AEU1, it means that you need to change the LED_0_AEU1_PWM_1, LED_0_AEU1_PWM_2, LED_0_AEU1_PWM_3, LED_0_AEU1_PWM_4, LED_0_AEU1_PWM_5.
Then, you can follow the below steps to change the animation:
1) Change the PWM setting in AEU1, it means that you need to send at least 7 bytes commands.
2) Send Update_cmd, it means that you need to send at 3 bytes commands.
3) Send Start_cmd, it means that you need to send at 3 bytes commands.
Totally 13 bytes, I assume you use 1MHz I2C interface, so it will take at least 104us.

BR, Jared
Hi Jared,
Thank you for the detailed elaborations. We plan to fully swap the animation / color scheme depending on user need on the fly. Worst case we assume to write a full new animation to the driver. how many bytes would that be?
Best regards,
Ambroise
Hi Ambroise,
A full new animation for 1 LED dot could be 33bytes (3 bytes Update_cmd, 3 bytes Start_cmd, 27 bytes to configure the full register from 80h~99h). So if you would like to change all LED dots animation, max 12 LED dots, it could be 27*12+3+3 = 330 bytes.
BR, Jared