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: EPWM sync pass-through operation

Part Number: TMS320F28379D


Tool/software:

I want EPWM1 to be the sync source for EPWM6, but for EPWM4 and EPWM5 to NOT be sync'd.  It looks like I can

configure EPWM1 SYNCOSEL as needed

configure SYNCSELECT.EPWM4SYNCIN to 0 to connect EPWM1SYNCOUT

configure EPWM4 PHSEN=0 to ignore the sync input, SYNCOSEL=0 to pass through the sync input to EPWM5

configure EPWM5 PHSEN=0 to ignore the sync input, SYNCOSEL=0 to pass through the sync input to EPWM6

configure EPWM6 PHSEN=1, SYNCOSEL=0 to receive the sync

Is this correct?

  • Hello,

    This is correct way to do it. Device TRM, Chapter 15.4.3.3 Time-Base Counter Synchronization talks more about this. https://www.ti.com/lit/ug/spruhm8k/spruhm8k.pdf

    Each ePWM module can be configured to use or ignore the synchronization input. Clearing the TBCTL[PHSEN] bit configures the ePWM to ignore the synchronization input pulse. If the TBCTL[PHSEN] bit is set, then the time-base counter (TBCTR) of the ePWM module is automatically loaded with the phase register (TBPHS) contents on certain events.

     Regards,

    Stevan D.