boards/raytac/mdbt50q_db_33/doc/index.html · boards/raytac/mdbt50q_db_33/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Raytac · nRF52833

Raytac MDBT50Q-DB-33

nRF52833 MDBT50Q-512K module의 모든 주요 interface를 검증하는 demo board입니다.

Official pathboards/raytac/mdbt50q_db_33/doc/index.html
Source fileboards/raytac/mdbt50q_db_33/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

15개 지원 interface, LED·button·UART pin, 외부 J-Link와 USB-TTL 절차, 10 kHz pin 제약을 설명합니다.

SoC

nRF52833 · Cortex-M4F

Memory

512 KB flash · 128 KB RAM

Wireless

BLE · ANT+ · Zigbee · Thread

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 DB338F4ECA375D95C2D140AD35BB3CA2D6F113D4A3532E8535F059B80C9B800C
.. _raytac_mdbt50q_db_33_nrf52833:

Raytac MDBT50Q-DB-33
####################

Overview
********

The Raytac MDBT50Q-DB-33 hardware provides support for the
Nordic Semiconductor nRF52833 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 and 802.15.4)
* :abbr:`RTC (nRF RTC System Clock)`
* Segger RTT (RTT Console)
* :abbr:`SPI (Serial Peripheral Interface)`
* :abbr:`UART (Universal asynchronous receiver-transmitter)`
* :abbr:`USB (Universal Serial Bus)`
* :abbr:`WDT (Watchdog Timer)`

.. figure:: ../../../../../../../boards/raytac/mdbt50q_db_33/doc/img/mdbt50q_db_33.jpg
     :width: 442px
     :align: center
     :alt: MDBT50Q-DB-33

More information about the board can be found at the `MDBT50Q-DB-33 website`_.
The `MDBT50Q-DB-33 Specification`_ contains the demo board's datasheet.
The `MDBT50Q-DB-33 Schematic`_ contains the demo board's schematic.

Hardware
********
- Module Demo Board build by MDBT50Q-512K
- Nordic nRF52833 SoC Solution
- A recommnded 3rd-party module by Nordic Semiconductor.
- BT5.2&BT5.1&BT5 Bluetooth Specification Cerified
- Supports BT5 Long Range Features
- Cerifications: FCC, IC, CE, Telec(MIC), KC, SRRC, NCC, RCM, WPC
- 32-bit ARM® Cortex™ M4F CPU
- 512kB Flash Memory/128kB RAM
- RoHs & Reach Compiant.
- 42 GPIO
- Chip Antenna
- Interfaces: SPI, UART, I2C, I2S, PWM, ADC, NFC, and USB
- Highly flexible multiprotocol SoC ideally suited for Bluetooth® Low Energy, ANT+, Zigbee, Thread (802.15.4) ultra low-power wireless applications.
- 3 User LEDs
- 4 User buttons
- 1 Mini USB connector for power supply and USB communication
- SWD connector for FW programing
- J-Link interface for FW programing
- UART interface for UART communication

Supported Features
==================

The raytac_mdbt50q_db_33/nrf52833 board 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,           |
|           |            | ieee802154           |
+-----------+------------+----------------------+
| RTC       | on-chip    | system clock         |
+-----------+------------+----------------------+
| RTT       | Segger     | console              |
+-----------+------------+----------------------+
| SPI(M/S)  | on-chip    | spi                  |
+-----------+------------+----------------------+
| UART      | on-chip    | serial               |
+-----------+------------+----------------------+
| USB       | on-chip    | usb                  |
+-----------+------------+----------------------+
| WDT       | on-chip    | watchdog             |
+-----------+------------+----------------------+

Other hardware features have not been enabled yet for this board.
See `MDBT50Q-DB-33 website`_ and `MDBT50Q-DB-33 Specification`_
for a complete list of Raytac MDBT50Q-DB-33 board hardware features.

Connections and IOs
===================

LED
---

* LED1 (green) = P0.13
* LED2 (red) = P0.14
* LED3 (blue) = P0.15

Push buttons
------------

