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.
Hi,
Today I tried F28379D demo code "epwm_updown_aq". Inside I did few changes on ePWM1 and ePWM2. Others are kept the same as demo.
1) Set ePWM1.TBCTR=1000. ePWM2 TBCTR is kept as 0.
2) Set ePWM1 and ePWM2 the same period (1000), CMPA (500), CMPB (800).
3) Set ePWM1 and ePWM2 the same AQ for CAU=set, CAD=set, PRD=clear.
From the oscilloscope, I found that the phase between ePWM1 and ePWM2 were not 1000 clocks.
But, if Set ePWM1.TBCTR=1001. ePWM2.TBCTR=1; the phase was exactly 1000 clocks.
What's the possible issue?
Thanks a lot.
Br, Jordan
Hi Jordan,
Where are you making these modifications? In the existing initialization routines or somewhere else?
Regards,
Kris