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.
我现在的做法是在ADC中断中去掉环环路和计算,直接 给CMPA与CMPB给固定的值,相位差是153度,还是没有到没有到想要的180度。
下面是PWM的初始化:
下面是ADC中断: