General-purpose timers (TIM2 to TIM5) RM0402
516/1163 RM0402 Rev 6
Figure 164. Control circuit in external clock mode 2 + trigger mode
17.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 165 presents an overview of the trigger selection and the master mode selection
blocks.
Using one timer as prescaler for another
Figure 165. Master/Slave timer example
MS33110V1
34 35 36
TIF
Counter register
Counter clock = CK_CNT = CK_PSC
ETR
CEN/CNT_EN
TI1
MS37387V1
Counter
Master
mode
control
UEV
Prescaler
Clock
CounterPrescaler
CK_PSCTRGO1
MMS SMS
TS
Input trigger
selection
TIM1 TIM2
Slave
mode
control
ITR0