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,
I am using syscfg to generate PWMs. I want to start all the PWM channels at the same point with no phase shift.
But I am getting this output
My Syscfg sittings are as below
BR
Basit
Your SysConfig setup is correct. How are you handling the TBCLKSYNC register?
That register GATES the clock of the EPWMs, so you want to have it disabled, then setup all EPWMs (using syscofnig - EPWM_init()) then enable the TBCLKSYNC. that way they will all be PERFECTLY Aligned.
Nima
So for your main.c file, you want to have:
Basit, I have a quick question for you. How did you like the EPWM SysConfig GUI?
I think the EPWM SysConfig GUI is very user-friendly for beginners, but one still has to rely on some of the EPWM functions in main() to make it fully work.