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.

TMS320F28069: ePWM force with deadband configuration

Part Number: TMS320F28069

Dear TI forum community,

I configured my processor to support 6 PWM's (3 channels, active low complementary). On my board drivers turn on IGBT by low state of signal from processor (high state will turn off IGBT).

I used updown counter with dead band.

I have to force output of one of the half bridge PWM. When I wasn't using dead band I was using EPwmXRegs.AQCSFRC to force signal on output. It was warking. Now with deadband I cant do this because when I have low state on high side PWM on the other side I have reversed signal. I tried use TZFRC with CBC event but I have still the same situation.

Has anyone had a similar problem? Can You tell me how force every PWM output in one channel.

Best regards.

Marc 

  • Marc,

    Writing to the TZFRC.CBC bit will trigger the CBC event to happen. If you have not configured this event there will be no action. Please also note that the CBC event is automatically cleared at the end of a PWM period, so it will not hold the PWM output permanently high or low.

    If you want to continuously force the PWM output please use the OSHT trip.

    Finally it is very important to configure all actions inside of the Trip-zone submodule. If you do not wish to use one of the events please ensure that it is set to "no-action" inside of the TZCTL register. The default configuration is "high-impedance".

    Regards,
    Cody