esp32 s3 deepsleep issue

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
stephanelsmith
Posts: 9
Joined: Mon Oct 18, 2021 7:03 pm

esp32 s3 deepsleep issue

Post by stephanelsmith » Mon Jan 10, 2022 4:16 pm

Migrating to S3, one curious issue is I'm not able to wake from deep sleep. Timer wake nor the ext0/ext1 modes. I have no problem with D4 or S2 versions. I'm using the UART console on S2/S3, so I do not get disconnected on deepsleep.

import machine
machine.deepsleep(1000)

Purusing modmachine.c where looks like the important bits are, I don't see anything jumping out at me in 'machine_sleep_helper' that would make a difference on a per sku basis.

I'm on micropython master branch. What esp-idf branch are S3 folks using? I'm on a October commit b86fe0c66ca17d5907ae26ecdffc9d4eb79cec07 which is working for me. Master esp-idf is giving my compilation errors. Maybe a more recent idf version?

Gihub issue:
https://github.com/micropython/micropython/issues/8148

Similar issue (machine.deepsleep() in main.py results in unusable device)
https://github.com/micropython/micropython/issues/8153

Post Reply