Exciting new features in nRF Connect SDK v1

43
Exciting new features in nRF Connect SDK v1.6 A part of Mobile World Congress experience

Transcript of Exciting new features in nRF Connect SDK v1

Page 1: Exciting new features in nRF Connect SDK v1

Exciting new features innRF Connect SDK v1.6

A part of Mobile World Congress experience

Page 2: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Bjørn Kvaale

Product Marketing Engineer

Today’s hostsJoakim Tønnesen

Technical Product Manager

Cellular IoT

Krzysztof Loska

Technical Product Manager

Short-range wireless

Page 3: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Duration: 45 min presentation, 15 min Q&A

Questions are encouraged!

Please type questions in the top of the right sidebar

All questions are anonymous

Try to keep them relevant to the topic

We will answer them towards the end

The chat is not anonymous, and should not be used

for questions

Go to DevZone if you have more questions

A recording of the webinar will be available

together with the presentation at

webinars.nordicsemi.com/on-demand

Practicalities

Page 4: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Intro to the nRF Connect SDK and

basic terminology (15 min, Bjørn)

Short-range updates in nRF Connect

SDK v1.6 (15 min, Krzysztof)

Cellular IoT updates in nRF Connect

SDK v1.6 (15 min, Joakim)

Q&A (15 min)

Agenda

Page 5: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Communities

Webinars Nordic Developer Zone Nordic GitHub

Technology introsand trainings

nordicsemi.com/webinars

Nordic tech support center& online community

29k+ users, 60k+ Posts Q&A3 million page visits last 6 months

devzone.nordicsemi.com

121 Repos, C/C++Python, Javascript

github.com/NordicSemiconductor

Page 6: Exciting new features in nRF Connect SDK v1

nRF Connect SDK introand basic terminology

Page 7: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF Connect SDK

All in one place

One code base and toolchain for

nRF91, nRF53 and nRF52 Series

Optional for nRF52 Series ( >=

v1.3.0 tag)

Includes Bluetooth Low Energy,

Bluetooth mesh, Thread/Zigbee

and LTE-M/NB-IoT/GPS

nRF Connect SDK v1.4.1 introduces

Bluetooth v5.2 qualified Host and

Controller

Page 8: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF5 SDK

Good if you do not require an RTOS

If you are used to this SDK and do not require

newer features after Bluetooth 5.0, Bluetooth

mesh 1.0.1, Thread 1.1 or Zigbee 3.0 (R22)

nRF Connect SDK support optional

Will support newer features after Bluetooth 5.0,

Bluetooth mesh 1.0.1, Thread 1.1 or Zigbee 3.0

(R22)

Optional for the nRF52 Series

See documentation or webinar for more info

nRF52 Series Supported SDKs

nRF5 SDK

nRF5 SDK for Bluetooth mesh

nRF5 SDK for Thread/Zigbee

nRF Connect SDK

nRF52 Series SDK Support

Page 9: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Code Base

Contains app code, connectivity

protocols, wireless stacks and

peripheral drivers

Code is organized in 4 main

repositories (Nordic and Open

Source (OS) code):

nRF – Application & Connectivity

Protocols

nrfxlib – Peripheral Drivers and Stacks

Zephyr – RTOS & Board configuration

(OS)

MCUBoot – Secure Bootloader (OS)

Applications

PHY interfaces

Multiprotocol / coex

802.15.4

BLE LL

LTE Lx

Zigbee

Thread Integra

tion

DFUSecure Partition

Manager

Samples & Demos

Board & Device config

Driver APIs

BLE Host

MQTTCOAP

UDP TCPTLS/DTLS

File systems

MCU Bootloader

IPv4 IPv6BLE Mesh

Crypto APIs

*.dtsi

west.yml

Nordic Applications

Connectivity Protocols, Security Libraries, DFU

Middleware

Zephyr RTOS Wireless Stacks & Peripheral

Drivers

Board Configuration

Page 10: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF Connect SDK Basic Terminology

Git

An open source distributed version-control system

for managing source code changes

West

Command line tool for multi-repository

management and building and flashing examples

Repository

A version-controlled project folder e.g. nrf, zephyr

Every code commit creates a repository “version”

with unique SHA identifier

Page 11: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF Connect SDK Basic Terminology

Tag

Points to a specific commit SHA identifier,

immutable

A human readable version reference

Nordic product development support is available

Master branch

Points to the most recent commit SHA, mutable

Start testing newest features earlier

Page 12: Exciting new features in nRF Connect SDK v1

© NORDIC SEMICONDUCTOR CONFIDENTIAL© Nordic Semiconductor

Clone / update Configure features Configure target

KconfigSource module / feature configuration for compile

Device TreeTarget Board / Device

description

nrf

Zephyr

Your Code

nRF Connect SDK

Code Base

Application 1

Application 2

Application …

west.yml *Kconfig *.dts

WestMulti-repository

management tool

nrfxlib

MCUboot

