Skip to main content
gahelton1
Associate III
December 12, 2021
Question

STM32F412 TIM3 16 bit or 32 bit ?

  • December 12, 2021
  • 2 replies
  • 1795 views

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

This topic has been closed for replies.

2 replies

TDK
December 12, 2021

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
December 13, 2021

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....