AnsweredAssumed Answered

Starting two timers synchronous

Question asked by anlauf.christoph on Jan 12, 2012
Latest reply on Jun 27, 2013 by parlakf
Hello everybody!

In my program I have to start two timers exactly at the same time. In my current code I start them behind one another (just one line of code each) but unfortunately the error with this method is too large.
I'm not really into the possibilties a STM32 µC provides, maybe you can give me some tips or even an example code where this problem is solved.
Some facts about the timer-settings:

Timer1 is in PWM-Mode, triggering the ADC.
Timer4 is in OnePulse-Mode.

Hope this problem isn't very hard to solve ;)

Thank you in advance!

Outcomes