Hi,
I have a few of the xBee series 2 modules and my project requires that I have very stringent synchronization requirements, down to about 1 microsecond resolution. I have done a lot of reading on synchronization techniques (like at the following website).
http://www.cs.wustl.edu/~jain/cse574-06/time_sync.htm
They all seem to require some low-level access to the MAC layer or similar. The simplest way I can think of was using a coordinator module to send a “broadcast” to all xBee nodes. Then each node would note the time of reception and thus the nodes can be synchronized with each other (assuming transmission over the air is instantaneous, and it basically is going to be at the nanosecond level). This is basically “Reference Broadcast Synchronization” in the page above.
The problem with this is that if I use the xBee modules as is, there is all that reception time in packetizing, sending the broadcast reception through UART to my microcontroller, etc and a lot of accuracy will be lost. I need to almost know the exact time at which the physical radio wave hit the antenna. Do the xBee modules make it easy to read this time value? Does anyone have any ideas for what I could do? One paper that I read (http://www.ece.uah.edu/~milenka/docs/dc … _synch.pdf) talked about how they were using these “Telos” modules that actually would trigger a pin that could be hooked up to an interrupt, whenever the specific start of frame byte was received. Is there anything that could be done similar for xBee?
Thank you.