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.

TMS320F28379D: Two set (4 pwms) of PWMs which are need to be phase shafted second master by 90 degree

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Dear Team,

I am using total 4 pair of PWMs in my application.

PWM1A & PWM1B is single pair like that I am having 4 pairs. PWM1A and PWM1B is having complementary mode.

First pair PWM1A is master and PWM2A is slave. Similar way I have third pair and forth pair of PWMs.

My problem statement is here, I want second master third pair PWM3A is phase shifted by 90 degree with first pair PWM1A. How can I achieve this requirement.

Request TI expert to suggest and guide on this topic whether it is possible or not. If yes then how I can configure the PWM3A.

Please reply on this problem statement as soon as possible if anyone has already experienced or handle the same case will be appreciated.

Regards,

Dnyanesh 

  • Hi Dyanesh,

    This is surely possible and we do have a reference example in C2000Ware which you can find at <C2000Ware_3_XX/driverlib/f2837xd/examples/epwm>. Example 3 refers to synchronization of EPWM2, 3, 4 and EPWM 1 with desired phase shift between them. 

    Request you to take a look at the example.

    Thanks,

    Aditya

  • Dear Aditya,

    Thanks for sharing the details. I will lookout the example code and will update my result later.

    Regards,

    Dnyanesh

  • Dear Aditya,

    What understood from the <C2000Ware_3_XX/driverlib/f2837xd/examples/epwm>. Example 3 refers to synchronization of EPWM2, 3, 4 and EPWM 1 with desired phase shift between them. 

    There are total 4 PWMs and 1 is master others are slave. 

    But my requirement  is that there will one more 4 PWMs set that master will be delayed by 90 degree phase shifted by first master.

    Can anyone look into this requirement whether it is possible or not.

    Regards,

    Dnyanesh

  • Hi Dnyanesh,

    What your requirement effectively needs is EPWM3A delayed by 90 degrees with respect to EPWM1A which is showcased in example 3. Additionally, for managing EPWM2A and EPWM4A, you can use the SYNC signals from EPWM1A and EPWM3A for them to act as slaves.

    Aditya

  • Hi Dnyanesh,

    Since we haven't heard back from you on this query, I believe you've been able to resolve the issue. I am marking this thread as resolved for now. In case you have any additional queries, feel free to continue the discussion here. If the thread locks, you can always ask a new question.

    Regards,

    Aditya