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.
GPIO9 leak in lightsleep
GPIO9 leak in lightsleep
- Attachments
-
- Drawing of the LED connection
- GPIO9.jpg (21.53 KiB) Viewed 2632 times
Who is online
Users browsing this forum: No registered users and 133 guests