Part 1
요약·해설
표 9개 82행, 공식 이미지 2개, clock·Segger·LED/button 절차를 보존했습니다.
nRF52832 M4F
Bluetooth 5
300 · 301 · 350
J-LINK-OB
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
DD6A92B1E342C1FC4F04D660767C2481855E1618328F266692E17DE2BAFE7014
.. _ubx_bmd300eval_nrf52832:
u-blox EVK-BMD-30/35: BMD-300-EVAL, BMD-301-EVAL, and BMD-350-EVAL
##################################################################
Overview
********
The BMD-300-EVAL, BMD-301-EVAL, and BMD-350-EVAL hardware provides
support for the u-blox BMD-300, BMD-301, and BMD-350 Bluetooth 5
modules, based on the Nordic Semiconductor nRF52832 ARM Cortex-M4F
CPU and the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`GPIO (General Purpose Input Output)`
* :abbr:`I2C (Inter-Integrated Circuit)`
* :abbr:`MPU (Memory Protection Unit)`
* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
* :abbr:`PWM (Pulse Width Modulation)`
* RADIO (Bluetooth Low Energy)
* :abbr:`RTC (nRF RTC System Clock)`
* Segger RTT (RTT Console)
* :abbr:`SPI (Serial Peripheral Interface)`
* :abbr:`UART (Universal asynchronous receiver-transmitter)`
* :abbr:`WDT (Watchdog Timer)`
.. figure:: ../../../../../../../boards/u-blox/ubx_bmd300eval/doc/img/BMD-30-33-35-36-EVAL.jpg
:align: center
:alt: BMD-300-EVAL
BMD-300-EVAL (Credit: u-blox AG)
.. note::
The BMD-300-EVAL, BMD-301-EVAL, and BMD-350-EVAL share the same
pin headers and assignments. The boards are different only in
the module used on the board. The BMD-300 and BMD-301 modules
share the same footprint and differ only in the antenna. The
BMD-350 module utilizes the nRF52832 CIAA WLCSP package.
More information about the BMD-300-EVAL, BMD-301-EVAL, and
BMD-350-EVAL and the respective modules can be found at the
`u-blox website`_. All of the Nordic Semiconductor examples for
the nRF52 DK (nrf52dk_nrf52832) may be used without modification.
Hardware
********
The BMD-300/301/350 module on the board contains an internal
high-frequency oscillator at 32MHz. There is also a low frequency
(slow) oscillator of 32.768kHz. The module itself does not include
the slow crystal; however, the EVAL boards do.
.. note::
When targeting a custom design without a slow crystal,
be sure to modify code to utilize the internal RC
oscillator for the slow clock.
Supported Features
==================
The BMD-300/301/350-EVAL configuration supports the following
hardware features:
+-----------+------------+----------------------+
| Interface | Controller | Driver/Component |
+===========+============+======================+
| ADC | on-chip | adc |
+-----------+------------+----------------------+
| CLOCK | on-chip | clock_control |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
| GPIO | on-chip | gpio |
+-----------+------------+----------------------+
| I2C(M) | on-chip | i2c |
+-----------+------------+----------------------+
| MPU | on-chip | arch/arm |
+-----------+------------+----------------------+
| NVIC | on-chip | arch/arm |
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| RADIO | on-chip | Bluetooth |
+-----------+------------+----------------------+
| RTC | on-chip | system clock |
+-----------+------------+----------------------+
| RTT | Segger | console |
+-----------+------------+----------------------+
| SPI(M/S) | on-chip | spi |
+-----------+------------+----------------------+
| UART | on-chip | serial |
+-----------+------------+----------------------+
| WDT | on-chip | watchdog |
+-----------+------------+----------------------+
Other hardware features have not been enabled yet for this board.
See the `u-blox website`_ for a complete list of
BMD-300/301/350-EVAL hardware features.
Connections and IOs
===================
LED
---
* LED1 (red) = P0.17
* LED2 (red) = P0.18
* LED3 (green) = P0.19
* LED4 (green) = P0.20
* D5 (red) = OB LED 1
* D6 (green) = OB LED 2
Push buttons
------------
* BUTTON1 = SW1 = P0.13
* BUTTON2 = SW2 = P0.14
* BUTTON3 = SW3 = P0.15
* BUTTON4 = SW4 = P0.16
* BOOT = SW5 = boot/reset
External Connectors
-------------------
.. figure:: ../../../../../../../boards/u-blox/ubx_bmd300eval/doc/img/bmd-300-eval_pin_out.jpg
:align: center
:alt: BMD-300-EVAL pin-out
BMD-300-EVAL pin-out (Credit: u-blox AG)
.. note::
The BMD-300-EVAL, BMD-301-EVAL, and BMD-350-EVAL share
the same pin headers and assignments.
The BMD-300-EVAL is shown here.
.. note::
The pin numbers noted below are referenced to
the pin 1 markings on the BMD-300/301/350-EVAL
for each header
J-Link Prog Connector (J2)
+-------+--------------+
| PIN # | Signal Name |
+=======+==============+
| 1 | VDD |
+-------+--------------+
| 2 | IMCU_TMSS |
+-------+--------------+
| 3 | GND |
+-------+--------------+
| 4 | IMCU_TCKS |
+-------+--------------+
| 5 | V5V |
+-------+--------------+
| 6 | IMCU_TDOS |
+-------+--------------+
| 7 | Cut off |
+-------+--------------+
| 8 | IMCU_TDIS |
+-------+--------------+
| 9 | Cut off |
+-------+--------------+
| 10 | IMCU_RESET |
+-------+--------------+
Debug OUT (J3)
+-------+----------------+
| PIN # | Signal Name |
+=======+================+
| 1 | EXT_VTG |
+-------+----------------+
| 2 | EXT_SWDIO |
+-------+----------------+
| 3 | GND |
+-------+----------------+
| 4 | EXT_SWDCLK |
+-------+----------------+
| 5 | GND |
+-------+----------------+
| 6 | EXT_SWO |
+-------+----------------+
| 7 | N/C |
+-------+----------------+
| 8 | N/C |
+-------+----------------+
| 9 | EXT_GND_DETECT |
+-------+----------------+
| 10 | EXT_RESET |
+-------+----------------+
Auxiliary (J9)
+-------+----------------+
| PIN # | Signal Name |
+=======+================+
| 1 | P0.10 |
+-------+----------------+
| 2 | P0.09 |
+-------+----------------+
| 3 | P0.08 |
+-------+----------------+
| 4 | P0.07 |
+-------+----------------+
| 5 | P0.06 |
+-------+----------------+
| 6 | P0.05 / AIN3 |
+-------+----------------+
| 7 | P0.21 / RESET |
+-------+----------------+
| 8 | P0.01 / XL2 |
+-------+----------------+
| 9 | P0.00 / XL1 |
+-------+----------------+
| 10 | GND |
+-------+----------------+
Arduino Headers
---------------
Power (J5)
+-------+--------------+---------------------------+
| PIN # | Signal Name | BMD-300/301/350 Functions |
+=======+==============+===========================+
| 1 | VSHLD | N/A |
+-------+--------------+---------------------------+
| 2 | VSHLD | N/A |
+-------+--------------+---------------------------+
| 3 | RESET | P0.21 / RESET |
+-------+--------------+---------------------------+
| 4 | VSHLD | N/A |
+-------+--------------+---------------------------+
| 5 | V5V | N/A |
+-------+--------------+---------------------------+
| 6 | GND | N/A |
+-------+--------------+---------------------------+
| 7 | GND | N/A |
+-------+--------------+---------------------------+
| 8 | N/C | N/A |
+-------+--------------+---------------------------+
Analog in (J8)
+-------+--------------+---------------------------+
| PIN # | Signal Name | BMD-300/301/350 Functions |
+=======+==============+===========================+
| 1 | A0 | P0.03 / AIN1 |
+-------+--------------+---------------------------+
| 2 | A1 | P0.04 / AIN2 |
+-------+--------------+---------------------------+
| 3 | A2 | P0.28 / AIN4 |
+-------+--------------+---------------------------+
| 4 | A3 | P0.29 / AIN5 |
+-------+--------------+---------------------------+
| 5 | A4 | P0.30 / AIN6 |
+-------+--------------+---------------------------+
| 6 | A5 | P0.31 / AIN7 |
+-------+--------------+---------------------------+
Digital I/O (J7)
+-------+--------------+---------------------------+
| PIN # | Signal Name | BMD-300/301/350 Functions |
+=======+==============+===========================+
| 1 | D7 | P0.18/TRACEDATA[0]/SWO |
+-------+--------------+---------------------------+
| 2 | D6 | P0.17 |
+-------+--------------+---------------------------+
| 3 | D5 | P0.16/TRACEDATA[1] |
+-------+--------------+---------------------------+
| 4 | D4 | P0.15/TRACEDATA[2] |
+-------+--------------+---------------------------+
| 5 | D3 | P0.14/TRACEDATA[3] |
+-------+--------------+---------------------------+
| 6 | D2 | P0.13 |
+-------+--------------+---------------------------+
| 7 | D1 (TX) | P0.12 |
+-------+--------------+---------------------------+
| 8 | D0 (RX) | P0.11 |
+-------+--------------+---------------------------+
Digital I/O (J6)
+-------+--------------+---------------------------+
| PIN # | Signal Name | BMD-300/301/350 Functions |
+=======+==============+===========================+
| 1 | SCL | P0.27 |
+-------+--------------+---------------------------+
| 2 | SDA | P0.26 |
+-------+--------------+---------------------------+
| 3 | AREF | P0.02/AIN0 |
+-------+--------------+---------------------------+
| 4 | GND | N/A |
+-------+--------------+---------------------------+
| 5 | D13 (SCK) | P0.25 |
+-------+--------------+---------------------------+
| 6 | D12 (MISO) | P0.24 |
+-------+--------------+---------------------------+
| 7 | D11 (MOSI) | P0.23 |
+-------+--------------+---------------------------+
| 8 | D10 (SS) | P0.22 |
+-------+--------------+---------------------------+
| 9 | D9 | P0.20/TRACECLK |
+-------+--------------+---------------------------+
| 10 | D8 | P0.19 |
+-------+--------------+---------------------------+
J11
+-------+--------------+---------------------------+
| PIN # | Signal Name | BMD-300/301/350 Functions |
+=======+==============+===========================+
| 1 | D12 (MISO) | P0.24 |
+-------+--------------+---------------------------+
| 2 | V5V | N/A |
+-------+--------------+---------------------------+
| 3 | D13 (SCK) | P0.25 |
+-------+--------------+---------------------------+
| 4 | D11 (MOSI) | P0.23 |
+-------+--------------+---------------------------+
| 5 | RESET | N/A |
+-------+--------------+---------------------------+
| 6 | N/A | N/A |
+-------+--------------+---------------------------+
Programming and Debugging
*************************
Flashing
========
Follow the instructions in the :ref:`nordic_segger` page to install
and configure all the necessary software. Further information can be
found in :ref:`nordic_segger_flashing`. Then build and flash
applications as usual (see :ref:`build_an_application` and
:ref:`application_run` for more details).
Here is an example for the :ref:`hello_world` application.
First, run your favorite terminal program to listen for output.
.. code-block:: console
$ minicom -D <tty_device> -b 115200
Replace :code:`<tty_device>` with the port where the
BMD-300/301/350-EVAL can be found. For example, under Linux,
:code:`/dev/ttyACM0`.
Then build and flash the application in the usual way.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: ubx_bmd300eval/nrf52832
:goals: build flash
Debugging
=========
Refer to the :ref:`nordic_segger` page to learn about debugging
u-blox boards with a Segger J-LINK-OB IC.
Testing the LEDs and buttons in the BMD-330-EVAL
************************************************
There are 2 samples that allow you to test that the buttons
(switches) and LEDs on the board are working properly with Zephyr:
.. code-block:: console
samples/basic/blinky
samples/basic/button
You can build and flash the examples to make sure Zephyr is
running correctly on your board. The button and LED definitions
can be found in :zephyr_file:`boards/u-blox/ubx_bmd300eval/ubx_bmd300eval_nrf52832.dts`.
References
**********
.. target-notes::
.. _u-blox website: https://www.u-blox.com/en/product/bmd-3035-series-open-cpu
Part 3
한국어 전문 번역

