Skip to main content
Visitor II
February 18, 2025
Question

Using the STM32G4 HRTIM trigger to set/reset eight GPIOs

  • February 18, 2025
  • 2 replies
  • 459 views

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.1Author
    Visitor II
    February 18, 2025

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

    Technical Moderator
    February 19, 2025

    Hello @RHelv.1 

    Please look at the AN4539