Wakeup mode

MuchMore
Posts: 7
Joined: Sat Mar 17, 2018 10:28 am

Wakeup mode

Postby MuchMore » Fri Mar 23, 2018 9:27 pm

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??

Haldi4803
Posts: 9
Joined: Thu Nov 21, 2019 1:09 am

Re: Wakeup mode

Postby Haldi4803 » Sun May 16, 2021 9:07 am

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?

Archibald
Posts: 110
Joined: Mon Mar 05, 2018 12:44 am

Re: Wakeup mode

Postby Archibald » Sun May 16, 2021 10:04 am

Consider inverting electronically. The CD4049 CMOS integrated circuit has maximum quiescent current of 1μA, typically 0.02μA.

Who is online

Users browsing this forum: No registered users and 155 guests