I don't know if there's anyone out there looking into this problem,
but I thought I would report on what I have found so far.

Disclaimer.  While I understand the tinyos CPU power management scheme
at a high level, I really don't know enough about the msp430 to know
if the implementation details (including the inline assembly) is
correct.

Anyway, I went into chips/msp430/McuSleepC.nc and forced it into
various power states (meaning that I manually set the powerState
variable in computePowerState();  Since I'm running the Null app, and
just trying to verify that the power managment works, this seems like
a reasonable thing to do.

If I set it to LPM4 the mote is consuming ~510uA.
If I set it to Active it consumes ~1.6mA

Further, when I don't force it, it seems to be correctly choosing
LPM4, but I can't seem to get rid of that last 500uA.  I'll keep
looking at it, but if anybody out there has any advice,
recommendations of things to try, etc, please send them along.  I'm
hunting blind at this point.

Is there some other component that would draw 500uA, if carelessly
left on?  I'm using the Null app, so there's no Radio or Flash code
included in the app.c file.

I know I can get the power consumption down in TinyOS 1.x, but I
REALLY don't want to go back to that.

Thanks,
Jacob

On Mon, Jul 6, 2009 at 4:20 PM, Jacob Sorber<[email protected]> wrote:
> I don't know if anyone has had this problem, but it seems in tinyos
> 2.1 that my tinynode 584s are not sleeping by default.  For example,
> when I program a tinynode with the Null sample app (radio off, no
> Leds, no computation, no tasks), it draws about 500-600uA, not the
> 0.2uA I expected.
>
> In TinyOS 2.0, I seem to remember this happening automatically.  If
> there's something I have to do to turn on MCU power management, I
> would love to know what it is.
>
> Thanks,
> Jacob Sorber
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to