All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
nRF52840 DK

Support for the nRF52840 DK. More...

Detailed Description

Support for the nRF52840 DK.

General information

The nRF52840 DK is a devboard based on the nRF52840 SoC which supports multiple wireless protocols including Bluetooth Low Energy, Thread and Zigbee.

Hardware

MCU nRF52840
Family ARM Cortex-M4
Vendor Nordic Semiconductor
RAM 256 KiB
Flash 1 MiB
Frequency 64 MHz
FPU yes
Timers 5 (32-bit)
RTC 3
ADCs 1x 12-bit (8 channels)
UARTs 2
SPIs 4 masters/3 slaves
I2Cs 2
I2S 1
PWM 4*4 Channels
Radio 2.4GHz BLE compatible, -20 dBm to +8 dBm output, -95 dBm RX sensitivity
Vcc 1.7V - 5.5V
MCU Manual Manual
Board Documentation Documentation

RESET pin configuration

On many (all?) nrf52840dk boards, the reset pin is not configured out-of-the box. This means, that simply nothing happens if the RESET pin is pressed. To change this, RIOT provides a little tool in dist/tools/nrf52_resetpin_cfg.

Simply compile, flash, and run that tool on your board, and the reset pin should work for the time being.

Flash the board

See the Flashing section in nRF52 common.

Accessing STDIO via UART

The STDIO is directly accessible via the USB port. On a Linux host, it's generally mapped to /dev/ttyACM0.

Use the term target to connect to the board serial port

make BOARD=nrf52840dk -C examples/basic/hello-world term

Files

file  arduino_iomap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Board specific configuration for the nRF52840 DK.
 
file  periph_conf.h
 Peripheral configuration for the nRF52840 DK.