This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

High Resolution Timer to Monitor Fluctuations in Period

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