Manage Source Code and Configurations

Page 13: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Regular releases (e.g. quarterly)

Publicly hosted on GitHub

Fixes released as needed

Long term supported releases can

have fixes applied and delivered after

new releases

Latest development version available

Version control management with Git:

manage new version and fix adoption

tool supported merging

Release Cycles

Minor Tag vX.Y

MajorTag vX.0

FixvX.0.Z

FixvX.0.ZZ

Latest(Master)

Release cycle

Page 14: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Features “supported for Development”

may be used for development, but not

recommended for volume production.

Technical support is available

Reported bugs may not be resolved

until supported for Production

Implementation may be partial

APIs may change going to production

Incomplete verification

Suitable for prototype / evaluation

Features “supported for Production” will be

maintained and are suitable for product

development.

Technical support is available

Reported critical bugs will be resolved in

both Master and latest Tag version of nRF

Connect SDK.

Complete implementations

Verified for product development

Suitable for integration in end-products

Supported for Development and Production

Page 15: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Documentation link

Click on arrow in top

left to choose

documentation tag

1.6.99 refers to master

branch

Latest tag is 1.6.0

Click on arrow in

bottom left to switch

to nrfxlib, Zephyr or

MCUboot doc

nRF Connect SDK documentation

Page 16: Exciting new features in nRF Connect SDK v1

Short-range updatesnRF Connect SDK v1.6

Page 17: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF5340 – our flagship SoC

The nRF5340 is the world’s first wireless SoC with two

Arm® Cortex®-M33 processors

The ideal choice for LE Audio, professional lighting,

advanced wearables, and other complex IoT applications

nRF5340 SoC

128MHz Arm® Cortex®-M33

1024kB Flash

512kB RAM

Application

8kB ICache

64MHz Arm® Cortex®-M33

256kB Flash

64kB RAM

Multi-Protocol 2.4GHz Radio

Network

2kB ICache

Power and clock

DebugIPCIPC

Page 18: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF5340 – status of connectivity protocols

Protocol Status in NCS 1.6.0

Bluetooth LE For production

Bluetooth mesh For development

Thread For production

Thread + Bluetooth LE Peripheral For production

Zigbee For development

Zigbee + Bluetooth LE For development

Page 19: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Bluetooth Direction Finding is the

major feature of the Bluetooth 5.1 Core

specification

Samples demonstrating the direction

finding feature based on periodic

advertising (connectionless), available

for the nRF52833 DK:

Bluetooth: Direction finding

connectionless locator

Bluetooth: Direction finding

connectionless beacon

Bluetooth Direction Finding

Page 20: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Apple Find My network accessory program opens up the private and

secure Find My network to third-party device manufacturers

nRF Connect SDK 1.6.0 intergates Apple Find My supported for production

Apple MFi Program members can get access to the Find My repository by

contacting us via a Nordic DevZone private ticket

Apple Find My network

Page 21: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF Connect SDK supports both - HomeKit over

Thread and HomeKit over Bluetooth Low Energy

Apple’s HomeKit Accessory Development Kit v5.3 have

been integrated into the nRF Connect SDK 1.6.0 and is

distributed as a private GitHub repository

Added development support for nRF52832 and

nRF52833 for Bluetooth LE HomeKit accessories

MFi licensees can get access to the HomeKit repository

by contacting us via Nordic DevZone private ticket

Apple HomeKit updates

Page 22: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Sleepy end device (SED) - has its radio

turned off during idle periods and

wakes periodically to communicate with

its parent router

Synchronized sleepy end device

(SSED) - introduced in Thread 1.2, It has

its radio turned off during idle periods

and wakes periodically to listen for

messages from its parent at scheduled

intervals

Thread 1.2 - SED vs. SSED

Sleep period

Activity period

SED

Router

SSED

Router

No data for SED Router has data for SED

No data for SSED Router has data for SSED

Page 23: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

What is Matter? Matter (formerly Project Connected Home over IP or Project CHIP) is a standard unifying the smart

home industry

Matter is a promise of reliable, secure connectivity where devices work seamlessly together. Matter

simplifies development for manufacturers and increases compatibility for consumers

Some founding partners:

Page 24: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Updated the Matter fork in

the nRF Connect SDK to a

recent revision which brings

several new, important

functionalities

Added a new user guide

about configuring Matter

development environment

Matter updates

Page 25: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF Connect SDK 1.5.1 features

production support for Zigbee

for nRF52833 and nRF52840

In nRF Connect SDK 1.6.0 Zigbee

is supported for development

The application layer part of

ZBOSS Zigbee stack is available

in source code now

Zigbee updates

Page 26: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Edge Impulse is a development platform that can be used to enable

embedded machine learning on nRF Connect SDK devices

The nRF Machine Learning application is an out of the box reference

design of an embedded machine learning using Edge Impulse

The application gathers data from sensors, forwards data to the Edge

Impulse platform, and runs the machine learning model

nRF Machine Learning application

