Skip to main content
MTora.1
Associate III
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?

4 replies

waclawek.jan
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

mƎALLEm
Technical Moderator
November 28, 2025

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

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
MTora.1
MTora.1Author
Associate III
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

 

TDK
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.

"If you feel a post has answered your question, please click ""Accept as Solution""."