Skip to main content
Associate II
October 27, 2025
Solved

Timer Problem

  • October 27, 2025
  • 4 replies
  • 308 views

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

 

 

Best answer by cereyanmühendisi

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

4 replies

TDK
Super User
October 27, 2025

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
October 27, 2025

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

TDK
Super User
October 27, 2025

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
October 28, 2025

Nobody has any idea?

TDK
Super User
October 28, 2025

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
October 30, 2025

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