Page 27: Exciting new features in nRF Connect SDK v1

Cellular IoT updatesnRF Connect SDK v1.6

29

Page 28: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Overview

Page 29: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Modem firmware v1.3.0

Webinar

Modem library v1.2.1

Modem firmware v1.3.0 features.

GNSS Socket replaced by a new GNSS v2 API.

PDN socket replaced by new PDN library in NCS.

Release assistance indication (RAI) socket feature.

Smaller updates and bug fixes like new socket

options, cleanup of error codes, and more

Modem

Page 30: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

LwM2M carrier library v0.20.1

Add more configuration options.

Now possible to use with custom LwM2M server.

LwM2M client utils library

Simple inclusion of device management in custom

applications.

Based on the Zephyr LwM2M stack

FOTA download library

Added APIs to retrieve the image type that is being

downloaded, cancel current downloading and

validate image type before starting installation.

Device management

Page 32: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Multicell location

Page 33: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Trusted Firmware-M. Supported for development.

Using CryptoCell runtime libraries.

Support for PSA protected storageSecure storage of certificates.

Encryption of stored data.Using device specific keys

Various samples demonstrating usageThe TF-M Hello World sample

All cryptography samples in this SDK

A series of TF-M integration samples available in Zephyr

Security

35

Page 34: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

What is Trusted Firmware-M (TF-M)?

Trusted Firmware-M (TF-M) is the reference implementation of Platform Security

Architecture (PSA). PSA is a recipe for building secure connected devices from

analysis to implementation

TF-M is being built for ARM Cortex-M processors prioritizing v8-M Cortex cores

leveraging ARM TrustZone technology

TF-M provides a highly configurable set of software components to create a

Trusted Execution Environment. This is achieved by a set of secure run time

services such as Secure Storage, Cryptography, Audit Logs and Attestation

Additionally, secure boot in TF-M ensures integrity of Run time Software and

supports firmware upgrade

Page 35: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

End-to-end Asset tracker implementation.

Firmware - Asset tracker v2

AWS IoT support. (Already supported in NCS v1.5.0)

Microsoft Azure IoT support.

nRF Cloud support. Default configuration.Out of box support for A-GPS and P-GPS.

Cloud - nRF Asset Tracker

Support both AWS and Azure

Hardware

Nordic Thingy:91

nRF9160-DK

nRF Asset Tracker

37

Page 36: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Collaboration with ARM.

Integration of ARM pelion client sample in NCS.

Works with both Cellular and Thread.

Uses Pelion’s mbed-cloud-client library.

Module in ncs/modules/lib/pelion-dm.

User guide

ARM Pelion – supported for development

38

Page 37: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

The Nordic modem team test application.

Utilizes Zephyr shell to provide command-line

interface for users.

Easily scriptable for automated test

environments..

Testing of connectivity features such as:

LTE link handling, TCP/IP connections, data

throughput (iperf3 and curl), SMS, GNSS, FOTA

updates and PPP.

Modem shell (MoSh)

39

Page 38: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Add TWI service to communicate with peripheral device.

Added AT#XSLEEP=2 to power off UART interface.

Updated the HTTP client service code to handle chunked HTTP responses.

Added support for the verbose, uput, mput commands and data mode to

the FTP service.

Added data mode to the MQTT Publish service to support JSON-type

payload.

Fixed TCP/UDP port range issue (0~65535).

Added URC (unsolicited response code) to the FOTA service.

Enabled all SLM services by default.

Serial LTE modem

40

Page 39: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

nRF9160 nRF Connect nRF9160 DK

Dedicated application processor and memory

Multimode LTE-M / NB-IoT modem with integrated

RFFE

GPS

Ultra Low Power

nRF Connect SDK

nRF Connect for Desktop

nRF Connect for Cloud

nRF Connect for Mobile

Standalone development kit

for the nRF9160 SiP

eSIM from iBasis

nRF52840 board controller with Bluetooth LE

LTE, GPS, and 2.4 GHz antennas

Complete low power cellular IoT solution

Page 41: Exciting new features in nRF Connect SDK v1

© Nordic Semiconductor

Program for Mobile World Congress 2021

Date Topic

June 28, 10:00 CEST How to power optimize with the latest features in the nRF9160 SiP

June 29, 09:00 CESTJune 29, 18:00 CEST Expand cellular IoT coverage with Ibasis IoT connectivity

June 30, 10:00 CEST How cloud helps your IoT devices to get location data

July 1, 09:00 CESTJuly 1, 20:00 CEST Exciting new features in nRF Connect SDK v1.6

All webinars are available on demand at webinars.nordicsemi.com

Page 42: Exciting new features in nRF Connect SDK v1

Get on it#1 Sign up for more webinars at webinars.nordicsemi.com

#2 Get tech support and join our community at devzone.nordicsemi.com

#3 Find out more about our products and services at nordicsemi.com

Page 43: Exciting new features in nRF Connect SDK v1

Q&A