Hi all,
I am using piccolo TMS320F28069. I have configured one shot trip event for 3 EPWM for over voltage using comparator 1.
One shot trip event is working fine.
The problem is I want to reenable PWM after one shot trip event on detecting low signal on one of GPIO.
I am clearing TZCLR OST bit when i want to restart PWM after one shot trip.
EPWM1.TZCLR.bit.OST = 1;
EPWM1.TZCLR.bit.INT = 1;
EPWM2.TZCLR.bit.OST = 1;
EPWM2.TZCLR.bit.INT = 1;
EPWM3.TZCLR.bit.OST = 1;
EPWM3.TZCLR.bit.INT = 1;
But after configuring above bits, EPWM are not reenabling.
Is there a way to reenable the PWM after a OSHT trip event.
Thanks,
Megha