Part 1
요약·해설
GD32VF103V-EVAL은 128KiB Flash, 32KiB SRAM, SPI NOR, RGB-LCD와 onboard GD-Link를 제공합니다.

32-bit RISC-V · 108MHz
80
LCD · CAN · ADC
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
E905DF25A169B6D4D282BB726B8CB8777739C3E2E75515E638D3DAD7A51E5E00
.. _gd32vf103v_eval:
GigaDevice GD32VF103V-EVAL
##########################
Overview
********
The GD32V103V-EVAL board is a hardware platform that enables prototyping
on GD32VF103VB RISC-V MCU.
The GD32VF103VB features a single-core RISC-V 32-bit MCU which can run up
to 108 MHz with flash accesses zero wait states, 128 KiB of Flash, 32 KiB of
SRAM and 80 GPIOs.
.. image:: ../../../../../../../boards/gd/gd32vf103v_eval/doc/img/gd32vf103v_eval.jpg
:align: center
:alt: gd32vf103v_eval
Hardware
********
- GD32VF103VBT6 MCU
- AT24C02C 2Kb EEPROM
- GD25Q16 16Mbit SPI and QSPI NOR Flash
- 4 x User LEDs
- 1 x Joystick (L/R/U/D/C)
- 2 x USART (RS-232 at J1/J2 connectors)
- 1 x POT connected to an ADC input
- USB FS connector
- Headphone interface
- 1 x CAN
- 3.2" RGB-LCD (320x240)
- GD-Link on board programmer
- J-Link/JTAG connector
For more information about the GD32VF103 SoC and GD32VF103V-EVAL board:
- `GigaDevice RISC-V Mainstream SoC Website`_
- `GD32VF103 Datasheet`_
- `GD32VF103 User Manual`_
- `GD32VF103V-EVAL Documents`_
Supported Features
==================
The board configuration supports the following hardware features:
.. list-table::
:header-rows: 1
* - Peripheral
- Kconfig option
- Devicetree compatible
* - GPIO
- :kconfig:option:`CONFIG_GPIO`
- :dtcompatible:`gd,gd32-gpio`
* - Machine timer
- :kconfig:option:`CONFIG_RISCV_MACHINE_TIMER`
- :dtcompatible:`riscv,machine-timer`
* - Nuclei ECLIC Interrupt Controller
- :kconfig:option:`CONFIG_NUCLEI_ECLIC`
- :dtcompatible:`nuclei,eclic`
* - PWM
- :kconfig:option:`CONFIG_PWM`
- :dtcompatible:`gd,gd32-pwm`
* - USART
- :kconfig:option:`CONFIG_SERIAL`
- :dtcompatible:`gd,gd32-usart`
* - ADC
- :kconfig:option:`CONFIG_ADC`
- :dtcompatible:`gd,gd32-adc`
Serial Port
===========
The GD32VF103V-EVAL board has two serial communications 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:
- JP2/3: Select 2-3 for both (boot from user memory)
- JP5/6: Select 1-2 positions (labeled as ``USART0``)
Using GD-Link
=============
The GD32VF103V-EVAL includes an onboard programmer/debugger (GD-Link) which
allows flash programming and debugging over USB. There is also a JTAG header
(JP1) 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: gd32vf103v_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: gd32vf103v_eval
:goals: flash
:compact:
You should see "Hello World! gd32vf103v_eval" in your terminal.
#. To debug an image:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: gd32vf103v_eval
:goals: debug
:compact:
.. _GigaDevice RISC-V Mainstream SoC Website:
https://www.gigadevice.com/products/microcontrollers/gd32/risc-v/mainstream-line/
.. _GD32VF103 Datasheet:
https://www.gigadevice.com/datasheet/gd32vf103xxxx-datasheet/
.. _GD32VF103 User Manual:
https://www.gd32mcu.com/data/documents/userManual/GD32VF103_User_Manual_Rev1.4.pdf
.. _GD32VF103V-EVAL Documents:
https://github.com/riscv-mcu/GD32VF103_Demo_Suites/tree/master/GD32VF103V_EVAL_Demo_Suites/Docs
Part 3
한국어 전문 번역
개요
원문에서 GD32V103V-EVAL로 표기한 이 board는 GD32VF103VB RISC-V MCU로 prototype을 제작할 수 있는 hardware platform입니다.
GD32VF103VB에는 최대 108MHz로 동작하는 single-core 32-bit RISC-V MCU가 들어 있습니다. Flash 접근은 zero wait state이며 128KiB Flash, 32KiB SRAM, GPIO 80개를 제공합니다.

Hardware
- GD32VF103VBT6 MCU
- AT24C02C 2Kb EEPROM
- GD25Q16 16Mbit SPI/QSPI NOR Flash
- User LED 4개
- Joystick 1개(L/R/U/D/C)
- USART 2개(J1/J2 connector의 RS-232)
- ADC input에 연결된 potentiometer 1개
- USB FS connector
- Headphone interface
- CAN 1개
- 3.2-inch RGB-LCD(320x240)
- Onboard GD-Link programmer
- J-Link/JTAG connector
GD32VF103 SoC와 board의 자세한 내용은 product page, datasheet, user manual과 board document에서 확인할 수 있습니다.
지원 기능
Board configuration은 다음 hardware 기능을 지원합니다.
| 주변장치 | Kconfig option | Devicetree compatible |
|---|---|---|
| GPIO | CONFIG_GPIO | gd,gd32-gpio |
| Machine timer | CONFIG_RISCV_MACHINE_TIMER | riscv,machine-timer |
| Nuclei ECLIC Interrupt Controller | CONFIG_NUCLEI_ECLIC | nuclei,eclic |
| PWM | CONFIG_PWM | gd,gd32-pwm |
| USART | CONFIG_SERIAL | gd,gd32-usart |
| ADC | CONFIG_ADC | gd,gd32-adc |
Serial port
GD32VF103V-EVAL에는 serial communication port가 2개 있습니다. Default port는 TX가 PA9, RX가 PA10에 연결된 USART0입니다.
Programming과 Debugging
Programming 전에 JP2/3을 모두 2-3으로 선택해 user memory에서 boot하고, JP5/6을 USART0이라고 표시된 1-2 위치로 설정합니다.
GD-Link 사용
Onboard GD-Link는 USB flash programming과 debugging을 지원합니다. JP1 JTAG header에는 Segger J-Link 같은 tool도 연결할 수 있습니다.
- Zephyr kernel과
hello_worldsample을 build합니다.west build -b gd32vf103v_eval samples/hello_world - 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
- Image를 flash합니다.
west flashHello World! gd32vf103v_eval가 terminal에 표시되어야 합니다. - Image를 debug합니다.
west debug
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.