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.

How to sync CPU TIMERx and EPWMx



Is there a way to sync CPU timer (lets say 0) and epwm (lets say 1a) in piccolo f28069?

They both sourced from sysclock but I couldn't figure out how to sync them. 

I set up epwm1 and cpu timer 0 interrupt and then toggle a gpio pin at cpu timer 0 interrupt. When I observe the waveforms in scope, the one that I trigger, just moves around and this makes me think that they are not synced.

Basically, what I want to to is I want to have an interrupt that is 10 times smaller than epwm freq. 

Any ideas?