This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Wake fro UART1

Other Parts Discussed in Thread: AM3358

Hi Guys,

I have a custom board using an AM3358; the suspend and resume is working very well.


I'm currently waking from UART0 - how do I wake from UART1? Is it possible?

How do I configure it?

echo enabled > /sys/devices/platform/omap/omap_uart.1/tty/ttyO1/power/wakeup

is not working.

Any suggestions / guidance will be appreciated.

Thank you

Louis

  • Hi Louis,

    Which SDK is this?

    Best Regards,
    Yordan
  • Hi Yordan,

    Thank you for your reply.

    The original source comes from Android_JB_4.2.2_DevKit_4.1.1 - which is old, but we've done a huge amount of custom work on this and can't switch at this stage of the project.

    My main question is if the AM3358 can wake from UART1; or must the RX pin be MUXed as GPIO in the suspend code to trigger a wake?

    What is the best way to go about waking from UART1?

    Thank you

    Regards

    Louis

  • Hi Louis,

    I am not familiar with sitara android kernels, but in general the best approach is to mux this as a GPIO & work with it to trigger a wake.

    Have a look at the AM335x Technical Reference Manual, Section 19.1.4 Unsupported UART Features, Table 19-1. Unsupported UART Features:  

    Full modem control on UART0                                               DCD, DSR, DTR, RI not pinned-out

    Full modem control on UART2-5                                           DCD, DSR, DTR, RI not pinned-out

    Device wake-up on UART1-5                                                Wake-up not supported - no SWake connection

    Best Regards, 
    Yordan

  • Hi Yordan,

    Thank you very much for your reply.

    I'll try the GPIO MUX; if this doesn't work I'll change the design to use UART0 to wake.

    Kind regards

    Louis