Part Number: TMS320F280049
Hi Expert,
There's a confusion about TZB and DCAEVT1 function in TZCTL register.
For example, if there's a DCAEVT1.force event, and force EPWM to a low state. What's the difference between the below two line codes?
When using DCAEVT1 to force ePWMx to low state, Does that mean,
- if only force EPWMxA to low state, just using EPWM_TZ_ACTION_EVENT_DCAEVT1?
- if force both EPWMxA and EPWMxB to low state, it should use EPWM_TZ_ACTION_EVENT_TZB?
EPWM_setTripZoneAction(EPWM1_BASE, EPWM_TZ_ACTION_EVENT_TZB, EPWM_TZ_ACTION_LOW);
EPWM_setTripZoneAction(EPWM1_BASE, EPWM_TZ_ACTION_EVENT_DCAEVT1, EPWM_TZ_ACTION_LOW);
Thanks!
Best Regards
Rayna