How can i program a fast timer (10MHz) with NUCLEO-F103RB?

10 Nov 2017

Hello!

I would like to use a counter/timer to count the time between pulses. I read this pulse with Interrupts and now use time_us() to calculate time difference between the pulses. But this is not precise enough for my application.

How can I program a timer to run at 10Mhz (or at least faster than time_us) and read the timer values? With freerunning hardware timer.

I somebody can show me where to look or can give a short example that would be great.

12 Jul 2018

I have the same problem. Frwd the reply if you have any?