Hi Daniel,
Thanks for your reply.The waveform is as follow:
Cycle A (second cycle)is right PWM, with a cycle of 10ms and a duty cycle of 2%.
Enable PWM for the first time at D, in the first cycle, a waveform of B + C appears.
I think there should be only B but no C.

In addition, clear the counter register before enabling PWM, the waveform is correct.
Could you tell me why is the duty cycle register buffered?
I know this register is double buffered, but I don't know what it means to be buffered.
Best regards,
Xqq