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模块时,需要根据一些外部条件来更新脉冲的高、低有效方式,可通过在epwm1中断里设置AQCTLA.bit.CAD与AQCTLA.bit.CAU实现,但是由于此寄存器与CMPCTL不同,没有映射模式,会立即生效,而我希望是在TBCTR=0时才改变脉冲配置方式,请问如何实现相关功能?谢谢
ePWMs type 2 里有相关的功能,但是最初版本的epwm没有这个功能,请问如何实现?
只能在PWN CNT=0的时候产生一个中断了,在这个中断里改。