We are generating six pulses through EPWM modules (EPWM1A and EPWM1B, EPWM2A and EPWM2B, EPWM3A and EPWM3B with deadband) for motor control. In adc_isr, We have one flag that is Motor_ON (user define ). When Motor_ON==1, One set of code is executed and duty of EPWM pulses also varies. Now, When Motor_ON==0, we want to disable all mentioned EPWM. they should be zero or floating.
Kindly provide a suitable solution for the same.