meet the nrf5340 · meet the nrf5340 the next generation in iot webinar. nordic semiconductor....

43
Meet the nRF5340 The next generation in IoT Webinar Nordic Semiconductor February 2020 Duration: 50-60 min

Upload: others

Post on 17-Oct-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

Meet the nRF5340The next generation in IoT Webinar

Nordic Semiconductor

February 2020

Duration: 50-60 min

Page 2: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Petter Myhre

Product Marketing Manager

Today’s host

Page 3: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Duration: 50-60 mins

Questions are encouraged!

Please type questions in the top of the right sidebar

All questions are anonymous

We will answer questions towards the end

If you have more questions please use DevZone

A recording of the webinar will be available

together with the presentation at

webinars.nordicsemi.com

Practicalities

Page 4: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Overview and highlights

Markets and applications

Hardware architecture and feature set

Software architecture and support

Security

Development tools

Q&A

Content

Page 5: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

New flagship

All-in-one

Truly secure

Efficiency

Multi-core

Performance

Page 6: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

High-performance application

processor

Fully programmable, ultra-low

power network processor

Redesigned multiprotocol radio

Advanced security features

1.7-5.5 V supply range

-40 to +105°C

nRF5340 overview and highlights

Page 7: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

High performance and high

efficiency – no trade-off

Distinct optimization

Performance

Efficiency

Separation of concerns

Real-time requirements

Software split

Multi-core flexibility

Page 8: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Bluetooth 5.2 and beyond

2 Mbps, Long Range and

Advertising Extensions

Direction Finding

Bluetooth mesh

802.15.4 support

Thread

Zigbee

Multiprotocol radio

Page 9: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

TX current reduced with 30 %

down to 3.2 mA

RX current reduced with 40 %

down to 2.6 mA

-97.5 dBm RX sensitivity

1 dB resolution of TX power

Radio improvements

Page 10: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Trusted execution with Arm

TrustZone

Flash, RAM, GPIOs and peripherals

State-of-the-art Arm CryptoCell-312

Advanced cryptography

Hardware Root-of-trust

Secure key storage with Key

Management Unit (KMU)

A truly secure SoC

Page 11: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

nRF52 Series feature superset

Bluetooth 5.2, Thread and Zigbee

CryptoCell, USB, QSPI, HS-SPI

1.7-5.5 V and up to 105 °C

More

Performance

Memory

Integration

While minimizing power

consumption

All-in-one

Page 12: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

Markets and applicationsWhat can it be used for?

Page 13: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

High-performance 128 MHz processor with

DSP instructions and floating point

capabilities

512 KB on-chip RAM for data and sensor

fusion

Memory mapped 96 MHz encrypted QSPI

interface for external memory

32 MHz HS-SPI for displays and fast sensors

Sensor collection in application or network

core depending on bandwidth

Compact CSP with few external

components

Advanced wearables

Page 14: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Designed for +105°C

Concurrent Bluetooth LE and

Bluetooth mesh/Thread/Zigbee

support

Bluetooth Direction Finding

Advanced security features

Dual-core architecture

Professional lighting and industrial

Page 15: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Designed for +105°C

Concurrent Bluetooth LE and

Bluetooth mesh/Thread/Zigbee

support

Performance and memory for

demanding applications

Advanced security features

Smart home

Page 16: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

User application and wireless

protocol run in separate cores

Both cores are programmable

– enables 2-way supervision!

Focus on certifications

Advanced security features

Healthcare and medical

Page 17: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Asset tracking - RTLS

Page 18: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

Getting into the details

Page 19: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Page 20: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Arm Cortex-M33 with DSP and

floating point instructions

128 MHz and 64 MHz clock speeds

Voltage-frequency scaling

Optimized for performance

TrustZone support

8 KB 2-way set associative cache

1024 KB flash

512 KB RAM

Application processor

Page 21: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Arm Cortex-M33

64 MHz clock speed

Optimized for efficiency

Fully programmable

2 KB instruction cache

256 KB Flash

64 KB RAM

Network processor

Page 22: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Multi-core flexibilityPerformance

[CoreMark]

Efficiency

[CoreMark/mA]

64 MHz

212 CM

64 CM/mA

