Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
1,173 Views

Edison Power Mode when MCU puts Host to sleep

Hi,

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?

Thanks

Cliff

0 Kudos
3 Replies
Highlighted
Community Manager
26 Views

Hello, Cliff

 

 

Thank you for contacting Intel Customer Support.

 

Check the link below and let me know if it's helpful for you:

 

https://software.intel.com/en-us/node/557354# Waking_up_the_host_CPU_using_the_MCU

 

 

Regards,

 

Alexandra
0 Kudos
Highlighted
26 Views

Hi Alexandra,

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

Thanks

Cliff

0 Kudos
Highlighted
Community Manager
26 Views

Hi, Cliff

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

 

 

Regards,

 

Alexandra
0 Kudos