Thanks for a prompt reply,
can i port my application written in 1.x to boomerang directly ,
because I 'm afraid i have already done too much of work and it will
be late if i have to make too many changes.
Is there any work around.

I'm presently trying to work on a copy of the timerjiffyasyncC. I have
changed the timer from B4 to B5 ( i think B5 is free). But I'm not
clear as to what jiffy value to use in the
Timerjiffyasync.setoneshot(jiffy) in order to sample at 3Khz.

regards
jagan


On 5/11/06, Cory Sharp <[EMAIL PROTECTED]> wrote:
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