Part 1
요약·해설
비표준 A1 CS와 D3 SCK 선택, J14·R76/R86 변경 및 CMake shield 설정을 설명합니다.
BlueNRG-M2SP
v5.2
HCI-SPI
Arduino A1
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
40E7984FFEE48EF2C8EA7F92A5F9F86AD6C9AD1BA26E00AFFD88333965CB5965
.. _x_nucleo_bnrg2a1:
X-NUCLEO-BNRG2A1: BLE expansion board
#####################################
Overview
********
The X-NUCLEO-BNRG2A1 is a Bluetooth Low Energy evaluation board based on the
BlueNRG-M2SP RF module to allow expansion of the STM32 Nucleo boards.
The BlueNRG-M2SP module is FCC (FCC ID: S9NBNRGM2SP) and IC certified
(IC: 8976C-BNRGM2SP).
The X-NUCLEO-BNRG2A1 is compatible with the ST Morpho and Arduino UNO R3
connector layout (the user can mount the ST Morpho connectors, if required). The
X-NUCLEO-BNRG2A1 interfaces with the host microcontroller via the SPI pins, and
the user can change the default SPI clock, the SPI chip select and SPI IRQ by
changing either one resistor or jumper on the evaluation board.
Note : This shield is compatible out of the box with Arduino UNO R3 connectors,
but CS signal is not the standard Arduino SPI_CS signal.
Please refer to "Hardware configuration" section.
.. image:: ../../../../../../../boards/shields/x_nucleo_bnrg2a1/doc/img/x-nucleo-bnrg2a1.webp
:align: center
:alt: X-NUCLEO-BNRG2A1
More information about the board can be found at the
`X-NUCLEO-BNRG2A1 website`_.
Hardware configuration
**********************
Out of the box, X-NUCLEO-BNRG2A1 shield expects SPI CS to be available on
Arduino pin A1 instead of usual Arduino UNO R3 SPI CS D10.
This is not a problem as CS signal is software driven gpio on Arduino A1
see cs-gpios in x_nucleo_bnrg2a1.overlay
Shield configuration could be modified by moving resistors or changing jumper as
follows:
- SPI SCK: to use D3 instead of D13, short J14 pins 2 and 3
Additionally, depending on your host board, some modifications of the BLE
expansion board could be made:
- CS: To use D1 instead of A1, unmount R76 and mount R86
nucleo_l476rg does not need hardware modifications.
Hardware
********
X-NUCLEO-BNRG2A1 provides a BlueNRG-M2SP chip with the following key features:
- Bluetooth v5.2 compliant
- Embedded BALF-NRG-02D3 integrated matched balun with harmonic filter
- BLE data packet length extension
More information about X-NUCLEO-BNRG2A1 can be found here:
- `X-NUCLEO-BNRG2A1 databrief`_
Programming
***********
You can use the X-NUCLEO-BNRG2A1 as a Bluetooth Low-Energy controller
shield with an SPI host controller interface (HCI-SPI). Activate the presence
of the shield for the project build by adding the ``--shield`` arg to the
build command:
.. zephyr-app-commands::
:zephyr-app: your_app
:board: your_board_name
:shield: x_nucleo_bnrg2a1
:goals: build
Alternatively, set use of this shield in the project's ``CMakeLists.txt`` file:
.. code-block:: cmake
set(SHIELD x_nucleo_bnrg2a1)
References
**********
.. target-notes::
.. _X-NUCLEO-BNRG2A1 website:
https://www.st.com/en/ecosystems/x-nucleo-bnrg2a1.html
.. _X-NUCLEO-BNRG2A1 databrief:
https://www.st.com/resource/en/data_brief/x-nucleo-bnrg2a1.pdf
Part 3
한국어 전문 번역
개요
X-NUCLEO-BNRG2A1은 STM32 Nucleo board 확장을 위한 BlueNRG-M2SP RF module 기반 Bluetooth Low Energy 평가 보드입니다. Module은 FCC(S9NBNRGM2SP) 및 IC(8976C-BNRGM2SP) 인증을 받았습니다.
ST Morpho 및 Arduino UNO R3 connector layout과 호환되며 필요하면 ST Morpho connector를 장착할 수 있습니다. Host MCU와 SPI로 통신하고 resistor 또는 jumper 하나를 변경해 기본 SPI clock, chip select와 IRQ를 바꿀 수 있습니다.

Hardware configuration
- SPI SCK를 D13 대신 D3에서 사용하려면
J14pin 2와 3을 short합니다. - CS를 A1 대신 D1에서 사용하려면
R76을 제거하고R86을 장착합니다.
nucleo_l476rg는 hardware modification이 필요하지 않습니다.
하드웨어
BlueNRG-M2SP의 주요 기능:
- Bluetooth v5.2 준수
- Harmonic filter를 갖춘 embedded BALF-NRG-02D3 integrated matched balun
- BLE data packet length extension
프로그래밍
SPI HCI(HCI-SPI)를 사용하는 Bluetooth Low Energy controller shield로 사용할 수 있습니다.
west build -b your_board_name --shield x_nucleo_bnrg2a1 your_app또는 project CMakeLists.txt에 다음을 설정합니다.
set(SHIELD x_nucleo_bnrg2a1)
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.