Skip to content

Atmel SAMD20 sleeps in standby mode on mynewt #2475

@edward-jw-yu

Description

@edward-jw-yu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions