cancel
Showing results for 
Search instead for 
Did you mean: 

Have jitter in TIM1 PWM

MTora.1
Associate III

Split from this thread.

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

4 REPLIES 4
waclawek.jan
Super User

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
ST Employee

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
Associate III

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

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