cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F412 TIM3 16 bit or 32 bit ?

gahelton1
Associate III

The reference manual (RM0402, DocID028087 Rev 7, Fig 4) shows TIM3 as a 32 bit timer. However, the in the description in Section 17.2, TIM3 and TIM4 are described as 16 bit timers.

Is this a mistake in Figure 4 ?

Thanks

0693W00000HoK8rQAF.jpg 

0693W00000HoK8wQAF.jpg

2 REPLIES 2
TDK
Guru

TIM3 on STM32F4 is a 16 bits. The 32-bit timers are TIM2 and TIM5.

That's the datasheet, not the reference manual.

If you feel a post has answered your question, please click "Accept as Solution".
S.Ma
Principal

HW never lie, go debug mode, run and stop the code, use hw register peripheral view to enable timer clock in RCC, theb write a 32 bit value in TIM.CNT and voila, you know....