I've come across a situation where using timer as a wakeup source causes a GPIO to be pulled low upon entering light sleep.
The GPIO is GPIO17 and it's configured as basic output without pullup/pulldown resistors. I have full control over it outside of sleep, but if
Code: Select all
esp_sleep_enable_timer_wakeup(1000ULL * 1000ULL * 300ULL);
Code: Select all
esp_light_sleep_start();
I've tried configuring the pin in different modes, with pullup resistor, increasing drive capability, keeping all power domains active during sleep, but nothing has worked so far.
Code: Select all
gpio_hold_en(GPIO_NUM_17);
Is there something I am missing?