Hello everyone, I am trying to understand the tinyos power management for Iris motes. I have read through the power management TEP and the scheduler code which keeps executing tasks and calls McuSleep.sleep() when there are no tasks in the queue. McuSleep.sleep() for atmega1281 calls getPowerState which checks various components and returns either ATM128_POWER_IDLE, ATM128_POWER_ADC_NR or ATM128_POWER_DOWN. My query is that does it ever end up at the bottom of the if else ladder and return ATM128_POWER_DOWN? In the power down mode, atmega1281 can only wake up from external interrupts, watchdog reset or I2C address match. If the micro is powered down, which of these or which of the external interrupts wakes it back up on Iris?
Any pointers or insight will be really helpful. Thanks.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
