If you are trying to sample at 3khz, you should use a hardware timer
instead of a virtualized timer in TimerJiffy or TimerMilli.  You will
need to pick one that isn't used by other services.  I believe I've
posted in the past listing which timers are allocated and which are
not, search the archives.  The interface you'll want to use is
MSP430Compare.

It can be tricky to do all of that in TinyOS 1.x.  We've cleaned that
all up in Moteiv Boomerang, which you can download from
www.moteiv.com.  In Boomerang, you can allocate a new hardware timer
with "new Alarm32khzC();" which gives an instance of an Alarm
interface that maps down to a hardware timer without conflict.

Cory

On 5/10/06, jagan nath <[EMAIL PROTECTED]> wrote:
Hello all I need to sample at 3KHz for my application, I'm using
tmotes. Which interface do I use for this.

2. What is the difference between Timerjiffy and Timermilli interfaces

regards
jagan

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


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

Reply via email to