Hello,
I am testing the flooding time synchronization protocol on the mica2 hardware which contains the CC1000 radio and the atmega128L processor. I have it programmed using the open source code from github tinyos-release repo, that is where the settings of the CC1000 radio have been set. It appears as though all the settings are set properly however the only thing i can see is that they have the crustal frequency set to 8 MHZ instead of the recommended freq of 7.37 mhz.
My problem is I use the App RadioCounttoLEDs from the tinyos repo which runs a millisecond timer and I have indicated it to fire every 5 seconds (5*1024 = 5120 ms ticks). However, my device is sending at a much faster pace and is not very consistent. I measure timestamps of consecutive packets being sent and the difference is approx about 4.3 seconds +-0.5 seconds when it should be 5. I was wondering if this is because of the hardware, would it do that if it is not set at the recommended setting or is this due to a setting (software issue)?
Thank you so much!
Asma Khalil