Difference between revisions of "Zephyr ncs sleep modes"

From Wiki at Neela Nurseries
Jump to: navigation, search
m (^ 2022-02-17 Thursday)
m (^ 2022-02-17 Thursday)
Line 53: Line 53:
 
The nRF9160 SiP is certified for global cellular IoT applications, comprising a dedicated application processor and memory, multimode LTE-M/NB-IoT modem with integrated RF front end (RFFE), GPS, and power management in a compact package. The SiP incorporates the Arm M33 processor, Flash and RAM, a range of analog and digital peripherals, automated power and clock management, Arm TrustZone® for trusted execution, and Arm CryptoCell™ 310 for application layer security. The processor communicates with the LTE modem through a BSD secure sockets API and supports the application layer protocol (for example CoAP, MQTT or LWM2M) and the application itself. The nRF9160 SiP’s LTE modem supports both SIM and eSIM, offers 700 to 2200 MHz LTE band support, 23 dBm output power, and single pin 50 Ω antenna- and UICC-interfaces. The LTE stack layers L1-L3, IPv4/IPv6, TCP/UDP, TLS/DTLS are part of the modem firmware.
 
The nRF9160 SiP is certified for global cellular IoT applications, comprising a dedicated application processor and memory, multimode LTE-M/NB-IoT modem with integrated RF front end (RFFE), GPS, and power management in a compact package. The SiP incorporates the Arm M33 processor, Flash and RAM, a range of analog and digital peripherals, automated power and clock management, Arm TrustZone® for trusted execution, and Arm CryptoCell™ 310 for application layer security. The processor communicates with the LTE modem through a BSD secure sockets API and supports the application layer protocol (for example CoAP, MQTT or LWM2M) and the application itself. The nRF9160 SiP’s LTE modem supports both SIM and eSIM, offers 700 to 2200 MHz LTE band support, 23 dBm output power, and single pin 50 Ω antenna- and UICC-interfaces. The LTE stack layers L1-L3, IPv4/IPv6, TCP/UDP, TLS/DTLS are part of the modem firmware.
 
"</i>
 
"</i>
 +
 +
 +
nRF91 Series >> nRF9160 >> Guidelines
 +
 +
<ul>
 +
*  https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_nrf91%2Fstruct%2Fnrf9160.html&cp=2_0
 +
</ul>
 +
  
 
<!-- comentario -->
 
<!-- comentario -->

Revision as of 21:55, 17 February 2022

Zephyr and Nordic ncs Sleep Modes 2022-01-15 Tuesday



Some posts and links to follow:


Looking now more closely at nRF9160 System in Package (SiP):

Oh and a note on nRF9160 watchdog timer:

This looks important:

^ 2022-02-17 Thursday

Continuing the search at https://nordicsemi.com with pattern "nRF9160 application processor", first a news press then the downloads page for this SiP:

An excerpt from the above article mentions some power management details of the nRF9160 SiP not seen elsewhere so far: " A light and compact asset tracker ShipSafe takes advantage of the nRF9160’s compact dimensions (10 x 16 x 1 mm) to incorporate the SiP, a Wi-Fi chipset, sensors, LED, peripheral components, battery and Wi-Fi and Cellular antennas into a device measuring just 120 x 75 x 16 mm and weighing 145 gm. The nRF9160 SiP’s 64 MHz Arm® Cortex®-M33 processor provides sufficient computational power to not only run the LTE-M cellular connectivity but also all other product functionality. The 1 MB Flash and 256 KB RAM supports fast response and complex application software.

The nRF9160 SiP is certified for global cellular IoT applications, comprising a dedicated application processor and memory, multimode LTE-M/NB-IoT modem with integrated RF front end (RFFE), GPS, and power management in a compact package. The SiP incorporates the Arm M33 processor, Flash and RAM, a range of analog and digital peripherals, automated power and clock management, Arm TrustZone® for trusted execution, and Arm CryptoCell™ 310 for application layer security. The processor communicates with the LTE modem through a BSD secure sockets API and supports the application layer protocol (for example CoAP, MQTT or LWM2M) and the application itself. The nRF9160 SiP’s LTE modem supports both SIM and eSIM, offers 700 to 2200 MHz LTE band support, 23 dBm output power, and single pin 50 Ω antenna- and UICC-interfaces. The LTE stack layers L1-L3, IPv4/IPv6, TCP/UDP, TLS/DTLS are part of the modem firmware. "


nRF91 Series >> nRF9160 >> Guidelines


^ nRF9160 Sleep Mode Forum Posts

nRF9160 sleep mode not working in SDK 'nrf' v1.6.1, works in 1.7.0 . . .

Symbol 'PSM' may be a more apt symbol for which to search, also looks like power savings modes may only be practical with certain network providers:

2022-02-16 WED - Inquiring at CircuitDojo about where to find low power, sleep and deep sleep mode settings, APIs for these in nRF9160 based designs:

In first reply a recommendation to review `nfed` sample application named 'active_sleep':


^ nRF9160 Power Saving Mode(s) Examples

Power Savings Mode Ten Minutes Period Example

Excerpts from this post:

    "In order to achieve the lowest possible current consumption, logging has to be turned off. This is done by,

    Adding the CONFIG_SERIAL=n flag to the prj.conf file in the project folder.
    Adding the CONFIG_SERIAL=n to the SPM prj.conf file. This is located in the SDK_ROOT/nrf/samples/nrf9160/spm folder."


An example from Jared Wolff of CircuitDojo, see line 135 in main.c:

Zephyr Project documentation regarding `k_cpu_idle()`:


^ Terms

There are a lot of terms and acronyms associated with LTE modem and Nordic Semi SoC and SiP parts. Here we capture a few of those in our quest for low power modes understanding.


^ Pattern Searches in Zephyr and NRF Repositories

Some searches whose results to further explore . . .

ted@localhost:~/projects/zephyr-based/zephyr$ grep -nr sleeping ./*
./arch/arm/core/aarch32/cpu_idle.S:125:	 * Lock PRIMASK while sleeping: wfe will still get interrupted by
./arch/arm/core/aarch32/nmi_on_reset.S:12: * is to hard hang, sleeping.
./boards/posix/native_posix/doc/index.rst:56:simulated CPU is sleeping.
./doc/guides/porting/arch.rst:226:yielding/sleeping primitives.