ADC interrupt as Wake up source for i.MXUL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC interrupt as Wake up source for i.MXUL

1,085 Views
vineethhegde
Contributor II

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

Labels (1)
0 Kudos
4 Replies

815 Views
Geetharajammal
Contributor I

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

0 Kudos

815 Views
keithmo
Contributor II

Hi Vineeth and Geetha,

Were you able to solve this?

I have the same issue (configured ADACK, cont conversion, compare value, verified compare works, then enter sleep but can't wake.)

Thanks!

-Keith

0 Kudos

815 Views
enginlee
Contributor II

I got the same problem...

Did anyone solve this?

0 Kudos

815 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos