apache / apache/mynewt-core

Atmel SAMD20 sleeps in standby mode on mynewt

Open
#2,475 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
891
Forks
381
Avg merge
2d 7h
Merged PRs (30d)
14

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on the Atmel SAMD20E18 with system_set_sleepmode(SYSTEM_SLEEPMODE_STANDBY) and system_sleep(). Compare the wake-up behavior with the working Atmel Studio project and determine whether Mynewt requires any action before sleep or after wake. Done means identifying the cause of the post-wake crash or documenting the required sleep and wake sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.