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.

OMAP-L138 Timer register read latency

Hi everyone,

I've been running into a problem lately, I try to time stamp some events the most precisely possible.

The first thing I notice is that from the time a pulse is generated on a gpio and the time the first instruction is exexuted in a FIQ is 550ns which is quite big already.
Then, I read a timer counter, which take 210 nano  seconds (63 cycles, I hope I'm mistaken) on tmr64P2, it's even longer if I try to read tmr64P0.

It becomes more disturbing when you try to date an event relatively to an other.

Is it normal delays, or am I missing something. Knowing that all my FIQ is in cache and locked in cache. All this is run by ARM core.

Thanks,

Maxime