Skip to main content
Associate II
Oct 27, 2025 9:17 AM UTC
Solved

Timer Problem

Hi everyone . I have timer problem again. I use STM32G431KBT6. I'm using timers. timer 3 for pwm pulse direction servo motor and timer 8 for pwm speed control dc motor. But when start timer8 pwm, timer 3 is starting same time. What could be the reason for this? My timers set:

 

cereyanmhendisi_1-1761556567308.png

cereyanmhendisi_2-1761556602946.png

 

 

This topic has been closed for replies.
Associate II
Oct 30, 2025 6:22 AM UTC

Actually I noticed something. I use nucleo card. And timer 3 is PA6 pins, timer8 is PA15. They r short circiut on nucleo board. 

image.png

7 replies

TDK
Oct 27, 2025 1:22 PM UTC

Either it's set up as a slave that starts when TIM8 is started, or it's getting started elsewhere, or you are misinterpreting the results.

The relevant slave settings are not shown in your screenshot.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
Oct 27, 2025 2:05 PM UTC

what do you want from me exactly? I can show u. I checked my code. İt is not have problem.

TDK
Oct 27, 2025 2:34 PM UTC

Your IOC file would be helpful, or a fully compile-able program that exhibits the issue. Also would be helpful how you are determining that TIM3 starts exactly when TIM8 starts.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
Oct 28, 2025 7:58 PM UTC

Nobody has any idea?

TDK
Oct 28, 2025 9:04 PM UTC

Timers are independent unless explicitly linked.

If the timer is starting, something is starting it, but it's not within the code you've presented. None of the code you've shown starts any timer.

"If you feel a post has answered your question, please click ""Accept as Solution""."
cereyanmühendisiAuthorBest answer
Associate II
Oct 30, 2025 6:22 AM UTC

Actually I noticed something. I use nucleo card. And timer 3 is PA6 pins, timer8 is PA15. They r short circiut on nucleo board. 

image.png