Part Number: TMS320F28P550SG
Hello guys,
I have an errouness behaviour I would like to share of a pwm-timer with this setup:
- having pwm8 synced to pwm7 (sync on zero) with a phase offset for pwm8 of half the period to get 180 degree offset between pwm8 and 7
- period at 3500 to get 40kHz pwm (up-counting) with the controller running at 140MHz (that means pwm8 phase offset of 1750)
I set the pwm8-counter to the phase offset of 1750 within the init phase when pwm-counters alre still stopped to have both timers run in sync and offsetted from the very beginning.
With this setup the pwm8-ctr counts repeatingly from 1750 to 5250 (3500 + 1750) and never comes to 0 whatsoever. It seems as if the pwm8-ctr is forever offsetted with its initial ctr val before it started running.
Without setting the ctr value before start this does not occur.
When clearing the phase to 0 once this strange behaviour occurs the pwm8 counter is kind of repaired and I cna then apply the phase offset again to have the pwm8 ctr behave the way I expect.

