Hi,
I'm writing an application on the cc2510 that performs the following:
Node A (send packet) -->
Node B (rcv packet)
Node B (wait 1ms)
Node B (send packet)
<--
Node A (rcv packet)
I need to find the time between Node A sending and receiving a packet, and I need this time to be as accurate as possible.
I've tried using TIMER1 at 1/26e6 frequency to count the time, but the timings are wildly inconsistent. They vary by almost 60 ticks between readings.
I'm trying to get the reading variations down to 1 tick. What is the most accurate way to measure the time between TX and RX?
Thanks in advance for your help ^_^.