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.

TMS320F280039C: EPWM Control

Part Number: TMS320F280039C


Tool/software:

Hello,

We are using TMS320F280039C launchpad for our Totem pole PFC Circuit control. In it we are using EPWM6A and EPWM6B for controlling of high frequency Mosfet (working frequency 120kHz). For its working at some logic we want to trip the EPWM6A and EPWM6B in three different way : 1. Condition 1 : trip both EPWM6A and EPWM6B  , 2. Condition 2 : Trip only EPWM6A  and EPWM6B should provide PWM while 6A is trip , 3. Condition 3. Trip only EPWM6B  and EPWM6A should provide PWM while 6A is trip . So for this we are using TPFRC and TPCTL register to trip both EPWM at a same time . but in other 2 condition when we want to trip only one EPWM ,we are facing that if we try to trip EPWM 6A  low, EPWM6B  is going to completely high instead of providing PWM and same for the vice vera. Currently . We are using MATLAB Simulink c2000 block set for this . So we want to know is there any way by which we can trip  EPWM6A and EPWM6B separately and one EPWM is working while the other is in Trip condition.

  • Hello,

    You could set just one ePWM output if desired. First, make sure that ePWMs are not in active-high complementary mode. In that mode ePWMs would always be complementary to each other. You could use TZB for ePWMB and TZA for ePWMA in TZCTL register in CCS to do your configuration.