* BUTTON1 = SW1 = P0.11
* BUTTON2 = SW2 = P0.12
* BUTTON3 = SW3 = P0.24
* BUTTON4 = SW4 = P0.25

UART
----
* RXD = P0.08
* TXD = P0.06
* RTS = P0.05
* CTS = P0.07

Programming and Debugging
*************************

Applications for the ``raytac_mdbt50q_db_33/nrf52833`` board configuration can be
built, flashed, and debugged in the usual way. See :ref:`build_an_application` and
:ref:`application_run` for more details on building and running.

.. note::
   Flashing and Debugging Zephyr onto the raytac_mdbt50q_db_33/nrf52833 board
   requires an	external J-Link programmer. The programmer is attached to the J1
   or J9 SWD connector.

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.

Use a USB to TTL converter to connect the computer and raytac_mdbt50q_db_33/nrf52833
J10 connector. Then 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 USB to TTL converter
can be found. For example, under Linux, :code:`/dev/ttyUSB0`.

Then build and flash the application in the usual way.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: raytac_mdbt50q_db_33/nrf52833
   :goals: build flash

Debugging
=========

The ``raytac_mdbt50q_db_33/nrf52833`` board does not have an on-board-J-Link debug IC,
however, instructions from the :ref:`nordic_segger` page also apply to this board.
Use the Debug out connector of nRF52x DK to connect to the J1 connector, and use SEGGER
J-Link OB IF to debug.

