Todd Anderson

PCA9685 Stagger + Fade

Discussion created by Todd Anderson on Jun 17, 2020
Latest reply on Jun 22, 2020 by Tomas Vaverka

All:

We recently introduced "stagger" into the chip, by offsetting the LEDx_ON register by 256 per output channel.

So LED0_ON has 0, LED1_ON has 256, and so on, until LED15_ON has 256x15 (=3840).

 

The problem we are seeing is when we fade the LED output on LED15 (for instance), at some point, the LED15_OFF will be less than LED15_ON, and an additional off cycle will be added to the output. Is there any way to mitigate this while still using staggering?

Outcomes