Skip to content

CatenaStm32L0::Sleep uses STANDBY mode which would reboot system #150

Closed
@terrillmoore

Description

@terrillmoore

It would reboot the system, if we were using it correctly; you have to clear the WFE bit before requesting it, or it won't happen (instead you do a sleep, it appears, or you come right back, which doesn't seem to happen when testing with stm3l0_pwrtest.ino).

When we fix standby, we'll break this. We need to change to request Stop. Luckily, this is all inside the current platform code (no cross-library headaches) as long as we fix Stop before we add code to clear WFE.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions