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.

TIDM-HV-1PH-DCAC: TIDM-HV-1PH-DCAC

Part Number: TIDM-HV-1PH-DCAC

I am  adopting this eval board to make a 3 phase  inverter.  So in the code I added another 2 set of PWM to generate gate signal for other 2 phases and working only with open loop.  I use the same interrupt to update other 2 channels of pwm.  However In the code - in inline void updateInverterPWM(uint32_t base1, uint32_t base2, float duty) function following code need to be commented to get the PWM signals on all the other channels.

// if(EPWM_getTimeBaseCounterDirection(base1)==0) // make sure the PWM is counting down

// {
If I don't comment I don't get the PWM output in other phases.   Could you give more details on this line?  why is it necessary?  How do we make sure the pwm is updated without missing.
Regards,
Ramesh