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 avoid disabling GPIO banks 1-3 in suspend

I would like to keep GPIO banks 1-3 active during suspend to maintain state on the output pins. I've found that the GPIO_OE register is reset to all inputs after resuming from suspend and GPIO outputs do not maintain state when the GPIO banks are disabled.

How do I accomplish this in the Android release TI_Android_JB_4.2.2_DevKit_4.1.1?

  • Hi Clifton,

    The state of all IO pads is replaced with the reset state of signal selected by pin mux mode in DeepSleep. To retain the same pin state with active state in DeepSleep, please follow below procedure.

    1)      Configure the pinmux/PAD config in GPIO mode (before entering deepsleep0)

    2)      This will make all PADs in tristate mode

    3)      If we need PAD =1,  enable pull up on the PAD config

    4)      If we need PAD =0,  enable pull down on the PAD config

    5)      If we need to tristate, then disable the pulls  on the PAD config

    6)      Receiver may be disabled independently

    7)      After exiting from DeepSleep0 (configure back the application pinmux)

    Please let us know if the above approach does not work.

    Regards,

    Arun