RM0090
Counter clock = CK_CNT = CK_PSC
18.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 174
blocks.
Note:
The clock of the slave timer must be enabled prior to receiving 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
Clock
Figure 173. Control circuit in external clock mode 2 + trigger mode
TI1
CEN/CNT_EN
ETR
Counter register
TIF
presents an overview of the trigger selection and the master mode selection
Figure 174. Master/Slave timer example
TIM1
UEV
Master
mode
control
Prescaler
Counter
General-purpose timers (TIM2 to TIM5)
34
TS
MMS
TRGO1
ITR0
Input trigger
selection
RM0090 Rev 18
35
TIM2
SMS
Slave
CK_PSC
mode
control
Prescaler
36
MS33110V1
Counter
MS37387V1
621/1749
649
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?
Questions and answers