Hi all,

 

I have 2 questions related to the timing in TinyOS:

 

1.      I implemented a TDMA MAC protocol in TinyOS 1.x. When executed in
the nodes (I’m using a MSP430 microcontroller and a nRF2401 radio chip), the
protocol performed without any problem. But when I tried this protocol in
TOSSIM I found a lot of problems due to the timing (the timers that control
the TDMA protocol, that have to be quite precise, do not fire when they are
supposed to fire). I’m thinking of porting to TinyOS 2.0. Shall I have the
same problems with the timing in TOSSIM for TinyOS 2.0?
2.      I need a sampling frequency of 32KHz for the sensor that I’m using.
I was completely unable to implement the driver for the sensor in TinyOS 1.x
to fulfill the requirements of such a high sampling frequency. Shall I have
the same problem in TinyOS 2.0? I have read that with TinyOS 2.0, I can have
access to the hardware timer using the Alarm interface (that is async). Can
I solve the problem by using the Alarm interface instead of the Timer
interface?

 

Thanks in advance.

Regards,

 

Fran Rincón

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to