Hi all,
I am using the Piccolo 28035 comparators for current limiting via trip events.
Switching off works fine.
The problem is the PWM reenable/switch on sequence:
I would like to keep the PWM switched off for several ePWM periods and switch it on via software.
So CBC does not work; I have to use OSHT trip/DCEVT.
But when reenabling the PWM via TZCLR, it is reenabled IMMEDIATELY, not on the next timer underflow like in CBC.
This leads to unpredictable PWM duty cycles.
The same happens when reenabling the PWM by setting TZCTL to "none" (disabling trip zone for this PWM): The PWM is immediately reenabled.
My question is: Is there a way to reenable the PWM after a OSHT trip event on the next timer underflow (not immediately)?