boards: arm: bt610: Rename from bt6x0

The BT6x0 board configuration is only valid for the BT610 device,
therefore rename the boards file to BT610

Signed-off-by: Jamie McCrae <jamie.mccrae@lairdconnect.com>
This commit is contained in:
Jamie McCrae 2021-09-22 12:10:42 +01:00 committed by Christopher Friedt
commit 9c5a534461
13 changed files with 43 additions and 42 deletions

View file

@ -1,4 +1,4 @@
# BT6X0 board configuration # BT610 board configuration
# Copyright (c) 2021 Laird Connectivity # Copyright (c) 2021 Laird Connectivity
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
bool "Enable DCDC mode" bool "Enable DCDC mode"
select SOC_DCDC_NRF52X select SOC_DCDC_NRF52X
default y default y
depends on BOARD_BT6X0 depends on BOARD_BT610

View file

@ -1,8 +1,8 @@
# BT6X0 board configuration # BT610 board configuration
# Copyright (c) 2021 Laird Connectivity # Copyright (c) 2021 Laird Connectivity
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_BT6X0 config BOARD_BT610
bool "BT6X0" bool "BT610"
depends on SOC_NRF52840_QIAA depends on SOC_NRF52840_QIAA

View file

@ -3,10 +3,10 @@
# Copyright (c) 2021 Laird Connectivity # Copyright (c) 2021 Laird Connectivity
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
if BOARD_BT6X0 if BOARD_BT610
config BOARD config BOARD
default "bt6x0" default "bt610"
config IEEE802154_NRF5 config IEEE802154_NRF5
default y default y
@ -21,4 +21,4 @@ DT_COMPAT_TI_TCA9538 := ti,tca9538
config I2C config I2C
default $(dt_compat_on_bus,$(DT_COMPAT_TI_TCA9538),i2c) default $(dt_compat_on_bus,$(DT_COMPAT_TI_TCA9538),i2c)
endif # BOARD_BT6X0 endif # BOARD_BT610

View file

