cancel
Showing results for 
Search instead for 
Did you mean: 

How fast can the timer inputs count?

jpetersen
Associate
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
1 REPLY 1
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..