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.
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M33F CPU1 |
|
ADC |
on-chip |
Nordic Semiconductor nRF family SAADC node1 |
|
on-board |
ADC channels exposed on Arduino Uno (R3) headers1 |
||
ARM architecture |
on-chip |
Nordic UICR (User Information Configuration Registers)1 |
|
on-chip |
Nordic nRF family DCNF (Domain Configuration)1 |
||
on-chip |
Nordic nRF family RESET (Reset Control)1 |
||
on-chip |
Nordic nRF family CTRL-AP (Control Access Port)1 |
||
on-chip |
Nordic EGU (Event Generator Unit)6 |
||
on-chip |
Nordic nRF family MUTEX (Mutual Exclusive Peripheral)1 |
||
on-chip |
Nordic KMU (Key Management Unit)1 |
||
on-chip |
Nordic SPU (System Protection Unit)1 |
||
Audio |
on-chip |
Nordic PDM (Pulse Density Modulation interface)1 |
|
Clock control |
on-chip |
Nordic nRF53X OSCILLATORS (Oscillator Control)1 |
|
on-chip |
Nordic nRF low-frequency crystal oscillator (nRF53 series)1 |
||
on-chip |
Nordic nRF high-frequency crystal oscillator (nRF53 series)1 |
||
on-chip |
Nordic nRF clock control node1 |
||
Comparator |
on-chip |
Nordic nRF COMP (analog COMParator)1 |
|
Counter |
on-chip |
Nordic nRF timer node3 |
|
Cryptographic accelerator |
on-chip |
ARM TrustZone CryptoCell 3121 |
|
Debug |
on-chip |
ARMv8 instrumentation trace macrocell1 |
|
Flash controller |
on-chip |
Properties defining the interface for the Nordic QSPI peripheral1 |
|
on-chip |
Nordic NVMC (Non-Volatile Memory Controller)1 |
||
GPIO & Headers |
on-chip |
NRF5 GPIO2 |
|
on-chip |
|||
on-board |
This is an abstract device responsible for forwarding pins between cores1 |
||
on-board |
GPIO pins exposed on Arduino Uno (R3) headers1 |
||
I2C |
on-chip |
||
I2S |
on-chip |
Nordic I2S (Inter-IC sound interface)1 |
|
IEEE 802.15.4 |
on-chip |
Nordic nRF IEEE 802.15.4 node1 |
|
IIO |
on-board |
Description for a voltage divider, with optional ability to measure resistance of the upper leg1 |
|
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv8-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of PWM-controlled LEDs1 |
|
on-board |
Group of GPIO-controlled LEDs1 |
||
Mailbox |
on-chip |
Nordic nRF family IPC (MBOX Interprocessor Communication)1 |
|
Miscellaneous |
on-chip |
Nordic FICR (Factory Information Configuration Registers)1 |
|
on-chip |
Nordic DPPIC (Distributed Programmable Peripheral Interconnect Controller)1 |
||
MMU / MPU |
on-chip |
ARMv8-M MPU (Memory Protection Unit)1 |
|
MTD |
on-chip |
Flash node1 |
|
on-chip |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Networking |
on-chip |
Nordic nRF family NFCT (Near Field Communication Tag)1 |
|
Pin control |
on-chip |
The nRF pin controller is a singleton node responsible for controlling pin function selection and pin properties1 |
|
Power management |
on-chip |
Nordic nRF power control node1 |
|
on-chip |
Nordic nRF family USBREG (USB Regulator Control)1 |
||
on-chip |
Nordic VMC (Volatile Memory Controller)1 |
||
PWM |
on-chip |
||
on-chip |
nRFx S/W PWM1 |
||
Regulator |
on-chip |
Nordic REGULATORS (voltage regulators control module) on nRF53X1 |
|
on-chip |
Nordic nRF5X regulator (fixed stage of the core supply)2 |
||
on-chip |
Nordic nRF53X regulator (high voltage stage of the main supply)1 |
||
on-board |
Nordic nPM1100 PMIC1 |
||
Retained memory |
on-chip |
Nordic GPREGRET (General Purpose Register Retention) device2 |
|
RTC |
on-chip |
Nordic nRF RTC (Real-Time Counter)2 |
|
Sensors |
on-board |
TI INA230, INA231 and INA236 Bidirectional Current and Power Monitor4 |
|
on-chip |
Nordic nRF quadrature decoder (QDEC) node2 |
||
Serial controller |
on-chip |
||
Sound |
on-board |
Cirrus Logic CS47L63 Low-Power Audio DSP1 |
|
SPI |
on-chip |
||
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv8-M System Tick1 |
|
USB |
on-chip |
Nordic nRF52 USB device controller1 |
|
on-board |
USB Audio headset specific fields1 |
||
Watchdog |
on-chip |
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.