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.
PWM1 UP_DOWN模式,固定50%占空比输出,CMPA_U时SET ,CMPA_D时CLR,在CTR=0时发出同步信号;
PWM2 UP_DOWN模式,固定50%占空比输出,CMPA_U时SET ,CMPA_D时CLR;
PWM2相对于PWM1进行移相,移相值在0~PRD范围.
简单示意图:
测试过程中遇到的问题是,当移相值接近CMPA值时(如,CMPA=100,PHS = 99/100/101),会出现PWM2发出的波形不正常,初步估计是CTR =0时载入PHS值,导致EPWM2在CMPA的动作错过了。
实际测试波形:
请帮我分析一下具体是什么原因,需要怎样解决,谢谢。