Hi,
In iMx6UL, CPU will be put to sleep state using below command
echo mem > /sys/power/state
To wake CPU from the Sleep state, whether ADC conversion complete interrupt can used as wake-up source ?
Regards,
Vineeth
Hi,
Requirement is to wake the imx6ul from the sleep using the ADC interrupt.
In driver enabled ADACK, wake irq, continuous conversion, compare register threshold as greater than 2.3 V.
Whenever the voltage crosses greater than 2.3 V (using a potentiometer), the interrupt will be received and able to read voltages continuously.
Next the voltage is made below 2.3 V and system is put into sleep by executing below command
echo mem > /sys/power/state
After system goes into suspend mode, tried waking up by increasing the voltage above 2.3 V.
Still the system is not responding and remains in the sleep.
Please any suggestion on what could be the issue.
Regards,
Geetha.M
Hi Vineeth
yes adc has wake up capabilities, in particular sect.13.3.10.2 Stop Mode With ADACK Enabled
i.MX6UL Reference Manual describes:
The ADC module can wake the system from low-power stop..
http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------