[Tinyos-help] telos crystal and timers

Eric Decker cire831 at gmail.com
Tue Jun 17 22:57:07 PDT 2008


On Tue, Jun 17, 2008 at 8:35 PM, Shomnat Mitra <shomnat at gmail.com> wrote:

> Hello ,
>
> The telosb has a 32768 Hz crystal.
>
> So the lowest precision of time that it can measure is :
>
> 1/ 32768 seconds = 30.517us


That is the underlying clock running timerB which is used to provide
TMilli.

>
>
> So when we use a Timer<TMicro> interface , is this precision we get ?


TMicro is actually based on the main system clock running TimerA.  It clocks
at 1MHz
and the 32K timer is used to calibrate it.  This is the timing source used
for TMicro.  You
really do get close to 1us ticks.

eric


>
>
> What about LocalTime.get() 's precision ?
>
> Thanks in advance ,
> Somnath Mitra
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080617/f79c36ec/attachment.htm 


More information about the Tinyos-help mailing list