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.

TMS320F28379S: TBCTR is increasing unexpectedly when changing TBPRD during run time.

Part Number: TMS320F28379S

Hello,

I have made an algorithm where the frequency of PWM has to be changed while running, I have made the algorithm by changing TBPRD of the EPWM in regular intervals. At lower frequencies, the PWM is working as expected but when trying to switch at high frequencies the TBCTR is increasing unexpectedly (as shown in the figure.)