nRF5340 Audio DK

Overview

The nRF5340 Audio DK (PCA10121) is designed for showcasing, developing and experimenting with Bluetooth® LE Audio.

You can use this board for developing LE-Audio-compatible applications that support Auracast™, connected isochronous streams (CIS) and broadcast isochronous streams (BIS), and offer support for acting as a audio source, audio sink and source + sink.

Zephyr uses the nrf5340_audio_dk/nrf5340 board configuration for building for the nRF5340 Audio DK.

Hardware

The nRF5340 Audio DK comes with the following hardware features:

  • nRF5340 dual-core SoC based on the Arm® Cortex®-M33 architecture

  • CS47L63 Low-Power Audio DSP with mono differential headphone driver

  • nPM1100 Ultra-small form-factor Power Management IC

  • On-board digital microphone

  • On-board power measurement

  • SD card slot

  • Built-in debugger

  • Stereo analog input using 3.5 mm jack

  • USB soundcard capability

More information about the board can be found at the nRF5340 Audio DK website [1]. The nRF5340 Audio DK hardware guide [2] contains the processor’s information and the datasheet.

nRF5340 SoC

The nRF5340 Audio DK is built around the nRF5340 SoC, which has the following characteristics:

  • A full-featured Arm Cortex-M33F core with DSP instructions, FPU, and Armv8-M Security Extension, running at up to 128 MHz, referred to as the application core.

  • A secondary Arm Cortex-M33 core, with a reduced feature set, running at a fixed 64 MHz, referred to as the network core.

The nrf5340_audio_dk/nrf5340/cpuapp build target provides support for the application core on the nRF5340 SoC. The nrf5340_audio_dk/nrf5340/cpunet build target provides support for the network core on the nRF5340 SoC.

The nRF5340 Audio DK hardware guide [2] contains the processor’s information and the datasheet.

Supported Features

The nrf5340_audio_dk board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
nrf5340_audio_dk
/

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33F CPU1

arm,cortex-m33f

ADC

on-chip

Nordic Semiconductor nRF family SAADC node1

nordic,nrf-saadc

on-board

ADC channels exposed on Arduino Uno (R3) headers1

arduino,uno-adc

ARM architecture

on-chip

Nordic UICR (User Information Configuration Registers)1

nordic,nrf-uicr

on-chip

Nordic nRF family DCNF (Domain Configuration)1

nordic,nrf-dcnf

on-chip

Nordic nRF family RESET (Reset Control)1

nordic,nrf-reset

on-chip

Nordic nRF family CTRL-AP (Control Access Port)1

nordic,nrf-ctrlapperi

on-chip

Nordic EGU (Event Generator Unit)6

nordic,nrf-egu

on-chip

Nordic nRF family MUTEX (Mutual Exclusive Peripheral)1

nordic,nrf-mutex

on-chip

Nordic KMU (Key Management Unit)1

nordic,nrf-kmu

on-chip

Nordic SPU (System Protection Unit)1

nordic,nrf-spu

Audio

on-chip

Nordic PDM (Pulse Density Modulation interface)1

nordic,nrf-pdm

Clock control

on-chip

Nordic nRF53X OSCILLATORS (Oscillator Control)1

nordic,nrf53-oscillators

on-chip

Nordic nRF low-frequency crystal oscillator (nRF53 series)1

nordic,nrf53-lfxo

on-chip

Nordic nRF high-frequency crystal oscillator (nRF53 series)1

nordic,nrf53-hfxo

on-chip

Nordic nRF clock control node1

nordic,nrf-clock

Comparator

on-chip

Nordic nRF COMP (analog COMParator)1

nordic,nrf-comp

Counter

on-chip

Nordic nRF timer node3

nordic,nrf-timer

Cryptographic accelerator

on-chip

ARM TrustZone CryptoCell 3121

arm,cryptocell-312

Debug

on-chip

ARMv8 instrumentation trace macrocell1

arm,armv8m-itm

Flash controller

on-chip

Properties defining the interface for the Nordic QSPI peripheral1

nordic,nrf-qspi

on-chip

Nordic NVMC (Non-Volatile Memory Controller)1

nordic,nrf53-flash-controller

GPIO & Headers

on-chip

NRF5 GPIO2

nordic,nrf-gpio

on-chip

NRF5 GPIOTE1 1

nordic,nrf-gpiote

on-board

This is an abstract device responsible for forwarding pins between cores1

nordic,nrf-gpio-forwarder

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

I2C

on-chip

