Sentrius BT510 Sensor

Overview

The Sentrius™ BT510 Sensor is a battery powered, Bluetooth v5 Long Range integrated sensor that uses a Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU.

The sensor has the following features:

  • ADC

  • CLOCK

  • FLASH

  • GPIO

  • I2C

  • MPU

  • NVIC

  • PWM

  • RADIO (Bluetooth Low Energy and 802.15.4)

  • RTC

  • Segger RTT (RTT Console)

  • UART

  • WDT

Sentrius BT510 Sensor, rear view

Sentrius BT510 Sensor, rear view

More information about the board can be found at the Sentrius BT510 website [1].

Hardware

Supported Features

The bt510 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.
bt510
/
nrf52840

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

Nordic Semiconductor nRF family SAADC node1

nordic,nrf-saadc

ARM architecture

on-chip

Nordic UICR (User Information Configuration Registers)1

nordic,nrf-uicr

on-chip

Nordic EGU (Event Generator Unit)6

nordic,nrf-egu

on-chip

Nordic nRF family ACL (Access Control List)1

nordic,nrf-acl

on-chip

Nordic nRF family MWU (Memory Watch Unit)1

nordic,nrf-mwu

Audio

on-chip

Nordic PDM (Pulse Density Modulation interface)1

nordic,nrf-pdm

Clock control

on-chip

Nordic nRF clock control node1

nordic,nrf-clock

Comparator

on-chip

Nordic nRF COMP (analog COMParator)1

nordic,nrf-comp

Counter

on-chip

Nordic nRF timer node5

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

on-chip

ARM TrustZone CryptoCell 3101

arm,cryptocell-310

Debug

on-chip

ARMv7 instrumentation trace macrocell1

arm,armv7m-itm

Flash controller

on-chip

Nordic NVMC (Non-Volatile Memory Controller)1

nordic,nrf52-flash-controller

on-chip

Properties defining the interface for the Nordic QSPI peripheral1

nordic,nrf-qspi

GPIO & Headers

on-chip

NRF5 GPIOTE1

nordic,nrf-gpiote

on-chip

NRF5 GPIO2

nordic,nrf-gpio

I2C

on-chip

Nordic nRF family TWIM (TWI master with EasyDMA)1 1

nordic,nrf-twim

I2S

on-chip

Nordic I2S (Inter-IC sound interface)1

nordic,nrf-i2s

IEEE 802.15.4

on-chip

Nordic nRF IEEE 802.15.4 node1

nordic,nrf-ieee802154

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-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

on-board

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

fixed-partitions

Networking

on-chip

Nordic nRF family RADIO peripheral1

nordic,nrf-radio

on-chip

Nordic nRF family NFCT (Near Field Communication Tag)1

nordic,nrf-nfct

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

nRF PWM4

nordic,nrf-pwm

on-chip

nRFx S/W PWM1

nordic,nrf-sw-pwm

Regulator

on-chip

Nordic nRF5X regulator (fixed stage of the core supply)1

nordic,nrf5x-regulator

on-chip

Nordic nRF52X regulator (high voltage stage of the main supply)1

nordic,nrf52x-regulator-hv

Retained memory

on-chip

Nordic GPREGRET (General Purpose Register Retention) device2

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

nordic,nrf-rtc

Sensors

on-board

STMicroelectronics LIS2DH12 3-axis accelerometer1

st,lis2dh12

on-board

Si7055 temperature sensor1

silabs,si7055

on-chip

Nordic nRF family TEMP node1

nordic,nrf-temp

on-chip

Nordic nRF quadrature decoder (QDEC) node1

nordic,nrf-qdec

on-board

SM351LT magnetoresistive sensor1

honeywell,sm351lt

Serial controller

on-chip

Nordic nRF family UARTE (UART with EasyDMA)1 1

nordic,nrf-uarte

SPI

on-chip

Nordic nRF family SPIM (SPI master with EasyDMA)4

nordic,nrf-spim

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

USB

on-chip

Nordic nRF52 USB device controller1

nordic,nrf-usbd

Watchdog

on-chip

Nordic nRF family WDT (Watchdog Timer)1

