Re: [Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-22 Thread Roman Lim
yes, I am running beta1 sorry for answering so late Roman Philip Levis wrote: On Jun 20, 2006, at 4:40 AM, Roman Lim wrote: In this case the CC2420 code does not release the resource before going into stop mode? (after a bit of discussion with Jonathan and Vlado) It sounds like you're

Re: [Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-20 Thread Roman Lim
In this case the CC2420 code does not release the resource before going into stop mode? Vlado Handziski wrote: On 6/16/06, *Roman Lim* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello I noticed that the calculated lowpowermode in McuSleepC.nc is 1, when there is a

Re: [Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-20 Thread Philip Levis
On Jun 20, 2006, at 4:40 AM, Roman Lim wrote: In this case the CC2420 code does not release the resource before going into stop mode? Vlado Handziski wrote: Before the MCU can go to LPM3, the USART needs to be disabled. This should be done by the implicit power manager (TEP 115) using

Re: [Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-20 Thread Vlado Handziski
On 6/20/06, Philip Levis [EMAIL PROTECTED] wrote: On Jun 20, 2006, at 4:40 AM, Roman Lim wrote: In this case the CC2420 code does not release the resource before going into stop mode? Vlado Handziski wrote: Before the MCU can go to LPM3, the USART needs to be disabled. This should be done by the

Re: [Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-20 Thread Jonathan Hui
Roman, are you running out of CVS or the beta1 rpm? I believe the auto shutdown feature on the SPI was implemented after beta1. Running the tinyos-2.x/apps/tests/TestAMOnOff does show the msp430 going into LPM3 mode. -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On

[Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-16 Thread Roman Lim
Hello I noticed that the calculated lowpowermode in McuSleepC.nc is 1, when there is a initiated radio (via ActiveMessageC), even when the radio is in stopped state. Responsible for this is the following line in McuSleepC.nc (getPowerState()): ((ME1 (UTXE0 | URXE0)) (U0TCTL SSEL1))

Re: [Tinyos-help] tmote sky: lowpowermode in McuSleepC.nc when Radio stopped (tinyos 2.0)

2006-06-16 Thread Vlado Handziski
On 6/16/06, Roman Lim [EMAIL PROTECTED] wrote: HelloI noticed that the calculated lowpowermode in McuSleepC.nc is 1, whenthere is a initiated radio (via ActiveMessageC), even when the radio isin stoppedstate.Responsible for this is the following line in McuSleepC.nc(getPowerState()):((ME1 (UTXE0