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.

Eliminate specific EPwm pulses with CSFA and CSFB bits

Hallo All,

I have created a symmetric (up-down counting) PWM1AB with TMS320F2802x with the following action settings.

Both PWM1AB signals are as expected. However, now I want to eliminate, series of pulse from this generated PWM signal. So I wrote the ISR "elim_pulses". This ISR triggers at "CMPA when decreasing", however, it eliminates pulses, but not as expected.

Remarkable is that the force command has no direct effect as explained in the ePWM datasheet (SPRUGE9E). >> It says "In immediate mode, a continuous force takes effect on the next TBCLK edge." << In my case it has effect when TBCTR equals 0. So now I have an extra pulse at PWM1B of  HALF THE NORMAL PULSE WIDTH.

I think I have missed a setting somewhere (immediate mode?). Anybody an idea?