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.

TMS320F280049: HRPWM frequency shaking

Part Number: TMS320F280049

Dear team:

During the commissioning of variable frequency hrpwm, my customer found that the frequency of hrpwm output by the program would jitter under certain frequency conditions.

For example, when fpwm = 500KHz, tbprd = 100, in up-down mode, the PWM output is very stable.

However, when fpwm = 501khz, the frequency of PWM output will jump between 500KHz and 502khz;

Similarly, when fpwm = 1000khz, tbprd = 100, in up-down mode, the PWM output is very stable.

However, when fpwm = 999khz, the frequency of PWM output will jump between 990khz and 1000khz;

Is it the customer's code configuration problem? The following is the customer code:

Best regards