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.

[参考译文] TMS320F280041C:CMPSS 和 ePWM 配置

Guru**** 2529900 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1243167/tms320f280041c-cmpss-and-epwm-configurations

器件型号:TMS320F280041C

目的:多个CMPSS模块在一个EPWM中协同工作,如CMPSS7 --> EPWM4 CBC,OST不触发;CMPSS3---> EPWM4 OST,CBC不触发;

实际:当CMPSS7触发EPWM4 CBC时,EPWM4 OST也会被触发。但检查 CMPSS3寄存器是否未被触发(__LW_AT__CmpssxRegs.COMPSTS.all);

       检查TZFLG寄存器,其中OST,CBC,DCAEVT1,DCAEVT2都被触发(EPwm4Regs.TZFLG);

ePWM 计时器配置如下

请帮助检查上述配置是否存在错误,配置是否实现了目标功能。如果配置有问题,有没有其他方法可以实现目标功能?