STM32F437 timer sizes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 9:47 AM
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
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 11:55 AM
Oh yes, and Table 6 in the DS, DocID024244 Rev 10, might provide some insight, too...
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 9:49 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 11:55 AM
Oh yes, and Table 6 in the DS, DocID024244 Rev 10, might provide some insight, too...
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 12:08 PM
Thanks, JW. I will take your word for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 2:57 PM
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?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 3:44 PM
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.
How about ONE timer with 17x 32-bit comparators, or THREE with 8x?
Fancy to start ''2017 Easter WishList''? ;)
Jan
