Skip to main content
fhu.11
Associate III
September 15, 2021
Solved

I found the TIM3 of the G070 chip has 32bits Cnt register and ARR register in Reference manual. However, I can only configure the Low 16bits of these registers in STM32CubeIDE which means the max value of these registers is 65535 instead of 2^32 - 1.

  • September 15, 2021
  • 2 replies
  • 1132 views

..

This topic has been closed for replies.
Best answer by TDK

That doesn't say TIM3 is 32 bit.

It's actually copy/pasted from the STM32G0x1 reference manual, which has TIM2 (a 32-bit timer) and lists TIM2/TIM3/TIM4 in the same section. However, the STM32G0x0 doesn't have TIM2, so they sloppily removed all references to TIM2 and left inconsistencies like this.

0693W00000DnBvIQAV.png 

TIM3 is 16 bits.

2 replies

TDK
September 15, 2021

TIM3 is a 16-bit timer per the reference manual and datasheet.

0693W00000DnBqwQAF.png 

The CNT register might be 32-bits, but only the lower 16 bits are usable.

"If you feel a post has answered your question, please click ""Accept as Solution""."
fhu.11
fhu.11Author
Associate III
September 15, 2021

0693W00000DnBt7QAF.pngthis is the TIM3 register map which means only TIM3 has 32bits Cnt and ARR register

TDK
TDKBest answer
September 15, 2021

That doesn't say TIM3 is 32 bit.

It's actually copy/pasted from the STM32G0x1 reference manual, which has TIM2 (a 32-bit timer) and lists TIM2/TIM3/TIM4 in the same section. However, the STM32G0x0 doesn't have TIM2, so they sloppily removed all references to TIM2 and left inconsistencies like this.

0693W00000DnBvIQAV.png 

TIM3 is 16 bits.

"If you feel a post has answered your question, please click ""Accept as Solution""."
fhu.11
fhu.11Author
Associate III
September 15, 2021

oh I see !:face_with_tears_of_joy:

Thank you very much �?:beaming_face_with_smiling_eyes: