Hi,
Is there a way to set the GPIO pins into a specific state before entering sleep mode on the BBB? I know you can set their configuration in the device tree e.g.:
wlan_pins_sleep: pinmux_wlan_pins_sleep {
pinctrl-single,pins = <
0x28 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/
0x2C (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/
0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* gpmc_csn0.gpio1_29 BF_EN*/
>;
};
But is there a way to set a default output state for certain pins upon entering sleep mode without involving the PRU?
Thank you,
-Eric