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模块的触发源就是pwm2A,触发事件是CTR = PRD,计数方式是增减计数, PWM中断触发事件是CTR = 0,我监控pwm1中断发现只要有ADC模块存在,pwm1中断就不会响应,但是屏蔽ADC模块,PWM1中断又能响应。 我曾经尝试将ADC模块触发源替换成CPUTimer0定时器中断触发,替换后采样没有问题,但是PWM中断依旧不会响应。

ADC模块的触发源就是pwm2A,触发事件是CTR = PRD,计数方式是增减计数,
PWM中断触发事件是CTR = 0,我监控pwm1中断发现只要有ADC模块存在,pwm1中断就不会响应,但是屏蔽ADC模块,PWM1中断又能响应。
我曾经尝试将ADC模块触发源替换成CPUTimer0定时器中断触发,替换后采样没有问题,但是PWM中断依旧不会响应。求指教!!谢谢了