i.MX Linux I2C wakeup on interrupt

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

i.MX Linux I2C wakeup on interrupt

1,715 次查看
hcontigiani
Contributor II

Hi, I am using the freescale embeded linux on a I.MX6. I am trying to wake the system by I2C.

I have used the following instructions to enter in wait/sleep mode:

echo mem > /sys/power/state      
echo standby > /sys/power/state
I have been looking in the I.MX Linux manual but it seems that the only way to wake up the system is by UART, USB, ethernet, CAN, GPIO. Could it be that I.MX Linux doesnt support wake on I2C?
wakeup modules.png
Any information or advice will be very grateful.
Thanks Hernán.
标签 (2)
标记 (2)
0 项奖励
回复
2 回复数

1,372 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Hernán

you are right i2c driver by default does not support wake,

in particular clock should not be turned off with CCM_CGPR

register. Just for reference one can look at attached Linux

Manual Chapter 35 Inter-IC (I2C) Driver.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,372 次查看
hcontigiani
Contributor II

Thans a lot Igor, I will try to use another wake-up source (like GPIO).

Regards, Hernán.

0 项奖励
回复