This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049: 使用EPWM死区单元发一对驱动时时如何只封一路驱动?

Part Number: TMS320F280049


 大家好,我的工程EPWM配置为通过DB产生互补的驱动, 然后用了CMPSS做比较然后通过DC去产生DCAEVT2,DCBEVT2来控制TZ单元封驱动。 限制有一种工况,需要只封EPWMA的信号,EPWMB还是正常,

我使用了如下语句,可是没有效果

if(off)

{

EPWM_forceTripZoneEvent(EPWM4_BASE, EPWM_TZ_FORCE_EVENT_DCAEVT);

}

EPWM配置的关键部分见图片