I am creating a wireless sensor network to collect data using the Edison MCU as a data sink with the objective of lowest power consumption. When the data is read from the UART the MCU wakes up the host using the host_send API and passes the data.
I am aware there are 3 power modes available on the Edison.
My question is when the MCU is running and the mcu_sleep command give to put the host asleepm , What power mode is the host?
Thank you for contacting Intel Customer Support.
Check the link below and let me know if it's helpful for you:
Thanks for the reply but no this isn't helpful. I need to understand what state the CPU is set when using the sleep MCU API.
So when i tell the host to sleep and wake it up using
mcu_sleep(12000); /* wake up CPU every 2 minutes */
host_send((unsigned char*)"wake up!\n", 10);
What below states will the host CPU be when sleeping?
"mem" > /sys/power/state
"freeze" > /sys/power/state
The CPU can be in either "mem" or "freeze" states, but ideally it will be in "mem" for significant power saving.
The following line of code "mcu_sleep(1200)" only sets the MCU to sleep, not the Edison entirely.
More information on the Intel Edison power states can be found in the following documentation: https://github.com/01org/edison-linux/blob/master/Documentation/power/states.txt https://github.com/01org/edison-linux/blob/master/Documentation/power/states.txt