@ -8,8 +8,8 @@
#include <nordic/nrf52840_qiaa.dtsi> #include <nordic/nrf52840_qiaa.dtsi>
/ { / {
model = "Laird BT6x0 Sensor"; model = "Laird BT610 Sensor";
compatible = "lairdconnect,bt6x0"; compatible = "lairdconnect,bt610";
chosen { chosen {
zephyr,console = &uart0; zephyr,console = &uart0;

View file

@ -1,5 +1,5 @@
identifier: bt6x0 identifier: bt610
name: BT6X0 name: BT610
type: mcu type: mcu
arch: arm arch: arm
ram: 256 ram: 256

View file

@ -2,7 +2,7 @@
CONFIG_SOC_SERIES_NRF52X=y CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_BT6X0=y CONFIG_BOARD_BT610=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y

View file

@ -1,12 +1,12 @@
.. _bt6x0: .. _bt610:
Laird Connectivity Sentrius BT6x0 Sensor Laird Connectivity Sentrius BT610 Sensor
######################################## ########################################
Overview Overview
******** ********
The Sentrius™ BT6x0 Sensor is a battery powered, Bluetooth v5 Long Range The Sentrius™ BT610 Sensor is a battery powered, Bluetooth v5 Long Range
integrated sensor platform that uses a Nordic Semiconductor nRF52840 ARM integrated sensor platform that uses a Nordic Semiconductor nRF52840 ARM
Cortex-M4F CPU. Cortex-M4F CPU.
@ -28,19 +28,19 @@ The sensor has the following features:
* :abbr:`UART (Universal Asynchronous Receiver-Transmitter)` * :abbr:`UART (Universal Asynchronous Receiver-Transmitter)`
* :abbr:`WDT (Watchdog Timer)` * :abbr:`WDT (Watchdog Timer)`
.. figure:: img/bt6x0_front.jpg .. figure:: img/bt610_front.jpg
:width: 500px :width: 500px
:align: center :align: center
:alt: Sentrius BT6x0 Sensor, front view :alt: Sentrius BT610 Sensor, front view
Sentrius BT6x0 Sensor, front view Sentrius BT610 Sensor, front view
.. figure:: img/bt6x0_back.jpg .. figure:: img/bt610_back.jpg
:width: 500px :width: 500px
:align: center :align: center
:alt: Sentrius BT6x0 Sensor, rear view :alt: Sentrius BT610 Sensor, rear view
Sentrius BT6x0 Sensor, rear view Sentrius BT610 Sensor, rear view
More information about the board can be found at the More information about the board can be found at the
`Sentrius BT610 website`_. `Sentrius BT610 website`_.
@ -51,7 +51,7 @@ Hardware
Supported Features Supported Features
================== ==================
The BT6x0 Sensor supports the following The BT610 Sensor supports the following
hardware features: hardware features:
+-----------+------------+----------------------+ +-----------+------------+----------------------+
@ -89,12 +89,12 @@ hardware features:
| WDT | on-chip | watchdog | | WDT | on-chip | watchdog |
+-----------+------------+----------------------+ +-----------+------------+----------------------+
.. figure:: img/bt6x0_board.jpg .. figure:: img/bt610_board.jpg
:width: 500px :width: 500px
:align: center :align: center
:alt: Sentrius BT6x0 Sensor, board layout :alt: Sentrius BT610 Sensor, board layout
Sentrius BT6x0 Sensor, board layout Sentrius BT610 Sensor, board layout
Connections and IOs Connections and IOs
=================== ===================
@ -102,7 +102,7 @@ Connections and IOs
LED LED
--- ---
Two LEDs are visible through the BT6x0 housing lid. Note that the LEDs can be Two LEDs are visible through the BT610 housing lid. Note that the LEDs can be
driven either directly, or via PWM. PWM should be used when current consumption driven either directly, or via PWM. PWM should be used when current consumption
is required to be minimised. is required to be minimised.
@ -115,7 +115,7 @@ is required to be minimised.
Push button Push button
------------ ------------
The BT6x0 incorporates three mechanical push buttons. Note these are only The BT610 incorporates three mechanical push buttons. Note these are only
accessible with the housing cover removed. accessible with the housing cover removed.
Two of the buttons are available for use via the board DTS file, as follows. Two of the buttons are available for use via the board DTS file, as follows.
@ -129,7 +129,7 @@ microcontroller.
Magnetoresistive sensor Magnetoresistive sensor
----------------------- -----------------------
The BT6x0 incorporates a Honeywell SM351LT magnetoresistive sensor. Refer to The BT610 incorporates a Honeywell SM351LT magnetoresistive sensor. Refer to
the `Honeywell SM351LT datasheet`_ for further details. the `Honeywell SM351LT datasheet`_ for further details.
* MAG_1 = SW2 = P1.15 (SM3531LT_0) * MAG_1 = SW2 = P1.15 (SM3531LT_0)
@ -157,7 +157,7 @@ This can deliver up to 50mA peak and 20mA continuous current.
Sensor connectivity Sensor connectivity
------------------- -------------------
The BT6x0 incorporates three terminal blocks J5, J6 & J7 that allow The BT610 incorporates three terminal blocks J5, J6 & J7 that allow
connectivity to its sensor inputs, as follows. connectivity to its sensor inputs, as follows.
Terminal Block J5 Terminal Block J5
@ -485,12 +485,12 @@ Required pins are as follows.
Programming and Debugging Programming and Debugging
************************* *************************
Applications for the ``bt6x0`` board configuration can be Applications for the ``bt610`` board configuration can be
built and flashed in the usual way (see :ref:`build_an_application` built and flashed in the usual way (see :ref:`build_an_application`
and :ref:`application_run` for more details); however, the standard and :ref:`application_run` for more details); however, the standard
debugging targets are not currently available. debugging targets are not currently available.
The BT6x0 features a 10 way header, J3, for connection of a The BT610 features a 10 way header, J3, for connection of a
programmer/debugger, with pinout as follows. programmer/debugger, with pinout as follows.
+-----------+------------+----------------------+ +-----------+------------+----------------------+
@ -537,7 +537,7 @@ pinout as follows.
+-----------+------------+----------------------+-----------+ +-----------+------------+----------------------+-----------+
Note that pin 3 requires a solder bridge to be closed to enable powering of the Note that pin 3 requires a solder bridge to be closed to enable powering of the
BT6x0 board via the UART connector. BT610 board via the UART connector.
Flashing Flashing
======== ========
@ -552,7 +552,7 @@ Here is an example for the :ref:`hello_world` application.
First, run your favorite terminal program to listen for output. First, run your favorite terminal program to listen for output.
NOTE: On the BT6x0, the UART lines are at TTL levels and must be passed through NOTE: On the BT610, the UART lines are at TTL levels and must be passed through
an appropriate line driver circuit for translation to RS232 levels. Refer to an appropriate line driver circuit for translation to RS232 levels. Refer to
the `MAX3232 datasheet`_ for a suitable driver IC. the `MAX3232 datasheet`_ for a suitable driver IC.
@ -560,14 +560,14 @@ the `MAX3232 datasheet`_ for a suitable driver IC.
$ minicom -D <tty_device> -b 115200 $ minicom -D <tty_device> -b 115200
Replace :code:`<tty_device>` with the port where the BT6x0 can be found. For Replace :code:`<tty_device>` with the port where the BT610 can be found. For
example, under Linux, :code:`/dev/ttyUSB0`. example, under Linux, :code:`/dev/ttyUSB0`.
Then build and flash the application in the usual way. Then build and flash the application in the usual way.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: bt6x0 :board: bt610
:goals: build flash :goals: build flash
Note that an external debugger is required to perform application flashing. Note that an external debugger is required to perform application flashing.
@ -575,14 +575,14 @@ Note that an external debugger is required to perform application flashing.
Debugging Debugging
========= =========
The ``bt6x0`` board does not have an on-board J-Link debug IC The ``bt610`` board does not have an on-board J-Link debug IC
as some nRF5x development boards, however, instructions from the as some nRF5x development boards, however, instructions from the
:ref:`nordic_segger` page also apply to this board, with the additional step :ref:`nordic_segger` page also apply to this board, with the additional step
of connecting an external debugger. of connecting an external debugger.
Testing Bluetooth on the BT6x0 Testing Bluetooth on the BT610
*********************************** ***********************************
Many of the Bluetooth examples will work on the BT6x0. Many of the Bluetooth examples will work on the BT610.
Try them out: Try them out:
* :ref:`ble_peripheral` * :ref:`ble_peripheral`
@ -590,7 +590,7 @@ Try them out:
* :ref:`bluetooth-ibeacon-sample` * :ref:`bluetooth-ibeacon-sample`
Testing the LEDs and buttons on the BT6x0 Testing the LEDs and buttons on the BT610
***************************************** *****************************************
There are 2 samples that allow you to test that the buttons (switches) and LEDs There are 2 samples that allow you to test that the buttons (switches) and LEDs
@ -601,7 +601,7 @@ on the board are working properly with Zephyr:
You can build and flash the examples to make sure Zephyr is running correctly 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 on your board. The button, LED and sensor device definitions can be found in
:zephyr_file:`boards/arm/bt6x0/bt6x0.dts`. :zephyr_file:`boards/arm/bt610/bt610.dts`.
References References

View file

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Before After
Before After

View file

@ -9,6 +9,7 @@
# set(<old_board_name>_DEPRECATED <new_board_name>) # set(<old_board_name>_DEPRECATED <new_board_name>)
set(bl5340_dvk_cpuappns_DEPRECATED bl5340_dvk_cpuapp_ns) set(bl5340_dvk_cpuappns_DEPRECATED bl5340_dvk_cpuapp_ns)
set(bt6x0_DEPRECATED bt610)
set(mps2_an521_nonsecure_DEPRECATED mps2_an521_ns) set(mps2_an521_nonsecure_DEPRECATED mps2_an521_ns)
set(musca_b1_nonsecure_DEPRECATED musca_b1_ns) set(musca_b1_nonsecure_DEPRECATED musca_b1_ns)
set(musca_s1_nonsecure_DEPRECATED musca_s1_ns) set(musca_s1_nonsecure_DEPRECATED musca_s1_ns)

View file

@ -61,7 +61,7 @@
defined(CONFIG_BOARD_UBX_EVKNINAB1_NRF52832) || \ defined(CONFIG_BOARD_UBX_EVKNINAB1_NRF52832) || \
defined(CONFIG_BOARD_UBX_EVKNINAB3_NRF52840) || \ defined(CONFIG_BOARD_UBX_EVKNINAB3_NRF52840) || \
defined(CONFIG_BOARD_UBX_EVKNINAB4_NRF52833) || \ defined(CONFIG_BOARD_UBX_EVKNINAB4_NRF52833) || \
defined(CONFIG_BOARD_BT6X0) defined(CONFIG_BOARD_BT610)
#include <hal/nrf_saadc.h> #include <hal/nrf_saadc.h>
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, nordic_nrf_saadc)) #define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, nordic_nrf_saadc))