2020-04-17 11:46 AM
Hi,
I am synchronizing two timers, actually already succeed but I was stuck two days because the trigger output event TRGO of TIM1 was connected to OC4REF (and CCR4 was accordingly set).
With this configuration I didn't receive a pulse in the slave trigger input, but when I select TRGO = OC1 and I set my value in CCR1 it worked.
I also tried with OC1REF, OC2REF and on.
My question is, what is the difference between TRGO in compare pulse (OC1) and in OCxREF?
I am using STM32G474RE
Thanks!!
Daniel
Solved! Go to Solution.
2020-04-18 01:11 PM
Wow, it worked!!
I see the waves and they are just like when I used CP1 and now OC4REF is selected.
So that's was the issue. So happy!! Thanks Berendi!!