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.
Dear C2000 expert,
One of my power requires to minimize current and voltage ripple, and would like the 2 EPWMs has specific synchronizatio. Please see below time counter picture.
EPWM1's frequency is 200Khz
EPWM5's frequency is 100Khz
And EPWM5's counter needs to delay a counter compared to EPWM1's counter, can you please help me know how to realize it? Thanks...
We have an example for synchronization and how to configure the ePWMs.
http://dev.ti.com/tirex/explore/node?node=ANQtAx1d.2Tq4rBvalR55g__gYkahfz__LATEST
Hi Nima,
Thanks for this info. But the example shows the all epwm has the same frequeny.
In my case, the master(EPWM1) epwm's frequency is twice as slave epwm(EPWM5), that means the sycnout signal from the master can be prescaled, or the syncin signal in slaver epwm can be precaled. Is it possible to realize it?
Thanks...
Dear C2000 expert,
May I have some update from yours?
As show in my first post diagram, the master(EPWM1) epwm's frequency is twice as slave epwm(EPWM5), is it possible to realize it? Thanks...
What you have to compensate for is that the TBCTR for slave EPWM will set to TBPHS value on EACH synchronization signal. So you would need to make sure that is taken care of in your application software. You would basically need to generate the SYNC event every two ePWM periods from the master, so in your application you would need to toggle the SYNC signal to enable and disable on every PERIOD.
Built into the ePWM module, is the ability to load TBCTR with TBPHS on ANY SYNC event. If you require a slave PWM to sync with a master that is double the frequency, you need to make sure to take care of the extra SYNC signal in software.