Redbear Labs Nano

Overview

The Nano is a development board equipped with Nordic’s nRF51822 Bluetooth Low Energy SOC. This board is available on RedBear Store [1].

Hardware

nRF51 BLE Nano has two external oscillators. The frequency of the slow clock is 32.768 kHz. The frequency of the main clock is 16 MHz.

Supported Features

The nrf51_blenano 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.
nrf51_blenano
/
nrf51822

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0 CPU1

arm,cortex-m0

ADC

on-chip

nRF ADC node1

nordic,nrf-adc

ARM architecture

on-chip

Nordic UICR (User Information Configuration Registers)1

nordic,nrf-uicr

on-chip

Nordic nRF family MPU (Memory Protection Unit)1

nordic,nrf-mpu

on-chip

Nordic nRF family SWI (Software Interrupt)6

nordic,nrf-swi

Clock control

on-chip

Nordic nRF clock control node1

nordic,nrf-clock

Comparator

on-chip

Nordic nRF LPCOMP (analog Low-Power COMParator)1

nordic,nrf-lpcomp

Counter

on-chip

Nordic nRF timer node3

nordic,nrf-timer

Cryptographic accelerator

on-chip

Nordic ECB (AES electronic codebook mode encryption)1

nordic,nrf-ecb

on-chip

Nordic nRF family CCM (AES CCM mode encryption)1

nordic,nrf-ccm

Flash controller

on-chip

Nordic NVMC (Non-Volatile Memory Controller)1

nordic,nrf51-flash-controller

GPIO & Headers

on-chip

NRF5 GPIOTE1

nordic,nrf-gpiote

on-chip

NRF5 GPIO1

nordic,nrf-gpio

I2C

on-chip

Nordic nRF family TWI (TWI master)2

nordic,nrf-twi

Interrupt controller

on-chip

ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1

arm,v6m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Miscellaneous

on-chip

Nordic FICR (Factory Information Configuration Registers)1

nordic,nrf-ficr

on-chip

Nordic nRF family PPI (Programmable Peripheral Interconnect)1

nordic,nrf-ppi

MTD

on-chip

Flash node1

soc-nv-flash

Networking

on-chip

Nordic nRF family RADIO peripheral1

nordic,nrf-radio

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

PWM

on-chip

nRFx S/W PWM1

nordic,nrf-sw-pwm

Retained memory

on-chip

Nordic GPREGRET (General Purpose Register Retention) device1

nordic,nrf-gpregret

RNG

on-chip

Nordic nRF family RNG (Random Number Generator)1

nordic,nrf-rng

RTC

on-chip

Nordic nRF RTC (Real-Time Counter)2

nordic,nrf-rtc

Sensors

on-chip

Nordic nRF family TEMP node1

nordic,nrf-temp

on-chip

Nordic nRF quadrature decoder (QDEC) node1

nordic,nrf-qdec

Serial controller

on-chip

Nordic nRF family UART1

nordic,nrf-uart

SPI

on-chip

Nordic nRF family SPI (SPI master)2

nordic,nrf-spi

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Watchdog

on-chip

Nordic nRF family WDT (Watchdog Timer)1

nordic,nrf-wdt

Connections and IOs

BLE nano pinout

BLE Nano

DAPLink board

DAPLink

The DAPLink USB board acts as a dongle. DAPLink debug probes appear on the host computer as a USB disk. It also regulates 5V from USB to 3.3V via the onboard LDO to power Nano.

More information about Nano and DAPLink can be found at the RedBear Github [2].

Programming and Debugging

Applications for the nrf51_blenano board configuration can be built and flashed in the usual way (see Building an Application and Run an Application for more details).

Flashing

To flash an application, you’ll need to connect your BLE Nano with the DAPLink board, then attach that to your computer via USB.

Warning

Be careful to mount the BLE Nano correctly! The side of the board with the VIN and GND pins should face towards the USB connector. The RedBear Store [1] page links to a tutorial video that shows how to properly solder headers and assemble the DAPLink and BLE Nano boards.

Now build and flash applications as usual. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b nrf51_blenano samples/hello_world
west flash

Debugging

After mounting the BLE Nano on its DAPLink board as described above, you can debug an application in the usual way. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b nrf51_blenano samples/hello_world
west debug

References