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.

TMS320F28P550SJ: EPWM sync and output

Part Number: TMS320F28P550SJ

I am using the input XBAR out5 signal to sync the EPWM1A duty cycle. I can look at the Input Source GPIO57 of the XBAR on the scope and the EPWM1A GPIO00 output pin and they do not sync. Also, if I change the compare value of EPWM1A, the duty cycle does not change.

What am I missing?

Thanks

Dennis

  • Dennis,

    Have you tried running ePWM1A by itself to see if you are able to vary the duty without doing any sync? This is to make sure all other aspects of ePWM1A are working properly before you go to sync operaiton. What are your ePWM config such as counter mode?

    What is the source of your sync signal that you are providing to GPIO57?

    Regards,

    Sumit

  • Sumit,

    I went back to an old version of the code and everything is working now. I must have changed something to cause the problem.

    Thanks

    Dennis