Datasheet

Functional overview STM32F21xxx
28/175 DocID17050 Rev 9
3.20.1 Advanced-control timers (TIM1, TIM8)
The advanced-control timers (TIM1, TIM8) can be seen as three-phase PWM generators
multiplexed on 6 channels. They have complementary PWM outputs with programmable
inserted dead times. They can also be considered as complete general-purpose timers.
Their 4 independent channels can be used for:
Input capture
Output compare
PWM generation (edge- or center-aligned modes)
One-pulse mode output
If configured as standard 16-bit timers, they have the same features as the general-purpose
TIMx timers. If configured as 16-bit PWM generators, they have full modulation capability (0-
100%).
The TIM1 and TIM8 counters can be frozen in debug mode. Many of the advanced-control
timer features are shared with those of the standard TIMx timers which have the same
architecture. The advanced-control timer can therefore work together with the TIMx timers
via the Timer Link feature for synchronization or event chaining.
General
purpose
TIM2,
TIM5
32-bit
Up,
Down,
Up/down
Any integer
between 1
and 65536
Yes 4 No 30 MHz
60
MHz
TIM3,
TIM4
16-bit
Up,
Down,
Up/down
Any integer
between 1
and 65536
Yes 4 No 30 MHz
60
MHz
Basic
TIM6,
TIM7
16-bit Up
Any integer
between 1
and 65536
Yes 0 No 30 MHz
60
MHz
General
purpose
TIM9 16-bit Up
Any integer
between 1
and 65536
No 2 No 60 MHz
120
MHz
TIM10,
TIM11
16-bit Up
Any integer
between 1
and 65536
No 1 No 60 MHz
120
MHz
TIM12 16-bit Up
Any integer
between 1
and 65536
No 2 No 30 MHz
60
MHz
TIM13,
TIM14
16-bit Up
Any integer
between 1
and 65536
No 1 No 30 MHz
60
MHz
Table 4. Timer feature comparison (continued)
Timer type Timer
Counter
resolution
Counter
type
Prescaler
factor
DMA
request
generation
Capture/
compare
channels
Complementary
output
Max
interface
clock
Max
timer
clock