cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F437 timer sizes

John Hite
Associate III
Posted on March 30, 2017 at 18:47

I see varying information about whether the timers in my STM32F437 are 16 bit or 32. Maybe I missed a table in RM0090 or the data sheet. Could someone please point me to a place where this info might be consolidated?

So far by hit or miss it seems TIM2 is 32 bits and TIM4 is 16?

Thanks,

JH

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on March 30, 2017 at 18:55

Oh yes, and Table 6 in the DS, DocID024244 Rev 10, might provide some insight, too...

JW

View solution in original post

5 REPLIES 5
Posted on March 30, 2017 at 18:49

RM0090 deals with this, although not in a single place, you have to read the introduction of all 4 timer chapters.

But, if you believe me, only TIM2 and TIM5 are 32-bit, the rest is 16 bit.

JW

Posted on March 30, 2017 at 18:55

Oh yes, and Table 6 in the DS, DocID024244 Rev 10, might provide some insight, too...

JW

Posted on March 30, 2017 at 19:08

Thanks, JW. I will take your word for it.

Posted on March 30, 2017 at 21:57

http://www.st.com/content/ccc/resource/technical/document/datasheet/fd/8c/0a/19/13/8f/41/99/DM00077036.pdf/files/DM00077036.pdf/jcr:content/translations/en.DM00077036.pdf

 

TIM2 and TIM5, pretty sad for a 32-bit micro, a small part of me weeps that someone in the design meeting didn't say *NO* much louder!! 

'Up to 17 timers: up to twelve 16-bit and two 32- bit timers up to 180 MHz, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input'

12+2 is 14, even for extremely large values of 2, and you can't count the 32-bit ones twice. And I'm pretty sure both the 32-bit timers on APB1 at 45 MHz (TIMCLK 90 MHz)

Who needs 17 timers anyway? Kind of indicative you've got some sub-par ideas about how a singular timer needs to function. How about ONE timer with 17x 32-bit comparators, or THREE with 8x?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 30, 2017 at 22:44

12+2 is 14, even for extremely large values of 2

They count up the RTC, and the two watchdog *timers* - said Table 6 does not show this anymore, but you can see it in other STM32 DS. Funnily, SysTick is not counted.

0690X00000606f9QAA.png

How about ONE timer with 17x 32-bit comparators, or THREE with 8x?

Fancy to start  ''2017 Easter WishList''? ;)

Jan