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.
我在DSP280x_EPwm.h里面没有找到TBPRDHR寄存器的的位域定义. 还有为什么没有CMPBHR寄存器呢?
楼主只需要按下面修改就好了:
Uint16 TBPRD; // Period register set
Uint16 TBPRDHR; //
union CMPCTL_REG CMPCTL; // Compare control
F280X的PWM本具备HRPWM寄存器,应该不会映射错误,详细查下头文件和cmd文件,具体可以参照controlsuite中的F2803x的Example_2803xHRPWM例程。