Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Karol Lasończyk 061036f9e3 tests: samples: Extend support for nRF54LM20A 2 weeks ago
..
boards tests: samples: Extend support for nRF54LM20A 2 weeks ago
src samples: boards: nordic: system_off fixes 4 weeks ago
CMakeLists.txt samples: nordic: system_off: use retained_mem on all targets 7 months ago
Kconfig samples: nordic: system_off: use retained_mem on all targets 7 months ago
README.rst samples: nordic: system_off: use retained_mem on all targets 7 months ago
prj.conf samples: boards: nrf: system_off: Print reset reason. 4 months ago
sample.yaml tests: samples: Extend support for nRF54LM20A 2 weeks ago

README.rst

.. zephyr:code-sample:: nrf_system_off
:name: System Off
:relevant-api: sys_poweroff subsys_pm_device

Use deep sleep on Nordic platforms.

Overview
********

This sample can be used for basic power measurement and as an example of
deep sleep on Nordic platforms.

RAM Retention
=============

This sample can also demonstrate RAM retention.
By selecting ``CONFIG_APP_USE_RETAINED_MEM=y`` state related to number of boots,
number of times system off was entered, and total uptime since initial power-on
are retained in a checksummed data structure.
RAM is configured to keep the containing section powered while in system-off mode.

Requirements
************

This application uses nRF51 DK, nRF52 DK or nRF54L15 DK board for the demo.

Sample Output
=============

nRF52 core output
-----------------

.. code-block:: console

*** Booting Zephyr OS build v2.3.0-rc1-204-g5f2eb85f728d ***

nrf52dk system off demo
Entering system off; press sw0 to restart