App @ 128 MHz

510 CM

65 CM/mA

App @ 64 MHz

255 CM

76 CM/mA

Net @ 64 MHz

238 CM

101 CM/mA

Page 23: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Power supply

1.7 to 5.5 V

LDO and DC/DC options

Direct supply from USB

Oscillators

Integrated load capacitors

32 MHz and optional 32 kHz crystals

Tunable on-chip Audio PLL

11.289 or 12.288 MHz

Low jitter, suitable for audio applications

Power and clock

Page 24: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Integrated on-chip XTAL

load capacitors

For both 32 MHz and 32.762

kHz crystals

Cuts 2/4 external components

External component reduction

Page 25: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Distributed programmable peripheral

interconnect

Replaces the PPI in nRF52 series

New interconnect interface for peripherals

Enables new connection types

One-to-one (PPI)

One-to-many (1-to-2 with PPI fork)

Many-to-one

Many-to-many

New interconnect paradigm

A Task subscribes to a channel

An Event publishes to a channel

DPPI

Peripheral A

PPIBus

ppiBusProducer [0:X-1]

ppiBusConsumer[0:X-1]

Chan

nel 0

Chan

nel 1

Chan

nel 2

Chan

nel X

-1

PeripheralCore

even

ts[0

:N-1

]

task

s[0:

M-1

]

Peripheral B

PPIBus

PeripheralCore

even

ts[0

:I-1]

task

s[0:

J-1]

DPPI controller

CHENSET / CHENCLR

ppiBusProducer [0:X-1]

ppiBusConsumer[0:X-1]

Page 26: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

CPU cache

Two-way associative

Serves both internal and external

memory

Improved QSPI interface

Up to 96 MHz clock frequency

40 MHz clock in low power mode

On-the-fly AES-128 encryption

and decryption

External memory – Execute in place (XiP)

Page 27: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Communication between the cores

Inter-processor communication (IPC)

Generates events

Wake-up source

AMLI bridge

Cross-domain memory and peripheral access

OpenAMP

Software framework for Asymmetric Multiprocessing (AMP) systems

Events

Data

Page 28: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

Software support

Page 29: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Software development kit

for nRF5340 and nRF9160

Common platform for cellular IoT

and short-range development

Integrates the Zephyr RTOS

Publicly hosted on GitHub, version

control management with Git

SEGGER Embedded Studio IDE

support for free

nRF Connect SDK

Page 30: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Nordic Bluetooth Low Energy (LE) Controller

(link layer) is available as a library. Same as in

our SoftDevices

Zephyr Bluetooth LE Controller is available as

open source (contributed by us)

Zephyr Host is available as open source

Offers best integration with the Zephyr RTOS

Reduces complexity in the API

Nordic contribute to, test and certify the

whole Bluetooth LE stack

QDIDs for product listings work the same as

SoftDevices

nRF Connect SDK for nRF5340

30

Applications

PHY interfaces

Multiprotocol / coex

Nordic Bluetooth LE Controller (link layer)

Board & Device config

Zephyr Bluetooth LE Host

Zephyr RTOS kernel

MCU Bootloader

Zephyr Bluetooth LE Controller (link layer)

Page 31: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Flexible software architecture

Application core

User application

Network core

OpenAMP

Protocol stack

Application core

Network core

OpenAMP

Low level protocol stack

Application core

User application

Network core

OpenAMP

Protocol stack 1

User application

High level protocol stack

User application

Protocol stack 2

Page 32: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Application core

Bluetooth LE sample from nRF Connect SDK

or Zephyr

Zephyr Bluetooth LE Host (higher level

protocol stack)

Host Controller Interface (HCI) over

OpenAMP

Communication between the processors

Network core (choose one)

Nordic or Zephyr Bluetooth LE Controller

(link layer)

Bluetooth Low Energy samples

Application core

Network core

HCI over OpenAMP

Nordic or Zephyr Bluetooth LE

Controller

Bluetooth LE Host

Bluetooth LE sample

Page 33: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

Security

Page 34: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Hardware implemented separation of:

Secure regions

Non-secure regions

Applicable to memory and peripherals

Introduced with Armv8

System wide implementation

Special instructions to call secure code

