GPIO9 leak in lightsleep
Posted: Tue Jul 17, 2018 2:20 pm
Hello,
I am working on a project with an ESP32-PICO-D4 SOC. The board has several LEDs, in particular, one of them behaves unexpectedly when entering in lightsleep mode.
If the function esp_sleep_enable_timer_wakeup(time in us) is executed before executing esp_light_sleep_start(), there is a small flow of current through the LED that causes a visible light, even though the LED is turned off. I am attaching a drawing of this part of the schematic.
If the function esp_light_sleep_start() is executed without executing esp_sleep_enable_timer_wakeup, there is no light in the LED.
I would like to know what is causing this behavior and if is there any way to avoid it.
Regards,
Daniel.
I am working on a project with an ESP32-PICO-D4 SOC. The board has several LEDs, in particular, one of them behaves unexpectedly when entering in lightsleep mode.
If the function esp_sleep_enable_timer_wakeup(time in us) is executed before executing esp_light_sleep_start(), there is a small flow of current through the LED that causes a visible light, even though the LED is turned off. I am attaching a drawing of this part of the schematic.
If the function esp_light_sleep_start() is executed without executing esp_sleep_enable_timer_wakeup, there is no light in the LED.
I would like to know what is causing this behavior and if is there any way to avoid it.
Regards,
Daniel.