Hello,
I'm trying to synchronize PWM channels 3, 6 and 7 in a Piccolo 28069 with the TBCLKSYNC bit. They have periods that are multiple of each other.
If I set all counters (TBCTR) to 0, it works fine. All the PWMs are synchronized and the counters all start at the same time.
But if I want to preset one of the counters to a different value, the phase shift does not make any sense. Seems to be a random value, but consistent every time I run it.
Does anybody know if the TBCLKSYNC feature has any bug?
Thanks,
Max