boards/gd/gd32f350r_eval/doc/index.html · boards/gd/gd32f350r_eval/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · GigaDevice

GigaDevice GD32F350R-EVAL

108MHz Cortex-M4F와 display·analog peripheral을 갖춘 evaluation board입니다.

Official pathboards/gd/gd32f350r_eval/doc/index.html
Source fileboards/gd/gd32f350r_eval/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

GD32F350R-EVAL은 128kB Flash, 16kB SRAM과 onboard GD-Link를 제공합니다.

GD32F350R-EVAL
GD32F350R-EVAL.
CPU

Cortex-M4F · 108MHz

Memory

128kB Flash · 16kB SRAM

Debug

GD-Link · J-Link/SWD

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 7E250C0A70B15ED8C515498CAE91432ACFAB16E58ACCD473B18E2C94C3433DBF
.. _gd32f350r_eval:

GigaDevice GD32F350R-EVAL
#########################

Overview
********

The GD32F350R-EVAL board is a hardware platform that enables design and debug
of the GigaDevice F350 Cortex-M4F High Performance MCU.

The GD32F350RBT6 features a single-core ARM Cortex-M4F MCU which can run up
to 108-MHz with flash accesses zero wait states, 128kB of Flash, 16kB of
SRAM and 55 GPIOs.

.. image:: ../../../../../../../boards/gd/gd32f350r_eval/doc/img/gd32f350r_eval.webp
     :align: center
     :alt: gd32f350r_eval

Hardware
********

- GD32F350RBT6 MCU
- AT24C02C 2Kb EEPROM
- 4 x User LEDs
- 4 x User Push buttons
- 1 x USART (RS-232 at J2 connector)
- 1 x POT connected to an ADC input
- Headphone interface
- Micro SD Card Interface
- 2.4'' TFT-LCD (36x48)
- GD-Link on board programmer
- J-Link/SWD connector

For more information about the GD32F350 SoC and GD32F350R-EVAL board:

- `GigaDevice Cortex-M4F Stretch Performance SoC Website`_
- `GD32F350xx Datasheet`_
- `GD32F3x0 User Manual`_
- `GD32F350R-EVAL User Manual`_

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

The board configuration supports the following hardware features:

.. list-table::
   :header-rows: 1

   * - Peripheral
     - Kconfig option
     - Devicetree compatible
   * - NVIC
     - N/A
     - :dtcompatible:`arm,v7m-nvic`
   * - SYSTICK
     - N/A
     - N/A
   * - USART
     - :kconfig:option:`CONFIG_SERIAL`
     - :dtcompatible:`gd,gd32-usart`
   * - PINMUX
     - :kconfig:option:`CONFIG_PINCTRL`
     - :dtcompatible:`gd,gd32-pinctrl-af`
   * - ADC
     - :kconfig:option:`CONFIG_ADC`
     - :dtcompatible:`gd,gd32-adc`

Serial Port
===========

The GD32F350R-EVAL board has one serial communication port. The default port
is USART0 with TX connected at PA9 and RX at PA10.

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

Before programming your board make sure to configure boot and serial jumpers as follows:

- J4:  Select 2-3 for both (labeled as ``L``)
- J13: Select 1-2 position (labeled as ``USART``)

Using GD-Link
=============

The GD32F350R-EVAL includes an onboard programmer/debugger (GD-Link) which
allows flash programming and debugging over USB. There is also a SWD header
(J3) which can be used with tools like Segger J-Link.

#. Build the Zephyr kernel and the :ref:`hello_world` sample application:

   .. zephyr-app-commands::
      :zephyr-app: samples/hello_world
      :board: gd32f350r_eval
      :goals: build
      :compact:

#. Run your favorite terminal program to listen for output. On Linux the
   terminal should be something like ``/dev/ttyUSB0``. For example:

   .. code-block:: console

      minicom -D /dev/ttyUSB0 -o

   The -o option tells minicom not to send the modem initialization
   string. Connection should be configured as follows:

      - Speed: 115200
      - Data: 8 bits
      - Parity: None
      - Stop bits: 1

