General-purpose timers (TIM2/TIM3) RM0367
516/1043 RM0367 Rev 7
Figure 145. Control circuit in external clock mode 2 + trigger mode
21.3.15 Timer synchronization
The TIMx timers are linked together internally for timer synchronization or chaining. When
one Timer is configured in Master Mode, it can reset, start, stop or clock the counter of
another Timer configured in Slave Mode.
Figure 146: Master/Slave timer example presents an overview of the trigger selection and
the master mode selection blocks.
Note: The clock of the slave timer must be enabled prior to receive events from the master timer,
and must not be changed on-the-fly while triggers are received from the master timer.
Using one timer as prescaler for another timer
Figure 146. Master/Slave timer example
MS33110V1
34 35 36
TIF
Counter register
Counter clock = CK_CNT = CK_PSC
ETR
CEN/CNT_EN
TI1
MS33136V1
Counter
Master
mode
control
UEV
Prescaler
Clock
Slave
mode
control
CounterPrescaler
CK_PSCITR1TRGO1
MMS
SMS
TS
Input
trigger
selection
TIMx
TIMy