How to enable UART1 wake up from sleep mode on imx6SL?

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

How to enable UART1 wake up from sleep mode on imx6SL?

919 Views
devilavanyaanda
Contributor III

Hello,

We are trying to enable wake up function from UART1 but I don't know how to do that. After put imx6SL into sleep mode, it will wake up if we send data to uart1 pin.

We did below command execution but still no result

#echo enabled > /sys/class/tty/ttymxc1/power/wakeup

#echo enabled > /sys/bus/platform/drivers/imx-uart/2024000.serial/tty/ttymxc1/power/wakeup

Do you have any suggestion in this case?

Thanks

A.Devi Lavanya

2 Replies

726 Views
igorpadykov
NXP Employee
NXP Employee

Hi Devi 

please look at procedure described in sect.21.1.5 Unit Test

attached Linux Manual. One can use imx-test (unit test)
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz
and Demo Images on

https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_MX6SLEVK&appType=license&location=null 

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

726 Views
devilavanyaanda
Contributor III

Thank you for reply

In our custom board we are using kitkat 4.4.3 and we are able to wake up and send data to UART0 which is debug console. But UART1 is not working. UART1 is used for the GPRS in our custom board. In suspend mode if we send data through UART1 its not responding.

Do you have any suggestion in this case?

 

Thanks

A.Devi Lavanya