IO pulled low when entering light sleep
Posted: Wed Jul 18, 2018 1:30 pm
Hi,
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 is called before , the pin is immediately pulled low upon entering sleep, even when I've set it to high. This does not happen if I don't use the timer as a wakeup source.
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. doesn't have any effect either.
Is there something I am missing?
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?