[Tinyos-help] how to let mote sleep

Timothy Strongton timisstrong at gmail.com
Tue Jul 4 00:23:57 PDT 2006


Thanks to Phil Levis and Hui Kang (mailed me directly) for teaching me about
this.

To recap, the other components (except the MCU) don't sleep even if there
are no tasks to run.  Hence, for example, if the radio is in RX mode, I
believe an interrupt would wake up the MCU if any packet is received.  If
needed, the radio has to be sent to sleep explicitly.  The correct way to do
this seems to be through the OscillatorOff() command in the CC2420Control
interface of CC2420ControlM (in TinyOS 1.x).

Thanks again,
Tim

On 7/3/06, Hieu Tran <ctkdh at yahoo.com> wrote:
>
>  As Tim said Whenever there are no more tasks to run, TinyOS automatically
> sleeps. So I wonder how mote can continute to receive radio signal? (ex: in
> case the base station send radio signal to the mote). May be it have to wake
> up periodically?
>
>
>
>
>
>
> Whenever there are no more tasks to run, TinyOS automatically sleeps.
>
> HTH,
> Tim
>
>
>
>
>  ------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/+%0A>
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060704/2192ac1f/attachment.htm


More information about the Tinyos-help mailing list