即通过确定epwm的on周期,off周期决定epwm的输出或不输出,类似下图STM32的相关示意图。之前看280049的指南没有相关功能描述,若280049没有burst mode 是否有相关功能替代???
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.
同意楼上的看法,您可以尝试以下代码
//Disable the PWM EALLOW; EpwmxRegs.TZFRC.bit.OST = 1; EpwmxRegs.TZCTL.bit.TZA = 0x02; // fOR FORCE low EpwmxRegs.TZCTL.bit.TZB = 0x02; //fOR fORCE loW EDIS; //Enable the PWM EALLOW; EpwmxRegs.TZCTL.bit.OST = 0x01; // fOR FORCE low EpwmxRegs.TZCTL.bit.OST = 0x01; //fOR fORCE loW EDIS;