Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32 s3 deepsleep wake #8148

Closed
stephanelsmith opened this issue Jan 7, 2022 · 4 comments
Closed

esp32 s3 deepsleep wake #8148

stephanelsmith opened this issue Jan 7, 2022 · 4 comments

Comments

@stephanelsmith
Copy link
Sponsor Contributor

stephanelsmith commented Jan 7, 2022

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 b86fe0c which is working for me. Master esp-idf is giving my compilation errors. Maybe a more recent idf version?

@stephanelsmith
Copy link
Sponsor Contributor Author

Not sure if I'm the only one seeing this or no one else has S3 yet (my boards have the sample silicon.)

Moving to S2 until S3 is more available.

@UnexpectedMaker
Copy link
Contributor

UnexpectedMaker commented Jan 29, 2022

Working fine here on production S3 silicon. Made a video about it actually a few days ago showing deep sleep being used in MP and measuring the current.
https://youtu.be/bIm1ofpL6FY

Which "sample silicon" do you have? Marlin?

You also have to be on the latest 4.4, either RC or release. 4.4-dev and DS were busted in MP.

@stephanelsmith
Copy link
Sponsor Contributor Author

I'm not sure which sample silicon, I will ask my esp rep. I received 5 samples of ESP32-S3FN8, 5 ESP32-S3, and 1 devkit, but no idea which version. Very valid question that I need to go back and figure out.

Thank you for clues on the build. I will try again. I am relieved you got it. I'll revisit.

I'll keep an eye on your store. I have a bin full of tinypicos/tinys2/feathers2. Looking forward to adding tinys3 and pros3 to the mix. Use these all the time! Very versatile boards!

@stephanelsmith
Copy link
Sponsor Contributor Author

I am confirming on v4.4-rc1, deepsleep is working correctly on s3. Thank you for the pointers.

tannewt added a commit to tannewt/circuitpython that referenced this issue Jan 25, 2024
It will then run the next script.

Fixes micropython#8148
tannewt added a commit to tannewt/circuitpython that referenced this issue Jan 25, 2024
It will then run the next script.

Fixes micropython#8148
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants