Madhu,

TimerJiffy is based on a 32768 Hz clock or equivalently 30.5 microseconds
per tick.  The msp430 platforms in TinyOS 1.x provide a LocalTimeMicroC
component.  Note, microsecond time on the msp430 platforms is based on Timer
A (TAR), which is based on the MCU clock, which shuts off in any low power
mode.  This effectively means you can't use it to time between tasks, only
within a task.

Cory

On 11/28/06, Madhu Mudigonda <[EMAIL PROTECTED]> wrote:

Hello Everybody ,


In TimerJiffy Timer provided by TimerM component in tinyos-1.x, how many
ticks are considered as one second? I have read in "Flexible Hardware
Abstractions for Wireless Sensor Networks" Poster paper (
http://www.tkn.tu-berlin.de/publications/papers/handziski_sensys.pdf)
that, TimerJiffy gives 30.5 micro-second accuracy.

In TEP-102 document page :
http://www.tinyos.net/tinyos-2.x/doc/html/tep102.html, it is mentioned
that, in TimerMicro no. of ticks/second as 1048576. Is this TimerMicro is
same as TimerJiffy in Tinyos-1.x ? I'm looking for a Timer with
Micro-second accuracy in Tinyos-1.x.

Following text from TEP-102 document:

"Precision is expressed as an empty type -- TMilli, T32khz, and TMicro --
written in the standard Timer.h header like this:
  typedef struct { } TMilli; // 1024 ticks per second
  typedef struct { } T32khz; // 32768 ticks per second
  typedef struct { } TMicro; // 1048576 ticks per second"

Any kind of help is appreciated.Thanks in advacne.

Thanks--
Madhu Mudigonda


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

Reply via email to