STM32F103xC, STM32F103xD, STM32F103xE
Window watchdog
Description
The window watchdog is based on a 7-bit downcounter that can be set as free running. It
can be used as a watchdog to reset the device when a problem occurs. It is clocked from the
main clock. It has an early warning interrupt capability and the counter can be frozen in
debug mode.
SysTick timer
This timer is dedicated to real-time operating systems, but could also be used as a standard
down counter. It features:
●
●
●
●
A 24-bit down counter
Autoreload capability
Maskable system interrupt generation when the counter reaches 0.
Programmable clock source
General-purpose timers (TIMx)
There are up to 4 synchronizable standard timers (TIM2, TIM3, TIM4 and TIM5) embedded
in the STM32F103xC, STM32F103xD and STM32F103xE performance line devices. These
timers are based on a 16-bit auto-reload up/down counter, a 16-bit prescaler and feature 4
independent channels each for input capture/output compare, PWM or one pulse mode
output. This gives up to 16 input captures / output compares / PWMs on the largest
packages. They can work together with the Advanced Control timer via the Timer Link
feature for synchronization or event chaining.
The counter can be frozen in debug mode.
Any of the standard timers can be used to generate PWM outputs. Each of the timers has
independent DMA request generations.
Basic timers TIM6 and TIM7
These timers are mainly used for DAC trigger generation. They can also be used as a
generic 16-bit time base.
Advanced control timers (TIM1 and TIM8)
The two advanced control timers (TIM1 and TIM8) can each be seen as a three-phase PWM
multiplexed on 6 channels. They can also be seen as a complete general-purpose timer.
The 4 independent channels can be used for
●
●
●
●
●
Input Capture
Output Compare
PWM generation (edge or center-aligned modes)
One-pulse mode output
Complementary PWM outputs with programmable inserted dead-times.
If configured as a standard 16-bit timer, it has the same features as the TIMx timer. If
configured as the 16-bit PWM generator, it has full modulation capability (0-100%).
The counter can be frozen in debug mode.
Many features are shared with those of the standard TIM timers which have the same
architecture. The advanced control timer can therefore work together with the TIM timers via
the Timer Link feature for synchronization or event chaining.
15/118