cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

1 REPLY 1

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