Skip to main content
Graduate
November 28, 2025
Question

Have jitter in TIM1 PWM

  • November 28, 2025
  • 4 replies
  • 134 views

Split from this thread.

Actually, I have jitter in TIM1 PWM. Is there any way to decrease jitter?

    This topic has been closed for replies.

    4 replies

    Super User
    November 28, 2025

    Hi @MTora.1 ,

    please elaborate: what's your hardware, what is the primary clock source, what is the TIM1 setup exactly, how do you observe the output, what do you see there and how is it different from the expectations?

    JW

    Technical Moderator
    November 28, 2025

    Split from this thread. -> link updated with the correct thread link.

    MTora.1Author
    Graduate
    November 28, 2025

    The hardware is STM32G030K8.

    When the motor stops, it flicks. My first guess was a lack of capacitance of DC bus capacitor. But it was perfect. I see jitter.

    MTora1_0-1764340484924.png

    MTora1_1-1764340543722.png

     

    Super User
    November 28, 2025

    > When the motor stops, it flicks.

    This alone makes you think there is PWM jitter?

    There is jitter due to using HSI, but far below anything that matters for motor control.