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.

TMS320F28377D: Output low for both EPWMxA and EPWMxB at the same time

Part Number: TMS320F28377D

Hello,

I am usign EPWM for inverter application. A and B outputs of EPWM gives inverted  outputs to each other. (by setting Epwm1Regs.DBCTL.bit.POLSEL = 0x2)

At some moment in my code I should give both low outputs for EPWM A and B then revert them back to original configuration. What is the best way for this in terms of the safety and speed?

I thought two ways:

1.Arranging those pins as GPIO and set them to low.

2. Changing  EPWM registers and duty to gave them low. 

Thank you for any helps