nRF52 DK

Support for the nRF52 DK. More...

Detailed Description

Support for the nRF52 DK.

Overview:

The nRF52 DK is a development board featuring the nRF52832 MCU with Arduino compatible pin headers and an integrated J-Link programmer, debugger and UART adapter.

Hardware:

nRF52 DK

MCU NRF52832
Family ARM Cortex-M4F
Vendor Nordic Semiconductor
RAM 64 KiB
Flash 512 KiB
Frequency 64 MHz
FPU yes
Timers 5 (32-bit)
RTC 3
ADCs 1x 12-bit (8 channels)
UARTs 1
SPIs 3
I2Cs 2
I2S 1
PWM 3*4 Channels
Radio 2.4GHz BLE compatiple, -20 dBm to +4 dBm output, -96 dBm RX sensitivity
Vcc 1.7V - 3.6V
MCU Datasheet Datasheet
MCU Reference Manual Reference Manual
Board Datasheet User Guide

RESET pin configuration

On many (all?) nrf52dk 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.

Current measurement:

There are two pins for current measurement on board. Don't connect these pins to GND!. The left pin is at 3.3V level and the right pin is connected to V33. Divide the measured voltage between this pins by 22 to get the current.

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=nrf52dk -C examples/hello-world term

Files

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