AnsweredAssumed Answered

STM32F4 Timer 2 / 5 using 32bit

Question asked by l..michael on Mar 8, 2016
Latest reply on Mar 9, 2016 by FTITI.Walid

according to the reference manual the STM32F4(07) Timer 2 and Timer 5 are capable of counting 32bit. I want to use upcounting and overflow event. As far as I understand these timers, the timer counts from 0 to ARR (auto reload value), creates an overflow event and starts from 0 again.

Using STD Peripherals library you can see in stm32f4xx_tim.h

uint32_t TIM_Period;           
/*!< Specifies the period value to be loaded into the active                        Auto-Reload Register at the next update event. This parameter must be a number between 0x0000 and 0xFFFF.  */

Is loaded into ARR.

So my problem is, that I want to use 32bits of the timer and a ARR that is bigger than 16bit.

Any ideas why only 16bit auto reload values are allowed ?