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.

TMS320F28374D: using a GPIO to sync all PWMs confrimation

Part Number: TMS320F28374D

Hi everybody ,

I woudl like to use a GPIO  ( GPIO99 for example )   as  EXTSYNCIN1 to sync   PWM1 and then internally  to sync PWM1  up to PWM12 ( keeping ch A and B   as output )  : is it correct  ?

do you see any limitation ?  any example I can reuse ?

thank you

best regards

Carlo

  • You can use GPIO99 as EXTSYNCIN1 through INPUT XBAR INPUT5.

    You can use ePWM1 to get synced on EXTSYNCIN1.

    Then you want to sync EPWM12 to EPWM1. for this you have to send EPWM1 syncout to EPWM10 through SYNCSEL.EPWM10SYNCIN then pass EPWM10 syncout to EPWM11 syncin, then EPWM11 syncout to EPWM12 syncin.

    Nima