Figure 216. Control Circuit In External Clock Mode 2 + Trigger Mode; Figure 217. Master/Slave Timer Example - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0461
A rising edge on TI1 enables the counter and sets the TIF flag. The counter then counts on
ETR rising edges.
The delay between the rising edge of the ETR signal and the actual reset of the counter is
due to the resynchronization circuit on ETRP input.
Counter clock = CK_CNT = CK_PSC
24.3.19
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 217: Master/Slave timer example
with 1 channel only timers
selection blocks.
Clock
Prescaler

Figure 216. Control circuit in external clock mode 2 + trigger mode

TI1
CEN/CNT_EN
ETR
Counter register
TIF
present an overview of the trigger selection and the master mode

Figure 217. Master/Slave timer example

TIM1
MMS
UEV
Master
TRGO1
mode
control
Counter
34
and
Figure 218: Master/slave connection example
TS
SMS
Slave
ITR1
mode
control
Input
trigger
selection
RM0461 Rev 5
General-purpose timer (TIM2)
35
TIM2
CK_PSC
Prescaler
36
MS33110V1
Counter
MS32694V1
757/1306
789

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Table of Contents