Hi, I am using TinyOS on Atmel Atmega128RFA1 , I am using Phillipp Sommer port of TinyOS for Atmega128rfa1.
I have been trying to synchronize number of Atmega128RFA1 modules to accuracy of < 25 microsecond using FTSP. I have been able to run FTSP on these nodes and subsequently synchronize number of nodes in range of millisecond. Now, `I am having a strange problem, I have written my version of TimeSyncC.nc for microsecond, I found the LocalTimeMicroC gives incorrect time in Microseconds. I further debugged and found that, whenever a Timer event is called, the delay between starting of timer and subsequently calling of fired() is not reflected in Time maintained by system in microseconds, while time in milliseconds is updated, it is not the case with microsecond. I used LocalTime<TMilli> and LocalTime<TMicro> and printed time value, while TMilli was updated, TMicro wasnt. For instance: If I start Timer at 1202658 seconds and have a delay of 1 seconds, when I read time again in fired, I find time still is 1202658, when it should be 2202658, this is giving inaccurate results with FTSP. Can anyone suggest me why this is happening ? On Zigbit modules and port of TinyOS for meshbean developed at ETH, Zurich, It was working fine. Thanks, Ambuj Varshney Research Engineer Embedded systems and Wireless sensor network Group DA-IICT, India
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
