Skip to main content
jpetersen
Associate
March 27, 2013
Question

How fast can the timer inputs count?

  • March 27, 2013
  • 1 reply
  • 542 views
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
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
March 27, 2013
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 VenmoUp vote any posts that you find helpful, it shows what's working..