Skip to main content
AMend.5
Associate III
June 21, 2021
Question

HRTIM, How to set Two timers in up/down count mode and synchronized?

  • June 21, 2021
  • 2 replies
  • 1767 views

Hi,

I need guidance on how to set up two HRTIM timers in up/down count mode and synchronized with each other.

How to implement this configuration using STM32CubeMX?

To synchronize two timers is it mandatory to use the Master Timer, or do the Timers(A..F) have some synchronization mechanism between them?

2 replies

Igor Cesko
ST Employee
July 9, 2021

Hi AMend.5 ,

Synchronization between timers can be done by master timer (or by another synchronization source). See please the presentation obout HRTIM and find there "master timer" function explanation . In STM32G4CubeFW is included example for mater timer for HRTIM (for Nucleo board: HRTIM_Basic_PWMMaster).

Regards

Igor

Javier1
Principal
February 10, 2025

Hi @Igor Cesko , thats a great presentation, how do we "click" that functionality in cubeMx?

Or do we go direct register access with this basic functionality

Javier1_0-1739180219304.png

 

hit me up in https://www.linkedin.com/in/javiermuñoz/