nordic,nrf-wdt

Connections and IOs

LED

Two LEDs are visible through the BT510 housing lid.

  • LED_1A (green) = P0.22

  • LED_1B (red) = P0.20

Push button

The BT510 housing lid also acts as a push button.

  • BUTTON_1 = SW1 = P1.10

Magnetoresistive sensor

The BT510 incorporates a Honeywell SM351LT magnetoresistive sensor. Refer to the Honeywell SM351LT datasheet [7] for further details.

  • MAG = P1.14

Accelerometer

The BT510 incorporates an I2C ST Microelectronics LIS2DH accelerometer. Refer to the ST Microelectronics LIS2DH datasheet [6] for further details.

  • SDA = P0.26

  • SCL = P0.27

  • INT_1 = P1.05

  • INT_2 = P1.12

Temperature Sensor

The BT510 incorporates an I2C Silabs SI7055 temperature sensor. Refer to the Silabs 7055 datasheet [5] for further details.

  • SDA = P0.26

  • SCL = P0.27

Programming and Debugging

The bt510 board supports the runners and associated west commands listed below.

flash debug debugserver attach rtt
jlink
nrfjprog
nrfutil
pyocd ✅ (default) ✅ (default)

Applications for the bt510 board configuration can be built, flashed, and debugged in the usual way. See Building an Application and Run an Application for more details on building and running.

The BT510 features a TagConnect 10 way socket for connection of a programmer/debugger, refer to TagConnect TC2050 product page [2] for details of an appropriate TagConnect cable.

A non-standard layout is used to include access to the sensor debug UART.

Pin No.

Name

Description

1

Vcc

Power Supply, 3.3V

2

SWDIO

SWD Data

3

RXD

Debug UART RX Data

4

SWDCLK

SWD Clock

5

TM

Spare GPIO

6

SWO

SWD Output

7

N/C

Not Connected

8

TXD

Debug UART TX Data

9

GND

Ground

10

RESET

Reset, Active Low

Connectivity to the programmer/debugger must be modified to match the pinout shown above.

Ezurio provide the USB-SWD programming board (750-03239) that supports this connector layout, refer to the USB SWD Programmer product page [3] .

Flashing

To connect the BT510 board for programming or debugging using the USB-SWD programming board, on the programming board set SW6 to the supply out position and SW5 to the 3V3 position, ensure there is a jumper on J35 and that SW1 is in the debug position, then connect the BT510 to the board using the Tag-Connect cable via J3:

Sentrius BT510 Sensor connected to programming board

Sentrius BT510 Sensor connected to programming board

Then build and flash applications as usual (see Building an Application and Run an Application for more details). For example, to flash:

$ ninja flash

Here is an example for the Hello World application.

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

NOTE: On the BT510, the UART lines are at TTL levels and must be passed through an appropriate line driver circuit for translation to RS232 levels. Refer to the MAX3232 datasheet [4] for a suitable driver IC. The USB-SWD programming board has an in-built UART connected to the BT510 acting as a USB CDC port, on Linux and Windows 10 this driver should be installed automatically, for Windows 7, the MBED driver is required to use the serial port - see the MBED Serial Driver [8] link for details and how to install the driver.

$ minicom -D <tty_device> -b 115200

Replace <tty_device> with the port where the bt510 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 bt510 samples/hello_world
west flash

Note that an external debugger is required to perform application flashing.

Debugging

The bt510 board does not have an on-board J-Link debug IC as some nRF5x development boards, however, instructions from the Nordic nRF5x Segger J-Link page also apply to this board, with the additional step of connecting an external debugger. The USB-SWD programmer board has a CMSIS debugger compatible interface and debugging can be performed using pyocd, openocd or any other applications that support the CMSIS interface.

Testing Bluetooth on the BT510

Many of the Bluetooth examples will work on the BT510. Try them out:

Testing the LEDs and buttons on the BT510

There are 2 samples that allow you to test that the buttons (switches) and LEDs on the board are working properly with Zephyr:

You can build and flash the examples to make sure Zephyr is running correctly on your board. The button, LED and sensor device definitions can be found in boards/ezurio/bt510/bt510.dts.

References