8000 ESP32-S2 coming out of deep sleep with POWERON status · Issue #4025 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content
ESP32-S2 coming out of deep sleep with POWERON status #4025
Closed
@jfabernathy

Description

@jfabernathy

Now that I'm using a Debug Build of CP 6.1.0 RC I'm collecting a lot of data. My program is collecting temp and humidity data on a once per minute basis, and deep sleeps the reset of the time. I found that I get as many as 36 exits from deep sleep with the DSLEEP status, but too many are POWERON status. I first noticed this when my alarm.memory counter was getting reset to zero.

I have 2 logs: one is the Debug UART and the other is the normal UART on pins 5/6. My program log shows the code handles the exceptions like no WIFI connection correctly without resetting the MCU.

Since a program coming out of deep sleep has to work as if it was coming out of Reset, the code works, but the NVM counter is reset. I'm still chasing a problem where the MCU just stops sending data after 10-24 hours. But this error is found usually in less than 5 minutes.
Metro-uart.log
screenlog.log
I've posted the code and logs also in the forum. Not sure where stuff goes.

code.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugespressifapplies to multiple Espressif chipspower

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0