#. To flash an image:

   .. zephyr-app-commands::
      :zephyr-app: samples/hello_world
      :board: gd32f350r_eval
      :goals: flash
      :compact:

   You should see "Hello World! gd32f350r_eval" in your terminal.

#. To debug an image:

   .. zephyr-app-commands::
      :zephyr-app: samples/hello_world
      :board: gd32f350r_eval
      :goals: debug
      :compact:

.. _GigaDevice Cortex-M4F Stretch Performance SoC Website:
   https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m4/stretch-performance-line/

.. _GD32F350xx Datasheet:
   http://gd32mcu.com/download/down/document_id/133/path_type/1

.. _GD32F3x0 User Manual:
   http://gd32mcu.com/download/down/document_id/136/path_type/1

.. _GD32F350R-EVAL User Manual:
   https://www.tme.com/Document/ff0a3609934053c07d78ef8662781da9/GD32350R-EVAL%20User%20Manual-V1.0.pdf

Part 3

한국어 전문 번역

개요

GD32F350R-EVAL board는 GigaDevice F350 Cortex-M4F high-performance MCU를 사용하는 설계와 debugging을 지원하는 hardware platform입니다.

GD32F350RBT6에는 최대 108MHz로 동작하는 single-core ARM Cortex-M4F MCU가 들어 있습니다. Flash 접근은 zero wait state이며 128kB Flash, 16kB SRAM, GPIO 55개를 제공합니다.

GD32F350R-EVAL
GigaDevice GD32F350R-EVAL board.

Hardware

  • GD32F350RBT6 MCU
  • AT24C02C 2Kb EEPROM
  • User LED 4개
  • User push button 4개
  • USART 1개(J2 connector의 RS-232)
  • ADC input에 연결된 potentiometer 1개
  • Headphone interface
  • Micro SD card interface
  • 2.4-inch TFT-LCD(36x48)
  • Onboard GD-Link programmer
  • J-Link/SWD connector

GD32F350 SoC와 board의 자세한 내용은 product page, datasheet와 user manual에서 확인할 수 있습니다.

지원 기능

Board configuration은 다음 hardware 기능을 지원합니다.

주변장치Kconfig optionDevicetree compatible
NVICN/Aarm,v7m-nvic
SYSTICKN/AN/A
USARTCONFIG_SERIALgd,gd32-usart
PINMUXCONFIG_PINCTRLgd,gd32-pinctrl-af
ADCCONFIG_ADCgd,gd32-adc

Serial port

GD32F350R-EVAL에는 serial communication port가 1개 있습니다. Default port는 TX가 PA9, RX가 PA10에 연결된 USART0입니다.

Programming과 Debugging

Programming 전에 boot와 serial jumper를 다음과 같이 설정합니다.

  • J4: 두 jumper 모두 L이라고 표시된 2-3 선택
  • J13: USART라고 표시된 1-2 위치 선택

GD-Link 사용

Onboard programmer/debugger인 GD-Link는 USB를 통한 flash programming과 debugging을 지원합니다. J3 SWD header에는 Segger J-Link 같은 tool도 연결할 수 있습니다.

  1. Zephyr kernel과 hello_world sample을 build합니다.
    west build -b gd32f350r_eval samples/hello_world
  2. Linux의 /dev/ttyUSB0 같은 terminal에서 output을 받습니다.
    minicom -D /dev/ttyUSB0 -o

    -o는 modem initialization string을 보내지 않습니다. Connection 설정은 다음과 같습니다.

    • Speed: 115200
    • Data: 8 bits
    • Parity: None
    • Stop bits: 1
  3. Image를 flash합니다.
    west flash

    Hello World! gd32f350r_eval이 표시되어야 합니다.

  4. Image를 debug합니다.
    west debug

참고 자료

Source

출처

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