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的pwm1-6同步工作,pwm4-6的CMPA设置了无效,其值始终和pwm1的CMPA一样

 请教一个28377d的pwm问题:
pwm1-pwm6设置为同步,如图所示,pwm1为主,pwm2-6都为从
然后初始化pwm1-6的TBPRD为16000,pwm1-3的CMPA为8000,pwm4-6的CMPA为4000,然后在ad中断(由pwm1触发)中不断给pwm1-3的CMPA赋值(8000),示波器观察pwm4a脚的输出脉宽和pwm1a的一样,
这是怎么回事?谢谢大家!