Nordic nRF family TWIM (TWI master with EasyDMA)1 3

nordic,nrf-twim

I2S

on-chip

Nordic I2S (Inter-IC sound interface)1

nordic,nrf-i2s

IEEE 802.15.4

on-chip

Nordic nRF IEEE 802.15.4 node1

nordic,nrf-ieee802154

IIO

on-board

Description for a voltage divider, with optional ability to measure resistance of the upper leg1

voltage-divider

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

LED

on-board

Group of PWM-controlled LEDs1

pwm-leds

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Mailbox

on-chip

Nordic nRF family IPC (MBOX Interprocessor Communication)1

nordic,mbox-nrf-ipc

Miscellaneous

on-chip

Nordic FICR (Factory Information Configuration Registers)1

nordic,nrf-ficr

on-chip

Nordic DPPIC (Distributed Programmable Peripheral Interconnect Controller)1

nordic,nrf-dppic

MMU / MPU

on-chip

ARMv8-M MPU (Memory Protection Unit)1

arm,armv8m-mpu

MTD

on-chip

Flash node1

soc-nv-flash

on-chip

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Networking

on-chip

Nordic nRF family NFCT (Near Field Communication Tag)1

nordic,nrf-nfct

Pin control

on-chip

The nRF pin controller is a singleton node responsible for controlling pin function selection and pin properties1

nordic,nrf-pinctrl

Power management

on-chip

Nordic nRF power control node1

nordic,nrf-power

on-chip

Nordic nRF family USBREG (USB Regulator Control)1

nordic,nrf-usbreg

on-chip

Nordic VMC (Volatile Memory Controller)1

nordic,nrf-vmc

PWM

on-chip

nRF PWM1 3

nordic,nrf-pwm

on-chip

nRFx S/W PWM1

nordic,nrf-sw-pwm

Regulator

on-chip

Nordic REGULATORS (voltage regulators control module) on nRF53X1

nordic,nrf53x-regulators

on-chip

Nordic nRF5X regulator (fixed stage of the core supply)2

nordic,nrf5x-regulator

on-chip

Nordic nRF53X regulator (high voltage stage of the main supply)1

nordic,nrf53x-regulator-hv

on-board

Nordic nPM1100 PMIC1

nordic,npm1100

Retained memory

on-chip

Nordic GPREGRET (General Purpose Register Retention) device2

nordic,nrf-gpregret

RTC

on-chip

Nordic nRF RTC (Real-Time Counter)2

nordic,nrf-rtc

Sensors

on-board

TI INA230, INA231 and INA236 Bidirectional Current and Power Monitor4

ti,ina230

on-chip

Nordic nRF quadrature decoder (QDEC) node2

nordic,nrf-qdec

Serial controller

on-chip

Nordic nRF family UARTE (UART with EasyDMA)1 3

nordic,nrf-uarte

Sound

on-board

Cirrus Logic CS47L63 Low-Power Audio DSP1

cirrus,cs47l63

SPI

on-chip

Nordic nRF family SPIM (SPI master with EasyDMA)1 4

nordic,nrf-spim

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

USB

on-chip

Nordic nRF52 USB device controller1

nordic,nrf-usbd

on-board

USB Audio headset specific fields1

usb-audio-hs

Watchdog

on-chip

Nordic nRF family WDT (Watchdog Timer)1 1

nordic,nrf-wdt

See nRF5340 DK and nRF5340 Audio DK hardware guide [2] for a complete list of nRF5340 Audio DK board hardware features.

Programming and Debugging

The nrf5340_audio_dk board supports the runners and associated west commands listed below.

flash debug attach debugserver rtt
jlink ✅ (default)
nrfjprog
nrfutil ✅ (default)

Flashing

Follow the instructions in the Nordic nRF5x Segger J-Link page to install and configure all the necessary software. Further information can be found in Flashing. Then you can build and flash applications as usual (Building an Application and Run an Application for more details).

Warning

The nRF5340 has a flash read-back protection feature. When flash read-back protection is active, you will need to recover the chip before reflashing. If you are flashing with west, run this command for more details on the related --recover option:

west flash -H -r nrfutil --skip-rebuild

Note

Flashing and debugging applications on the nRF5340 Audio DK requires upgrading the nRF Command Line Tools to version 10.12.0. Further information on how to install the nRF Command Line Tools can be found in Flashing.

Debugging

Refer to the Nordic nRF5x Segger J-Link page to learn about debugging Nordic boards with a Segger IC.

References