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.

LAUNCHXL-F28379D: PROMLEM WITH EPWM1 PHASE SHIFT

Part Number: LAUNCHXL-F28379D

Dear Admin,

I hope you are doing great!

It has been a while since I started to implement a symmetric phase shift between ePWM1 and ePWM2 (in F28379D LAUNCHPAD) for the resonant converter that I designed.
The problem is that, I assumed all the ePWMs can be treated same way (e.g. ePWM2 can be synchronized by ePWM1 and reverse).
However, it seems that ePWMs are synchronized through a hierarchy; the synchronization is made from ePWM1 and should pass through ePWM2, ePWM3, and so on ...
If that is right, synchronization of ePWM1 (and making a phase-shift for it) does not have any meaning, and, as a result, we cannot make ePWM2 master and reference of phase shift for ePWM1 (I did that, and the result was completely distorted!).

And if that is right, it makes a big problem for me as I have to redesign my whole board and change its pin arrangements so that legs A and B are to be driven by ePWMs 2 and 3 (with ePWM1 as reference).

Long story short, is there any solution to apply dynamic and symmetric phayse shifts to ePWMs 1 and 2?

If not, can we replace the GPIOs of ePWM1 by 3 and reverse (I know it is possible to change the outputs, but it should be only between ePWMs 1 and 3 due to the design constrains)?

Your help with this regard is much appreciated.
Cheers,
Farzad

  • Hi Farzad,

    we cannot make ePWM2 master and reference of phase shift for ePWM1

    You are correct. The synchronization scheme for F2837xD has the synchronization output of EPWM1 feed into EPWM2 and so on, but the synchronization output of EPWM2 cannot be the synchronization input to EPWM1.

    If not, can we replace the GPIOs of ePWM1 by 3 and reverse (I know it is possible to change the outputs, but it should be only between ePWMs 1 and 3 due to the design constrains)?

    What do you mean by replace the GPIOs? If you are using a launchpad the pins brought out to the board have already been fixed. Unfortunately, it looks like you would need to do a board design layout change. 

    Best Regards,

    Marlyn