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.

TMS320F28335: 将EPWM模块的CMPA CMPB赋值由影子模式等效改为立即加载模式

Part Number: TMS320F28335

我想将EPWM模块的CMPA CMPB赋值由影子模式改为立即加载模式,但是上机之后发现波形出现毛刺,说明装载的时机不对,我应该如何编写代码才能进行等效的改动(算法需要,必须得改成立即加载模式)