Skip to main content
Nsg1987
Associate III
May 8, 2023
Solved

Relation between advanced timer and HR timer in STM32G474

What is the relation between advanced timers (Tim1, 8, 20) and HR Timer (Timer A to F) in STM32G474? How to interconnect advanced timers with HR timers? Any example?

This topic has been closed for replies.
Pete Dietl
Pete DietlBest answer
Associate II
May 22, 2023

In what way do you want to combine the use of the advanced timers and the HR timers? If you look at the “external events mapping�? section of the RM0440 Rev 7 document on page 843, you can see maybe other timers’ TRIGO can be used to synchronize the timers.

2 replies

Pete Dietl
Pete DietlBest answer
Associate II
May 22, 2023

In what way do you want to combine the use of the advanced timers and the HR timers? If you look at the “external events mapping�? section of the RM0440 Rev 7 document on page 843, you can see maybe other timers’ TRIGO can be used to synchronize the timers.

Nsg1987
Nsg1987Author
Associate III
May 22, 2023

Thanks Pete,

I used the same method to synchronize HRTimer and Advanced Timer.