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

Atmel SAMD20 sleeps in standby mode on mynewt #2475

Open
edward-jw-yu opened this issue Feb 7, 2021 · 0 comments
Open

Atmel SAMD20 sleeps in standby mode on mynewt #2475

edward-jw-yu opened this issue Feb 7, 2021 · 0 comments

Comments

@edward-jw-yu
Copy link

newt version
Apache Newt version: 1.4.1

Atmel
SAMD20E18

After calling
system_set_sleepmode(SYSTEM_SLEEPMODE_STANDBY); system_sleep();
the system successfully went to sleep.
When I pressed the button to wake it up, It did wake up, But after a very little while, it crashed.
I used the atmel studio project to test about the sleep, it was fine.

Here I would like to learn about the sleep about mynewt.
Before sleep and After wake up, It needs to do something ?

Thanks a lot.

@edward-jw-yu edward-jw-yu changed the title Atmel SAMD20 sleeps in standby mode. Atmel SAMD20 sleeps in standby mode on mynewt Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant