Page 1 of 1

Wakeup mode

Posted: Fri Mar 23, 2018 9:27 pm
by MuchMore
I would need to the chip to wakeup on LOW on three seperat pins.
Defining three esp_sleep_enable_ext0_wakeup does not work.
And using a Bitmask and esp_sleep_enable_ext1_wakeup only gives me two options:

Code: Select all

typedef enum {
    ESP_EXT1_WAKEUP_ALL_LOW = 0,    //!< Wake the chip when all selected GPIOs go low
    ESP_EXT1_WAKEUP_ANY_HIGH = 1    //!< Wake the chip when any of the selected GPIOs go high
} esp_sleep_ext1_wakeup_mode_t;
I would need "ESP_EXT1_WAKEUP_ANY_LOW".
Is this technical not possible or was this just omitted??

Re: Wakeup mode

Posted: Sun May 16, 2021 9:07 am
by Haldi4803
3 Years later i have the exact same question.

My Buttons are default HIGH and i want to wake up the device if any of the 3 Buttons is pressed.
Using Pin 34, 35 and 39.
There is no way to inverse the pins in Deep Sleep is there?

Re: Wakeup mode

Posted: Sun May 16, 2021 10:04 am
by Archibald
Consider inverting electronically. The CD4049 CMOS integrated circuit has maximum quiescent current of 1μA, typically 0.02μA.