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

system_off fails to go into soft_off (deep sleep) state on cc1352r1_launchxl #31727

Closed
vanti opened this issue Jan 28, 2021 · 0 comments
Closed
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@vanti
Copy link
Collaborator

vanti commented Jan 28, 2021

Describe the bug
On cc1352r1_launchxl, the system fails to enter soft_off state (what used to be known as deep sleep 1):

*** Booting Zephyr OS build v2.5.0-rc1-106-g2712d74cdcbf  ***

cc1352r1_launchxl system off demo
Busy-wait 5 s
Sleep 2000 us (IDLE)
Sleep 3 s (STANDBY)
Entering system off (SHUTDOWN); press BUTTON1 to restart
ERROR: System off failed

To Reproduce
Steps to reproduce the behavior:

  1. cd samples/boards/ti/cc13x2_cc26x2/system_off
  2. west build -b cc1352r1_launchxl
  3. west flash
  4. See error

Expected behavior
The system should enter soft_off state.

Impact
Cannot enter soft_off power state to save power when desired.

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows): Ubuntu 18.04
  • Toolchain (e.g Zephyr SDK, ...): Zephyr SDK 0.11.4
  • Commit SHA or Version used: 2712d74
@vanti vanti added the bug The issue is a bug, or the PR is fixing a bug label Jan 28, 2021
vanti added a commit to vanti/zephyr that referenced this issue Jan 28, 2021
The soft off power state should be supported as it is closest to what
used to be deep sleep state 1, which corresponds to the device off
state supported by hardware.

Fixes zephyrproject-rtos#31727.

Signed-off-by: Vincent Wan <[email protected]>
vanti added a commit to vanti/zephyr that referenced this issue Jan 28, 2021
In the last step of the example, the system should go into soft off
state in order to match the original intent in the example to go
into the hardware's SHUTDOWN mode.

Fixes zephyrproject-rtos#31727

Signed-off-by: Vincent Wan <[email protected]>
@nashif nashif closed this as completed in 66ed8d5 Jan 28, 2021
nashif pushed a commit that referenced this issue Jan 28, 2021
In the last step of the example, the system should go into soft off
state in order to match the original intent in the example to go
into the hardware's SHUTDOWN mode.

Fixes #31727

Signed-off-by: Vincent Wan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

1 participant