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.

TMS320F28035: Disable using EPWMxSYNCI signal while retaining a software sync trigger

Part Number: TMS320F28035


Hello Everyone, 

For my application I want to use software sync trigger for each ePWM independently. (EPwmXRegs.TBCTL.bit.SWFSYNC = 1)

The connection of EPWMxSYNCI to EPWMxSYCNO signals for my device is as follows

The documentation regarding the register contents speaks as follows

My question:

Can I synchronize each ePWM individually through software sync ONLY. I don't want my EPWM1SYNCO signal to be received by EPWM2SYNCI signal. At the same time, I want EPwm2Regs.TBCTL.bit.SWFSYNC = 1 to synchronize with the value from EPwm2Regs.TBPHS register. In other words I want the connections in figure 7 to be removed. 

As far as I could go through the documentation, only propagation of EPWMxSYNCI signal to EPWMxSYNCO signal is written. Ignoring EPWMxSYNCI and keeping SWFSYNC valid is not written.  Sorry if I am missing any other information from the documentation. 

  • Soham, there are two ways to "remove" those connections.

    1. Disable the SYNCO of the previous ePWM module(TBCTL.SYNCOSEL). This will keep the pulse from propagating further down the sync chain.
    2. Disable PHSEN, this will completely disable the ability to synchronize the respective PWM's time-base counter(SWSYNC will not work in this case)
      1. This method will allow sync signals to propagate further down the sync chain.

    Based on what you said above I think number 1 above will work best for you.

    Regards,
    Cody