2022-11-28 01:59 AM
Hi ,
I am trying to set STM32F051K6 to 32bit TIMER for TIM2. what register needs to be set in-order to count to 32bit mode. I read the HRM but there is not detailed description where to set TIM 2 to 32bit mode.
2022-11-28 02:19 AM
Does it have a 32 bit timer?
The prescalers are always 16 bit, but depending on STM32 some have a couple of 32 bit TIM, and you simply write ARR and CCRx registers at their full width.
2023-01-17 01:51 AM
Thanks this helped I was able to set ONLY TIM2 to 32 bit mode others are 16 bit timers