Skip to main content
seppeltronics_v
Associate III
October 20, 2022
Question

[SOLVED] Pin triggered Timer-Delay (STM32G4 Timer2)

  • October 20, 2022
  • 1 reply
  • 1284 views

Hello,

how do I have to setup the timer-2 so it create an one-shot delay on every rising edge (could also be falling, does not matter).

This timing diagram indicates what I like to do, so I get an output-Event for the DAC and callback for an ISR(optional):

0693W00000UoRIRQA3.png 

Thanks a lot.

Best Regards, Seppel

0693W00000UoRIqQAN.png

This topic has been closed for replies.

1 reply

seppeltronics_v
Associate III
October 20, 2022

Hello,

solved, however I still struggle with the ARR(AutoReload) and why it needs to be disabled. Maybe somone can send me a good guide on timers (please no ST-documentation like ST-Timer-Cookbook).

Thanks a lot.

Best Regards, Seppel

0693W00000UoTFjQAN.png