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: The PWM output software forces the output low to have no effect

Part Number: TMS320F28379D

Hi  Team,

There's an issue from the customer need your help:

Configure PWM2 for up - down count mode with dead time between outputs a and B. EPwm2Regs .AQCSFRC.bit.CSFA = 1; EPwm2Regs.AQCSFRC.bit.CSFB = 1 in the interrupt; PWMA output low, PWMB output high, PWMB cannot force output low 

Could you help check this case plese?Thanks.

Best Regards,

Ben

  • Hi Ben,

    The action qualifier software force is applied before the deadband submodule, meaning the configuration setup in the dead-band submodule will still take place. If you want to force both A and B outputs low (while setting up complimentary pairs), then you can do a trip zone force (TZFRC register) to do this. Make sure you setup TZA and TZB bits as "low" to drive outputs A and B low when the trip occurs. When you are ready for the outputs to resume normal operation you can clear the trip zone software force.

    Best Regards,

    Marlyn

  • Hi Marlyn,

    Thanks for your great help!

    In the program, I want to enable the system to start after 3 s, the PWM block output low for 3 s, now the PWM is configured to initialize to: EPwm1Regs.TZCTL.all = 0xFFA; EALLOW during the computation period in 3 s; EPwm1Regs.TZFRC.bit.OST=1; EDIS; PWM blocking, do I need to configure other registers besides these?

    Best Regards,

    Ben