개요
BMD-300/301/350-EVAL hardware는 BMD-300·BMD-301·BMD-350 Bluetooth 5 module을 지원하며 Nordic Semiconductor nRF52832 Cortex-M4F Arm Cortex-M4 계열 CPU를 사용합니다.
- ADC
- CLOCK
- FLASH
- GPIO
- I2C
- MPU
- NVIC
- PWM
- Bluetooth Low Energy radio
- RTC system clock
- Segger RTT console
- SPI
- UART
- WDT
하드웨어 clock
Module에는 32MHz internal high-frequency oscillator가 있습니다. 32.768kHz low-frequency oscillator도 사용하며 slow crystal은 module 자체에는 없고 EVAL board에 있습니다. Slow crystal이 없는 custom design에서는 slow clock에 internal RC oscillator를 사용하도록 code를 수정해야 합니다.
지원 기능
| Interface | Controller | Driver/Component |
|---|---|---|
| ADC | on-chip | adc |
| CLOCK | on-chip | clock_control |
| FLASH | on-chip | flash |
| GPIO | on-chip | gpio |
| I2C(M) | on-chip | i2c |
| MPU | on-chip | arch/arm |
| NVIC | on-chip | arch/arm |
| PWM | on-chip | pwm |
| RADIO | on-chip | Bluetooth |
| RTC | on-chip | system clock |
| RTT | Segger | console |
| SPI(M/S) | on-chip | spi |
| UART | on-chip | serial |
| WDT | on-chip | watchdog |
표에 없는 기능은 아직 enable되지 않았습니다.
연결과 I/O
LED
- LED1 (red) = P0.17
- LED2 (red) = P0.18
- LED3 (green) = P0.19
- LED4 (green) = P0.20
- D5 (red) = OB LED 1
- D6 (green) = OB LED 2
Push buttons
- BUTTON1 = SW1 = P0.13
- BUTTON2 = SW2 = P0.14
- BUTTON3 = SW3 = P0.15
- BUTTON4 = SW4 = P0.16
- BOOT = SW5 = boot/reset

