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