← index #5651Issue #6071
Off-topic · high · value 0.727
QUERY · ISSUE

ESP32: deep sleep seems to cut clock to ULP processor

openby flo-rianopened 2020-02-16updated 2025-09-23
port-esp32

It seems like going to deep sleep stops the ULP processor. I uploaded a counter code to the ULP and it counts nicely as long as main CPUs running. When going to deep sleep counting stops but the counter value remains so the ULP was not reset or memory erased. After coming back from deep sleep counting works again.

As a side note: I would like to suggest to also add the ULP as a wakeup source in the esp32 package (in addition to the EXT, timer and touch options).

CANDIDATE · ISSUE

ESP32 - EN pin when in Deep Sleep State

openby hpereira98opened 2020-05-24updated 2020-05-28
port-esp32

When my board is in deep sleep state ( machine.deepsleep() ), when I press the EN button the machine.reset_cause() returns the machine.PWRON_RESET instead of the machine.DEEPSLEEP_RESET. Is this supposed to happen? How can I get the machine.DEEPSLEEP_RESET by pressing a button?

I tried the embedded EN button and connecting a physical button to the EN pin.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied