Functional overview
STM32WB55xx STM32WB35xx
3.20
Timers and watchdogs
The STM32WB55xx and STM32WB35xx include one advanced 16-bit timer, one general-
purpose 32-bit timer, two 16-bit basic timers, two low-power timers, two watchdog timers
and a SysTick timer. Table 13 compares the features of the advanced control, general
purpose and basic timers.
Timer
type
Advanced
control
General
purpose
General
purpose
General
purpose
Low power
Timer
TIM1
TIM2
TIM16
TIM17
Table 13. Timer features
Counter
resolution
Counter
type
Prescaler
factor
DMA
request
generation
16-bits
Up, down,
Up/down
32-bits
Up, down,
Up/down
Any integer
16-bits
Up
between 1
Yes
and 65536
16-bits
Up
LPTIM1
LPTIM2
16-bits
Up
Capture/
compare
channels
4
4
2
2
1
Complementary
outputs
3
No
1
1
1
3.20.1
3.20.2
Advanced-control timer (TIM1)
The advanced-control timer can be seen as a three-phase PWM multiplexed on six
channels. They have complementary PWM outputs with programmable inserted
dead-times. They can also be seen as complete general-purpose timers. The four
independent channels can be used for:
Input capture
Output compare
PWM generation (edge or center-aligned modes) with full modulation capability (0 to
100%)
One-pulse mode output
In debug mode, the advanced-control timer counter can be frozen and the PWM outputs
disabled to turn off any power switches driven by these outputs.
Many features are shared with those of the general-purpose TIMx timers (described in
Section 3.20.2) using the same architecture, so the advanced-control timers can work
together with the TIMx timers via the Timer Link feature for synchronization or event
chaining.
General-purpose timers (TIM2, TIM16, TIM17)
There are up to three synchronizable general-purpose timers embedded in the
STM32WB55xx and STM32WB35xx (see Table 13 for differences). Each general-purpose
timer can be used to generate PWM outputs, or act as a simple time base.
TIM2
– Full-featured general-purpose timer
50/193
DS11929 Rev 10