This is an old revision of the document!


Timer 2..5

The STM32F429ZI offers several general purpouse timers. Timer 2 and 5 are 32 bit timers, while timer 3 and 4 are 16 bit timers. They may be used for measuring time (basic timer), measuring input pulse length (input capturing) or generating waveforms (output compare / PWM). The timers are fully independent and can be synchronized together.




  • 16-bit / 32-bit up, down, up/down auto-reload counter.
  • Prescaler (16 bit) to adjust counting clock, even during runtime.
  • 4 independent channels for:
    • Input capture
    • Output compare
    • PWM generation (edge- and center-aligned)
    • One-pulse output
  • Synchronization / control through external signals.
  • Interrupt / DMA generation.




Configuration Registers
CR1Control Register 1
PSCPrescaler register
DIERDMA / Interrupt enable register
Data Registers
CNTCounting register










  • stm32/peripherals/timer_2..5.1453727328.txt.gz
  • Last modified: 2016/01/25 13:08
  • by feur