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.

请问28335的EPWM计数器什么时候开始计数啊?



请问28335的EPWM计数器什么时候开始计数啊?

假如我现在初始化了Epwm,计数器TBCTR的值清零,比较寄存器CMPA,CMPB的值清0,周期寄存器TBPRD的值清0。

这个时候会有PWM波吗?

还是必须得等到,我设置了比较寄存器CMPA,CMPB的值,还有周期寄存器TBPRD的值之后,计数器TBCTR才开始计数,然后产生各种事件。