i.MX Linux I2C wakeup on interrupt

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

i.MX Linux I2C wakeup on interrupt

1,707 Views
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.
Labels (2)
0 Kudos
Reply
2 Replies

1,364 Views
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 Kudos
Reply

1,364 Views
hcontigiani
Contributor II

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

Regards, Hernán.

0 Kudos
Reply