Skip to main content
RHelv.1
Associate III
February 18, 2025
Question

Using the STM32G4 HRTIM trigger to set/reset eight GPIOs

Hello. I have an application where I am using the HRTIM in a timing critical section of code. When the (one-shot) timer expires, I need to set/reset up to eight GPIOs, then restart the timer with a different period. It's not clear in the RM how to program the HRTIM to do this. Can someone point me to an application note that shows how to setup the timer to do this?

 

Thank you,

Rob

This topic has been closed for replies.

2 replies

RHelv.1
RHelv.1Author
Associate III
February 18, 2025

It's not clear in my question, but I am trying to use the trigger system to avoid a callback. 

ST Technical Moderator
February 19, 2025

Hello @RHelv.1 

Please look at the AN4539? 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om