Wake Up from GPIO
Posted: Tue Dec 13, 2016 2:50 pm
Hello,
Is it possible to Wake UP the ESP32 from a GPIO today ?
I've tried to simply use: gpio_wakeup_enable(gpio_num_t gpio_num, gpio_int_type_t intr_type) but it does not seem to work. When the ESP32 is in Deep Sleep, it's not possible to wake it up from the GPIO, only by the timer.
Am I missing anything there ?
I'm also wondering if it was possible to make the ESP32 sleep without any Wake Up timeout, but only with a Wake Up on the GPIO ?
Regarding the function: esp_deep_sleep(uint64_t time_in_us) it seems, I've no choice to choose a certain Sleeping time, right ?
Is it possible to Wake UP the ESP32 from a GPIO today ?
I've tried to simply use: gpio_wakeup_enable(gpio_num_t gpio_num, gpio_int_type_t intr_type) but it does not seem to work. When the ESP32 is in Deep Sleep, it's not possible to wake it up from the GPIO, only by the timer.
Am I missing anything there ?
I'm also wondering if it was possible to make the ESP32 sleep without any Wake Up timeout, but only with a Wake Up on the GPIO ?
Regarding the function: esp_deep_sleep(uint64_t time_in_us) it seems, I've no choice to choose a certain Sleeping time, right ?