[Tinyos-help] How to make MSP430 sleep?
DEBRAJ DE
debraj.de1 at gmail.com
Fri Jun 27 15:40:15 PDT 2008
Hi Eric,
That was great to get such a helpful reply. I really appreciate that. I'll
look for the available power modes in T2. I'll also check if we can program
Trio mote (with PIR sensor) with T2.
Thanks
Deb
On Thu, Jun 26, 2008 at 2:38 AM, Eric Decker <cire831 at gmail.com> wrote:
> 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/20080627/0c0633ab/attachment.htm
More information about the Tinyos-help
mailing list