[Tinyos-help] How to make MSP430 sleep?

Eric Decker cire831 at gmail.com
Wed Jun 25 23:38:57 PDT 2008


First,
why do you have to use T1?

I'm more familar with T2 since I haven't worked with T1 for over 2 years.

T2 will automatically put itself to sleep if it doesn't have any work (tasks
posted) to do.
That is the short answer.  It is more complicated than that because the task
scheduler
will call power routines that determine how much of the core chipset is
needed and
will chose the appropriate power down mode.

In T2 the relevant pieces of code are in

    tos/chips/msp430/McuSleepC.nc
    tos/lib/tosthreads/system/TinyThreadSchedulerP.nc
    tos/system/SchedulerBasicP.nc

look for the calls to McuSleep.sleep();

Low power modes are also discussed in TEPs 106, 112, 131, and 134.

If you can't find a TEP on the doc web pages try pulling the HEAD of the T2
CVS tree.
They will be in the doc directory at the top level.

Hope that helps.

eric


On Wed, Jun 25, 2008 at 12:08 PM, DEBRAJ DE <debraj.de1 at gmail.com> wrote:

> Hi all,
>
>     I have to make msp430 inside Trio mote to sleep. I saw in TinyOS 2.x,
> there is module like chip/msp430/MCUSleep.nc.... But I have to use TinyOS
> 1.15.
>
>     Can anybody please help me out?
>
> Thanks,
>
> Deb
>
> _______________________________________________
> 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/20080625/8243815c/attachment.htm 


More information about the Tinyos-help mailing list