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.

TMS320F28335: Removing phase error between clock of two DSP

Part Number: TMS320F28335


Hello,

I am working on a system in which I need to synchronize two DSP's.

I was able to achieve synchronization between the epwm modules of the two DSP's using  EPWMSYNCO pin and EPWMSYNCI pin.

In this approach, i require a signal coming from EPWMSYNCO pin in DSP1 during the start of each switching cycle.

However, as the two DSP's have the same frequency, Is there a way in which instead of giving a synchronization pulse in every switching cycle, i can give a synchronization pulse in lets say every 100th switching cycle and adjust the phase of DSP2 to and remove any phase error to synchronize it with DSP 1?

 

  • Ankit,
    there is not a built in way to do this using the PWM alone. You could use a software sync or enable the SYNCO every so often. A CPU timer could tell you when the synchronization is required.


    Do you have a good reason why you don't want to synchronize every period?

    Regards,
    Cody