cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H755 HR timer synchronization with general purpose timers

Ballycon
Associate

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

1 REPLY 1

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.