각 표의 pin 번호는 해당 header의 pin 1 marking을 기준으로 합니다.
J-Link Prog Connector (J2)
| PIN # | Signal Name |
|---|---|
| 1 | VDD |
| 2 | IMCU_TMSS |
| 3 | GND |
| 4 | IMCU_TCKS |
| 5 | V5V |
| 6 | IMCU_TDOS |
| 7 | Cut off |
| 8 | IMCU_TDIS |
| 9 | Cut off |
| 10 | IMCU_RESET |
Debug OUT (J3)
| PIN # | Signal Name |
|---|---|
| 1 | EXT_VTG |
| 2 | EXT_SWDIO |
| 3 | GND |
| 4 | EXT_SWDCLK |
| 5 | GND |
| 6 | EXT_SWO |
| 7 | N/C |
| 8 | N/C |
| 9 | EXT_GND_DETECT |
| 10 | EXT_RESET |
Auxiliary (J9)
| PIN # | Signal Name |
|---|---|
| 1 | P0.10 |
| 2 | P0.09 |
| 3 | P0.08 |
| 4 | P0.07 |
| 5 | P0.06 |
| 6 | P0.05 / AIN3 |
| 7 | P0.21 / RESET |
| 8 | P0.01 / XL2 |
| 9 | P0.00 / XL1 |
| 10 | GND |
Arduino Power (J5)
| PIN # | Signal Name | BMD-300/301/350-EVAL Functions |
|---|---|---|
| 1 | VSHLD | N/A |
| 2 | VSHLD | N/A |
| 3 | RESET | P0.21 / RESET |
| 4 | VSHLD | N/A |
| 5 | V5V | N/A |
| 6 | GND | N/A |
| 7 | GND | N/A |
| 8 | N/C | N/A |
Arduino Analog in (J8)
| PIN # | Signal Name | BMD-300/301/350-EVAL Functions |
|---|---|---|
| 1 | A0 | P0.03 / AIN1 |
| 2 | A1 | P0.04 / AIN2 |
| 3 | A2 | P0.28 / AIN4 |
| 4 | A3 | P0.29 / AIN5 |
| 5 | A4 | P0.30 / AIN6 |
| 6 | A5 | P0.31 / AIN7 |
Arduino Digital I/O (J7)
| PIN # | Signal Name | BMD-300/301/350-EVAL Functions |
|---|---|---|
| 1 | D7 | P0.18/TRACEDATA[0]/SWO |
| 2 | D6 | P0.17 |
| 3 | D5 | P0.16/TRACEDATA[1] |
| 4 | D4 | P0.15/TRACEDATA[2] |
| 5 | D3 | P0.14/TRACEDATA[3] |
| 6 | D2 | P0.13 |
| 7 | D1 (TX) | P0.12 |
| 8 | D0 (RX) | P0.11 |
Arduino Digital I/O (J6)
| PIN # | Signal Name | BMD-300/301/350-EVAL Functions |
|---|---|---|
| 1 | SCL | P0.27 |
| 2 | SDA | P0.26 |
| 3 | AREF | P0.02/AIN0 |
| 4 | GND | N/A |
| 5 | D13 (SCK) | P0.25 |
| 6 | D12 (MISO) | P0.24 |
| 7 | D11 (MOSI) | P0.23 |
| 8 | D10 (SS) | P0.22 |
| 9 | D9 | P0.20/TRACECLK |
| 10 | D8 | P0.19 |
J11
| PIN # | Signal Name | BMD-300/301/350-EVAL Functions |
|---|---|---|
| 1 | D12 (MISO) | P0.24 |
| 2 | V5V | N/A |
| 3 | D13 (SCK) | P0.25 |
| 4 | D11 (MOSI) | P0.23 |
| 5 | RESET | N/A |
| 6 | N/A | N/A |
Programming과 debugging
Flash
Nordic Segger 도구를 설치·설정한 뒤 terminal에서 출력을 엽니다. Linux 장치 예시는 /dev/ttyACM0입니다.
$ minicom -D <tty_device> -b 115200hello_world를 build하고 flash합니다.
west build -b ubx_bmd300eval/nrf52832 samples/hello_world
west flashDebug
Segger J-LINK-OB IC를 사용하는 u-blox board debug 절차는 Zephyr의 Nordic Segger 안내를 따릅니다.
LED와 button 시험
다음 sample로 switch와 LED가 정상 동작하는지 확인합니다.
samples/basic/blinky
samples/basic/button정의는 boards/u-blox/ubx_bmd300eval/ubx_bmd300eval_nrf52832.dts에 있습니다.
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.