AnsweredAssumed Answered

Timer with external clock in gated mode

Question asked by smrtkai on Apr 11, 2016
Latest reply on Apr 11, 2016 by Clive One

I would like to configure a timer as a slave in gated mode which has an external clock from another timer. So in my setup I do would have three timers. A "clock timer" which outputs a given clock frequency, a master timer which gates a slave timer.

In STM32CubeMX you can select a "Clock Source" to be an external pin ("ETR2"). In AN4013 describes the clock source as follows: "The external clock mode2 uses the ETR pin as timer input clock."

So I could output the clock signal on a pin from one timer and connect it as an external trigger for another timer. But I do not know which pin are the ETR pins.

So my question is: Which are the ETR pins for timers?

And: Is there maybe an easier solution? Without any hardware connection.