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.

TMS320F280048-Q1: One e-PMW X-Bar Outputs to all epwm at same time availability

Part Number: TMS320F280048-Q1

Hi,

Can I connect and use simulataneously one epwm x-bar output (eg. trip4) for all epwm modules at the same time?

Is there any constraints that one trip signal that is coming out of e-pwm xbar can only be connected only one e-pwm module at the same time?

Thank you

  • Hi,

    You can use one common trip signal from ePWM X-BAR for all the ePWM modules. If you look at the ePWM X-BAR architecture, we can see that you can select any trip input.

    After the ePWM X-BAR module, the trip signal goes to the Digital Compare Sub-module which is in the ePWM module. Through this we can select the trip input going to the specific ePWM module and various actions such as One-Shot (OSHT), Cycle-By-Cycle (CBC), ePWM Blanking, etc. So we can select any ePWM module to which the trip signal is entering. By setting the following multiplexer, we can choose the same trip input to enter all the ePWM modules.

    The code will be like this,

    EPwm1Regs.DCTRIPSEL.bit.DCAHCOMPSEL = 3; // For TRIP input 4 and for EPWM1A

    Similarly, we can write similar statements for the other ePWM modules. The diagram for the Digital Compare Sub-module is like this,

    Please let me know if you have any more doubts.

    Regards,

    Pranav Ananthakumar