Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: High Resolution Timer to Monitor Fluctuations in Period

$
0
0

Hi,

I have an application where I need to time the duration between two events. The events do not necessarly fall on the same period every time (i.e. exectution time during the events can vary). The timer needs to be at least a 100 us per count resolution for the data to be useful. The 2 events will never occur more than .1 seconds apart.

Is there a way to start a dmtimer and simply read the value incremented within its counter? Or a way to get a high enough resolution time from the rtc? I would prefer a method that does not require me to set an interrupt and increment my own counter upon interrupt trigger as that creates needless overhead.

Thanks,

Eddie


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>