General-Purpose Timers (Tim2 - STMicroelectronics STM32F031F4 Manual

Arm-based 32-bit mcu with up to 32 kbyte flash, timers, adc and communication interfaces, 2.0 - 3.6 v
Table of Contents

Advertisement

微可Vicor——值得信赖的元器件供应商
STM32F031x4 STM32F031x6
Many features are shared with those of the standard timers which have the same
architecture. The advanced control timer can therefore work together with the other timers
via the Timer Link feature for synchronization or event chaining.
3.11.2
General-purpose timers (TIM2..3, TIM14, 16, 17)
There are six synchronizable general-purpose timers embedded in the STM32F031x4/x6
devices (see
PWM outputs, or as simple time base.
TIM2, TIM3
STM32F031x4/x6 devices feature two synchronizable 4-channel general-purpose timers.
TIM2 is based on a 32-bit auto-reload up/downcounter and a 16-bit prescaler. TIM3 is based
on a 16-bit auto-reload up/downcounter and a 16-bit prescaler. They feature 4 independent
channels each for input capture/output compare, PWM or one-pulse mode output. This
gives up to 12 input captures/output compares/PWMs on the largest packages.
The TIM2 and TIM3 general-purpose timers can work together or with the TIM1 advanced-
control timer via the Timer Link feature for synchronization or event chaining.
TIM2 and TIM3 both have independent DMA request generation.
These timers are capable of handling quadrature (incremental) encoder signals and the
digital outputs from 1 to 3 hall-effect sensors.
Their counters can be frozen in debug mode.
TIM14
This timer is based on a 16-bit auto-reload upcounter and a 16-bit prescaler.
TIM14 features one single channel for input capture/output compare, PWM or one-pulse
mode output.
Its counter can be frozen in debug mode.
TIM16 and TIM17
Both timers are based on a 16-bit auto-reload upcounter and a 16-bit prescaler.
They each have a single channel for input capture/output compare, PWM or one-pulse
mode output.
TIM16 and TIM17 have a complementary output with dead-time generation and
independent DMA request generation.
Their counters can be frozen in debug mode.
微可Vicor——值得信赖的元器件供应商
Table 5
for differences). Each general-purpose timer can be used to generate
DocID025743 Rev 3
http://www.vicor.top/
http://www.vicor.top/
021-31660491
Functional overview
19/113
021-31660491
23

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents