How fast can the timer inputs count?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-03-27 4:02 PM
Posted on March 28, 2013 at 00:02
How fast can a timer input count (M4)?
I want to repeat triggering an event after a certain number of counts of a very accurate clock (as fast as I can use). #advanced-timers
Labels:
- Labels:
-
TIM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-03-27 4:14 PM
Posted on March 28, 2013 at 00:14
The synchronizer in front of the input limits input frequency at about half the TIMCLKx rate, due to sampling/aliasing Nyquist limitations. So perhaps 84 MHz on APB2, and 42 MHz on APB1
You're ability to interrupt against the timer, probably several hundred KHz to saturate the CPU. You can sample the CNT via DMA paced by another timer.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
