ADC interrupt as Wake up source for i.MXUL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ADC interrupt as Wake up source for i.MXUL

2,025件の閲覧回数
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,755件の閲覧回数
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,755件の閲覧回数
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,755件の閲覧回数
enginlee
Contributor II

I got the same problem...

Did anyone solve this?

0 件の賞賛
返信

1,755件の閲覧回数
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 件の賞賛
返信