Works in Thread Mode and Handler Mode

Flexible debugger access

Access to all or only Non-secure

Arm TrustZone enabled application core

35

Page 35: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

System Protection Unit (SPU)

Memory: Secure, non-secure, non-

secure callable

Peripherals: Always secure, always

non-secure, or configurable

Special features

CryptoCell, SPU, KMU, and UICR are

always secure

GPIO, NVMC, and DPPIC are split: both

secure and non-secure

Arm TrustZone implementation details

36

NETWORK MCUSUBSYSTEM

ARM® CORTEX®-M33

SWD PINS

AHB MULTILAYER INTERCONNECT

0x0000 0000REGION 0REGION 1

...

REGIONN

REGION 2REGION 3

REGION 0REGION 1

...

REGIONM

REGION 2REGION 3

0x2000 0000

REMAPPED PERIPHERAL

TRUSTZONE SECURE

0x5000 0000

0x4000 0000

DEBUG AND TRACE

PERIPHERAL 3EasyDMA

PPI

EasyDMA

PPIPERIPHERAL 2

PERIPHERAL 1EasyDMA

PPI

PERIPHERAL 0EasyDMA

PPI

CryptoCellDMA

PERIPHERAL 3EasyDMA

PPI

EasyDMA

PPI

PERIPHERAL 1EasyDMA

PPI

EasyDMA

PPI

PERIPHERALKEasyDMA

PPI

DPPICHANNELS

DEBUG

CPU

ARM® CORTEX®-M33WITH TRUSTZONE

DEBUG

APPLICATION MCUSUBSYSTEM

ACCESS PORT PROTECTION

PERIPHERAL 2

PERIPHERAL 0

SPU

KMUPPI

PARTIALLY SECURE

FLAS

HRA

M

IO PINS

Page 36: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Key Management Unit - KMU

Application core

KMU

CryptoCell

Processing system

Secure APB

APB

Secure key storage

128 keys slots, 128-bit keys

Combine key slots for larger keys

OTP emulation

Features

Key memory physically

isolated from CPU

Write over APB -> Read disable

Key transfer over secure APB

Key revocation

Page 37: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

CryptoCell 312

Upgrade from CryptoCell 310 Stronger encryption:

256-bit AES with GCM, 3072-bit RSA

Cryptographic operations in flash

Features Cryptographic backend to Mbed TLS

FIPS-140-2 certified TRNG

Firmware image validation

Hardware root-of-trust

Page 38: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Immutable bootloader

Not changeable, not upgradable

MCUboot

Secure boot of the system

Upgradable over the air

Secure image

Secure partition manager

Cryptographic toolbox

Security software support

39

Application Processor

Immutable bootloader

MCUboot

Secure image

Application

Secu

reN

on-

secu

re

Non-secure callable

Page 39: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

Development tools

Page 40: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Preview development kit

Similar to nRF52833/nRF52840 DKs

Arduino Rev3 compatible

2.4 GHz and NFC antennas

SEGGER J-Link OB programmer/debugger

All I/Os and interfaces available via connectors

User-programmable LEDs (4) and buttons (4)

Pins for measuring power consumption

SWF connector for direct RF measurements

1.7-5.0 V supply from USB, external, Li-Po battery

or CR2032 coin cell battery

Will be replaced by a nRF5340 DK when the

nRF5340 SoC is closer to being production ready

nRF5340 PDK

Page 41: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

Cross-platform

programming and memory

visualization tool

Visualizes firmware in

memory layout before

writing

Supports memory read

App in nRF Connect for

Desktop

Programmer

Page 42: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

7x7 mm

aQFN94 with 48 GPIOs

Package variants

Page 43: Meet the nRF5340 · Meet the nRF5340 The next generation in IoT Webinar. Nordic Semiconductor. February 2020. Duration: 50 -60 min

© Nordic Semiconductor

nRF5340 SoC nRF Connect nRF5340 PDK

Multi-core flexibility

Truly secure

All-in-one

nRF Connect SDK

nRF Connect for Desktop

nRF Connect for Cloud

nRF Connect for Mobile

Preview development kit for the

nRF5340 SoC

Makes all features of the nRF5340

SoC available to the developer

Complete development solution