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.

TMS320F28033: HRPWM占空比调节精度问题

Part Number: TMS320F28033
Other Parts Discussed in Thread: C2000WARE

你好,我在使用28033的HRPWM实现2MHz发波时,周期值配置为30(EPWM时钟频率60MHz),调节CMPAHR时占空比几乎不变,调节CMPA时才会变化,且每次变化约3%

配置如下(且在初始化及周期调用SFO处理函数):

修改CMPAHR值时,CMPA寄存器相应位域数值发生变化:

示波器测得波形占空比未发生变化: