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 control each epwm channels

i do not know how to control epwm channels.

now epwm1(master) is linked to epwm2(salve), ans epwm3(master) is liked to epwm4(salve)

i want to turn on epwm3 and epwm4 when finsh epwm1 and epwm2 pulse. 

after the number of pulse of epwm1 and epwm2, they turn off the pulse and than immediately turn on epwm3 and epwm 4.


for turning off the epwm 1 and 2,  i used interrupt to count the number of pulse.

who have any idea?

i change epwm1~7 enable register. but  it is not  right way.