Figure 203. Counter Timing Diagram, Internal Clock Divided By 2; Figure 204. Counter Timing Diagram, Internal Clock Divided By 4, Timx_Arr=0X36 - ST STM32WL55JC Reference Manual

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

Advertisement

RM0453
Figure 207. Counter timing diagram, Update event with ARPE=1 (counter overflow)
Timer clock = CK_CNT
Counter register
Counter overflow
Update event (UEV)
Update interrupt flag
Auto-reload preload
Auto-reload active
26.3.3
Clock selection
The counter clock can be provided by the following clock sources:
Internal clock (CK_INT)
External clock mode1: external input pin (TIx)
External clock mode2: external trigger input (ETR)
Internal trigger inputs (ITRx): using one timer as prescaler for another timer, for
example, Timer X can be configured to act as a prescaler for Timer Y. Refer to
one timer as prescaler for another timer on page 862
Internal clock source (CK_INT)
If the slave mode controller is disabled (SMS=000 in the TIMx_SMCR register), then the
CEN, DIR (in the TIMx_CR1 register) and UG bits (in the TIMx_EGR register) are actual
control bits and can be changed only by software (except UG which remains cleared
automatically). As soon as the CEN bit is written to 1, the prescaler is clocked by the internal
clock CK_INT.
Figure 208
without prescaler.
CK_PSC
CEN
F7
(UIF)
FD
register
Write a new value in TIMx_ARR
register
shows the behavior of the control circuit and the upcounter in normal mode,
RM0453 Rev 2
36
F8 F9
FA FB FC
FD
General-purpose timer (TIM2)
34
31 30 2F
35
33
32
36
36
for more details.
MS31194V1
: Using
837/1454
893

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Stm32wl5 seriesStm32wl54 series

Table of Contents

Save PDF