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.

CCS/TMS320F28069: TMS320F28069

Part Number: TMS320F28069


Tool/software: Code Composer Studio

Hi,

In regards to the the ePWM.

I would like to used PWM3A/B in independent mode, same frequency but they need to be 180d out of phase ?

Both A/B will be loaded with the same duty cycle. 

Is it possible to accomplish this ?

thank you

  • Hi,

    The Device TRM mentions multiple ePWM configurations and Figure 3-28 specifies the A&B in complimentary configurations. It also includes the code snippet Example 3-5.

    Regards,
    Gautam
  • Power guy,

    as Gautaum has indicated this can be done. You can configure PWMxA and PWMxB to be the compliment of one another, which O assume is what you want to do. 

    Additionally, there are enough compare registers in the TB sub module to independently assign on/off times for both PWMxA and PWMxB. 

    You should also look at the Dead Band sub module, expect it to be helpful for you.

    All of these features are described in the Technical Reference Manual.

    Regards,
    Cody