Part 1
요약·해설
zephyr,bt-hci-spi-slave binding, master driver와 CONFIG_BT_SPI를 설명합니다.
SPI
HCI slave
HCI SPI master
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
D9BC454E3A8CDC136EB5316DF2F90D6D728E5B00D966DB39CA465A9537B4221D
.. _bluetooth-hci-spi-sample:
Bluetooth: HCI SPI
##################
Overview
********
Expose Zephyr Bluetooth Controller support over SPI to another device/CPU using
the Zephyr SPI HCI transport protocol (similar to BlueNRG).
Requirements
************
A board with SPI slave, GPIO and Bluetooth Low Energy support.
Building and Running
********************
You then need to ensure that your :ref:`devicetree <dt-guide>` defines a node
for the HCI SPI slave device with compatible
:dtcompatible:`zephyr,bt-hci-spi-slave`. This node sets an interrupt line to
the host and associates the application with a SPI bus to use.
See :zephyr_file:`boards/nrf51dk_nrf51422.overlay
<samples/bluetooth/hci_spi/boards/nrf51dk_nrf51422.overlay>` in this sample
directory for an example overlay for the :ref:`nrf51dk_nrf51422` board.
You can then build this application and flash it onto your board in
the usual way; see :ref:`boards` for board-specific building and
flashing information.
You will also need a separate chip acting as BT HCI SPI master. This
application is compatible with the HCI SPI master driver provided by
Zephyr's Bluetooth HCI driver core; see the help associated with the
:kconfig:option:`CONFIG_BT_SPI` configuration option for more information.
Refer to :ref:`bluetooth-samples` for general Bluetooth information, and
to :ref:`96b_carbon_nrf51_bluetooth` for instructions specific to the
96Boards Carbon board.
Part 3
한국어 전문 번역
개요
BlueNRG와 비슷한 Zephyr SPI HCI transport protocol을 사용해 SPI를 통해 다른 device 또는 CPU에 Zephyr Bluetooth Controller 지원을 노출합니다.
요구사항
SPI slave, GPIO와 Bluetooth Low Energy를 지원하는 board가 필요합니다.
Build와 실행
Devicetree에는 zephyr,bt-hci-spi-slave compatible을 사용하는 HCI SPI slave device node가 있어야 합니다. 이 node는 host로 향하는 interrupt line을 설정하고 application이 사용할 SPI bus를 연결합니다.
nrf51dk/nrf51422 board용 예제 overlay는 samples/bluetooth/hci_spi/boards/nrf51dk_nrf51422.overlay를 참조하십시오.
그런 다음 일반적인 방식으로 application을 build하고 board에 flash합니다. Board별 build와 flashing 방법은 board 문서를 참조하십시오.
BT HCI SPI master 역할을 하는 별도 chip도 필요합니다. 이 application은 Zephyr Bluetooth HCI driver core가 제공하는 HCI SPI master driver와 호환되며, 자세한 내용은 CONFIG_BT_SPI configuration help를 참조하십시오.
Bluetooth 일반 정보는 Bluetooth sample section을, 96Boards Carbon 전용 절차는 해당 board의 nRF51 Bluetooth 문서를 참조하십시오.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.