Skip to main content
Visitor II
March 3, 2025
Question

STM32H755 HR timer synchronization with general purpose timers

  • March 3, 2025
  • 1 reply
  • 485 views

Hi,

I am looking to synchronize the HR timers (HRTIM) on the STM32H755 with the other general-purpose timers (TIM). Is this possible? The documentation alludes to it, but I don't see example implementation or how to do it in the application notes. I see that it is possible to synchronize the various general-purpose timers using internal triggers. Can the same internal triggers be shared with the HR timer?

Thanks,

Alan

    This topic has been closed for replies.

    1 reply

    ST Employee
    March 11, 2025

    Hello, 

    Yes, It is possible to synchronize hrtim start/reset with other GPTIM: TIM1. You can find more information in this chapter RM0399: "39.3.17 Synchronizing the HRTIM with other timers or HRTIM instances"

    If you are using CubeMx, please follow these steps:

    Program TRGO output event inTIM1, 

    On hrtim side, enable "Master Timer Enable", in "Synchro Configuration" select slave mode and synchronization on on-chip timer. For the used timer unit, select start or reset "synchronization events starts/resets the timer"

    Best regards.