ADC interrupt as Wake up source for i.MXUL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ADC interrupt as Wake up source for i.MXUL

1,489 次查看
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

标签 (1)
0 项奖励
回复
4 回复数

1,219 次查看
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 项奖励
回复

1,219 次查看
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 项奖励
回复

1,219 次查看
enginlee
Contributor II

I got the same problem...

Did anyone solve this?

0 项奖励
回复

1,219 次查看
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 项奖励
回复