As an INS node, I would like my power controller to turn off the Wifi module when it is not needed and stay in deep sleep as much as possible so to preserve precious battery life.
DoD:
Wifi module gets turned on every ~1 minute.
MCU stays in deep sleep as much as possible.
State machine with (at least) the following states:
SLEEP_WIFI_OFF (the wifi module is off, while power controller is in deep sleep and can be woken up by a watchdog timer)
SLEEP_WIFI_ON (the wifi module is on, while power controller is in deep sleep and can be woken up by a watchdog timer or an external interrupt).
PREPARE_SHUTDOWN (the power controller warns the Wifi module it is time to shutdown and then it goes to deep sleep for a limited period. The Wifi module can ask to postpone shutdown if it is not ready to)
As an INS node, I would like my power controller to turn off the Wifi module when it is not needed and stay in deep sleep as much as possible so to preserve precious battery life.
DoD:
SLEEP_WIFI_OFF
(the wifi module is off, while power controller is in deep sleep and can be woken up by a watchdog timer)SLEEP_WIFI_ON
(the wifi module is on, while power controller is in deep sleep and can be woken up by a watchdog timer or an external interrupt).PREPARE_SHUTDOWN
(the power controller warns the Wifi module it is time to shutdown and then it goes to deep sleep for a limited period. The Wifi module can ask to postpone shutdown if it is not ready to)