Testing the LEDs and buttons in the Raytac MDBT50Q-DB-33
********************************************************

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/raytac/mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.dts`.

Selecting the pins
==================

Pins can be configured in the board pinctrl file. To see the available mappings,
open the `MDBT50Q-DB-33 Specification`_, chapter 2.5 'Pin Assignment'.
Select the pins marked 'General-purpose I/O'. Note that pins marked as 'low-frequency I/O
only' can only be used in under-10KHz applications. They are not suitable for SPI, I2C,
UART, and PWM.

References
**********

.. target-notes::

.. _MDBT50Q-DB-33 website:
	https://www.raytac.com/product/ins.php?index_id=97
.. _MDBT50Q-DB-33 Specification:
	https://www.raytac.com/download/index.php?index_id=46
.. _MDBT50Q-DB-33 Schematic:
	https://www.raytac.com/upload/catalog_b/407c1150fa33511a47e8a2f85d106ff3.jpg
.. _J-Link Software and documentation pack:
	https://www.segger.com/jlink-software.html

Part 3

한국어 전문 번역

개요

Raytac MDBT50Q-DB-33 hardware는 Nordic Semiconductor nRF52833 ARM Cortex-M4F CPU와 다음 장치를 지원합니다.

  • ADC (Analog-to-Digital Converter)
  • CLOCK
  • FLASH
  • GPIO (General Purpose Input/Output)
  • I2C (Inter-Integrated Circuit)
  • MPU (Memory Protection Unit)
  • NVIC (Nested Vectored Interrupt Controller)
  • PWM (Pulse Width Modulation)
  • RADIO (Bluetooth Low Energy 및 802.15.4)
  • RTC (nRF RTC system clock)
  • SEGGER RTT (RTT console)
  • SPI (Serial Peripheral Interface)
  • UART (Universal asynchronous receiver-transmitter)
  • USB (Universal Serial Bus)
  • WDT (Watchdog Timer)
MDBT50Q-DB-33
MDBT50Q-DB-33

보드의 자세한 정보는 MDBT50Q-DB-33 website에서 확인할 수 있습니다. MDBT50Q-DB-33 specification에는 demo board datasheet가, MDBT50Q-DB-33 schematic에는 회로도가 있습니다.

하드웨어

  • MDBT50Q-512K으로 만든 module demo board
  • Nordic nRF52833 SoC solution
  • Nordic Semiconductor가 권장하는 third-party module
  • Bluetooth 5.2, 5.1, 5 specification 인증
  • Bluetooth 5 Long Range feature 지원
  • FCC, IC, CE, Telec(MIC), KC, SRRC, NCC, RCM, WPC 인증
  • 32-bit ARM® Cortex™-M4F CPU
  • 512 KB flash memory / 128 KB RAM
  • RoHS 및 REACH 준수
  • 42 GPIO
  • Chip antenna
  • SPI, UART, I2C, I2S, PWM, ADC, NFC, USB interface
  • Bluetooth® Low Energy, ANT+, Zigbee, Thread(802.15.4) 초저전력 wireless application에 적합한 유연한 multiprotocol SoC
  • User LED 3개
  • User button 4개
  • 전원 공급 및 USB 통신용 Mini USB connector 1개
  • Firmware programming용 SWD connector
  • Firmware programming용 J-Link interface
  • UART 통신용 UART interface

지원 기능

raytac_mdbt50q_db_33/nrf52833 board configuration은 다음 hardware feature를 지원합니다.

인터페이스컨트롤러드라이버/컴포넌트
ADCon-chipadc
CLOCKon-chipclock_control
FLASHon-chipflash
GPIOon-chipgpio
I2C(M)on-chipi2c
MPUon-chiparch/arm
NVICon-chiparch/arm
PWMon-chippwm
RADIOon-chipBluetooth, ieee802154
RTCon-chipsystem clock
RTTSeggerconsole
SPI(M/S)on-chipspi
UARTon-chipserial
USBon-chipusb
WDTon-chipwatchdog

그 밖의 hardware feature는 아직 이 보드에서 활성화되지 않았습니다. 전체 목록은 MDBT50Q-DB-33 website와 MDBT50Q-DB-33 specification을 참고합니다.

연결과 I/O

LED

  • LED1(green) = P0.13
  • LED2(red) = P0.14
  • LED3(blue) = P0.15

Push button

  • BUTTON1 = SW1 = P0.11
  • BUTTON2 = SW2 = P0.12
  • BUTTON3 = SW3 = P0.24
  • BUTTON4 = SW4 = P0.25

UART

  • RXD = P0.08
  • TXD = P0.06
  • RTS = P0.05
  • CTS = P0.07

프로그래밍과 디버깅

raytac_mdbt50q_db_33/nrf52833용 application은 일반적인 방법으로 build, flash, debug할 수 있습니다. 자세한 build와 실행 방법은 Zephyr의 application build/run 문서를 따릅니다.

플래시

Zephyr Nordic SEGGER 문서에 따라 필요한 software를 설치하고 구성한 뒤 평소와 같이 application을 build하고 flash합니다. 다음은 hello_world 예입니다.

USB-to-TTL converter로 computer와 raytac_mdbt50q_db_33/nrf52833의 J10 connector를 연결하고 terminal program으로 출력을 수신합니다.

$ minicom -D <tty_device> -b 115200

<tty_device>를 USB-to-TTL converter가 나타나는 port로 바꿉니다. Linux에서는 예를 들어 /dev/ttyUSB0입니다. 그런 다음 application을 build하고 flash합니다.

west build -b raytac_mdbt50q_db_33/nrf52833 samples/hello_world
west flash

디버깅

raytac_mdbt50q_db_33/nrf52833 board에는 on-board J-Link debug IC가 없지만 Zephyr Nordic SEGGER 지침을 그대로 적용할 수 있습니다. nRF52x DK의 Debug out connector를 J1 connector에 연결하고 SEGGER J-Link OB interface로 debug합니다.

MDBT50Q-DB-33 LED와 button 시험

다음 두 sample로 보드의 button(switch)과 LED가 Zephyr에서 올바르게 동작하는지 시험할 수 있습니다.

samples/basic/blinky
samples/basic/button

Example을 build하고 flash해 Zephyr가 보드에서 제대로 실행되는지 확인할 수 있습니다. Button과 LED definition은 boards/raytac/mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.dts에 있습니다.

Pin 선택

Pin은 board pinctrl file에서 구성할 수 있습니다. 가능한 mapping은 MDBT50Q-DB-33 specification의 2.5절 “Pin Assignment”를 엽니다. “General-purpose I/O”로 표시된 pin을 선택합니다. “low-frequency I/O only”로 표시된 pin은 10 kHz 미만 application에서만 사용할 수 있으며 SPI, I2C, UART, PWM에는 적합하지 않습니다.

참고 자료

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.