Other Parts Discussed in Thread: C2000WARE
Hi,
I've configure TZ for ePWM via ePWM-XBAR and ADC PPB properly (see following post regarding config )
Now when i'm latching one shot trip zone (OSHT) when measuring high current, working well !!
The issue is that i'm reducing current and then want to clear OSHT flag and DCAEVT1 flag via EPWM_clearTripZoneFlag() and it doesn't work.
The flags remain high
Please advice, if pictures needed I'll add
EPWM_clearTripZoneFlag(PWM_BCK_BASE, EPWM_TZ_FLAG_DCAEVT1);
EPWM_clearTripZoneFlag(PWM_BCK_BASE, EPWM_TZ_FLAG_OST);