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.
你好,我使用的是28377D的芯片,将PWM5权限配置到CPU1,配置GPIO时:5A是给到CPU1CLA,5B是给到CPU1的.
计数模式选择增减方式,PWM计数点2500.在比较器中赋值时,EPWM5A的CMPA在CLA中赋值500,5B的CMPB在CPU中赋值1250.
两者方波方式相同,没有死区设置,在增计数时达到比较器值变低电平输出,在减计数时达到比较器值变高电平.
实际上5B的输出占空比和5A一模一样,这和理论不对啊.并且调试时候可以看到CMPA和CMPB的值是不一样的,CMPA是500,CMPB是1250,我不知道问题在哪.