RM1xx DVK

Overview

Ezurio’s RM1xx is a module which integrates both LoRa and BLE communications, powered by a Nordic Semiconductor nRF51822 ARM Cortex-M0 CPU and on-board Semtech SX1272 LoRa RF chip. This board supports the RM1xx on the RM1xx development board - RM191 for the 915MHz version and RM186 for the 868MHz version.

This development kit has the following features:

  • ADC

  • CLOCK

  • FLASH

  • GPIO

  • I2C

  • NVIC

  • PWM

  • RADIO (Bluetooth Low Energy)

  • RTC

  • Segger RTT (RTT Console)

  • SPI

  • UART

  • WDT

RM1xx module

RM1xx module (Credit: Ezurio)

More information about the module can be found on the RM1xx homepage [1].

The Nordic Semiconductor Infocenter [2] contains the processor’s information and the datasheet.

Hardware

The RM1xx has two internal oscillators. The frequency of the slow clock is 32.768KHz. The frequency of the main clock is 16MHz.

Supported Features

The rm1xx_dvk 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.

rm1xx_dvk/nrf51822 target

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)1 1

nordic,nrf-twi

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1

arm,v6m-nvic

LoRa

on-board

Semtech SX1272 LoRa Modem1

semtech,sx1272

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-board

Properties supporting Zephyr spi-nor flash driver (over the Zephyr SPI API) control of serial flash memories using the standard M25P80-based command set1

jedec,spi-nor

on-board

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

fixed-partitions

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)1 1

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

See Nordic Semiconductor Infocenter [2] for a complete list of hardware features.

Connections and IOs

The development board features a Microchip MCP23S08 SPI port expander - note that this is not currently supported in Zephyr.

Refer to the Microchip MCP23S08 datasheet [5] for further details.

Push buttons

  • BUTTON2 = SW0 = P0.05

Internal Memory

EEPROM Memory

A 512KB (4Mb) Adesto AT25DF041B EEPROM is available via SPI for storage of infrequently updated data and small datasets and can be used with the spi-nor driver. Note that the EEPROM shares the same SPI bus as the SX1272 LoRa transceiver so priority access should be given to the LoRa radio.

Refer to the Adesto AT25DF041B datasheet [3] for further details.

LoRa

A Semtech SX1272 transceiver chip is present in the module which can be used in 915MHz LoRa frequency ranges if using an RM191 module or 868MHz LoRa frequency ranges if uses an RM186 module

Refer to the Semtech SX1272 datasheet [4] for further details.

Programming and Debugging

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 build and flash applications as usual (see Building an Application and Run an Application for more details).

Here is an example for the Hello World application.

First, run your favorite terminal program to listen for output.

$ minicom -D <tty_device> -b 115200

Replace <tty_device> with the port where the board nRF51 DK can be found. For example, under Linux, /dev/ttyACM0.

Then build and flash the application in the usual way.

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

Debugging

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

References