Is it possible to vary CTIMER PWM frequency in real time over a wide range, for example from 1 Hz to 4 kHz, while the timer is running?
In our application, when the PWM period is updated continuously during runtime, the following behavior is observed:
For certain period values, the PWM output temporarily stops and no frequency is generated. After further updates, the output resumes normally.
This issue is not seen when the PWM frequency is fixed. It only occurs during live frequency changes.
Is this an expected limitation of CTIMER PWM mode, or is there a recommended method to safely update the PWM frequency in real time across such a wide range without output gaps?