Skip to main content
Explorer
August 26, 2026
Question

HRTIM: when to change counter enable bits?

  • August 26, 2026
  • 1 reply
  • 38 views

STM32G4 Reference Manual (RM0440) states that all of the Timer x counter enable (in HRTIM_MCR) bits “must not be changed within a minimum of 8 cycles of fHRTIM clock.” What does that mean? How can I ever set or reset them when fHRTIM is the same as my processor core clock?

 

 

1 reply

AScha.3
Super User
August 26, 2026

After access/change you have to wait minimum 8 clocks untill you change it again.

If you feel a post has answered your question, please click on " Best Answer ".