GD32C231C-EVAL

Overview

The GD32C231C-EVAL evaluation board is a low-cost development platform for GigaDevice GD32C231C microcontroller series based on ARM Cortex-M23 core.

The GD32C231C8 features:

  • ARM Cortex-M23 processor at 48MHz maximum

  • 64KB Flash memory

  • 12KB SRAM

  • Low power operation

  • Multiple communication interfaces: UART, SPI, I2C

  • GPIO ports

  • Timer modules

  • ADC and comparator

Hardware

  • MCU: GD32C231C8T6

  • Crystal: 8MHz external crystal for HXTAL

  • LED: 4 user LEDs (LED1..LED4)

  • Debug: SWD interface

Supported Features

The gd32c231c_eval board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

gd32c231c_eval/gd32c231 target

On-target memory for this board target: 12 KiB of RAM, 64 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M23 CPU1

arm,cortex-m23

Clock control

on-chip

Gigadevice RCU - Clock Controller1

gd,gd32-cctl

Flash controller

on-chip

There are three types GD32 FMC1

gd,gd32-flash-controller

GPIO & Headers

on-chip

GD32 GPIO23

gd,gd32-gpio

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

on-chip

GigaDevice External Interrupt Controller1

gd,gd32-exti

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Multi-Function Device

on-chip

Gigadevice RCU1

gd,gd32-rcu

Miscellaneous

on-chip

GigaDevice GD32 System Configuration Registers1

gd,gd32-syscfg

MTD

on-chip

Flash memory binding of GD32 FMC v11

gd,gd32-nv-flash-v1

Pin control

on-chip

GD32 Pin Controller (AF Model)1

gd,gd32-pinctrl-af

Reset controller

on-chip

Gigadevice RCU - Reset Controller1

gd,gd32-rctl

Serial controller

on-chip

GigaDevice USART12

gd,gd32-usart

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

Connections and IOs

LED

  • LED1 = PA15

  • LED2 = PD1

  • LED3 = PD3

  • LED4 = PB4

UART

  • USART0_TX = PA9

  • USART0_RX = PA10

Programming and Debugging

The gd32c231c_eval board supports the runners and associated west commands listed below.

flash debug attach debugserver rtt reset
jlink ✅ ✅ ✅ ✅ ✅ ✅
openocd ✅ (default) ✅ (default) ✅ ✅ ✅

The GD32C231C-EVAL board includes an onboard GD-Link programmer/debugger with a CMSIS-DAP SWD interface over USB. The recommended flashing tool is GD-Link Utility Programmer, the official GigaDevice utility. OpenOCD and J-Link are also supported.

Flashing

Using OpenOCD

OpenOCD can be used with the onboard GD-Link CMSIS-DAP interface or an external SWD probe:

west build -b gd32c231c_eval samples/hello_world
west flash

Debugging

Use the onboard GD-Link interface or an external SWD probe:

west build -b gd32c231c_eval samples/hello_world
west debug

References