GD32VF103 SoC is the first general RISC-V MCU from GigaDevice Semiconductor in the world which is based on Nuclei RISC-V Process Core.
If you want to learn more about it, please click https://www.gigadevice.com/products/microcontrollers/gd32/risc-v/
The GD32VF103 device is a 32-bit general-purpose micro controller based on the RISC-V core with best ratio in terms of processing power, reduced power consumption and peripheral set.
The RISC-V processor core is tightly coupled with an Enhancement Core-Local Interrupt Controller(ECLIC), SysTick timer and advanced debug support.
The GD32VF103 device incorporates the RISC-V 32-bit processor core operating at 108MHz frequency with Flash accesses zero wait states to obtain maximum efficiency.
It provides up to 128KB on-chip Flash memory and 32KB SRAM memory.
An extensive range of enhanced I/Os and peripherals connect to two APB buses.
The devices offer up to two 12-bit ADCs, up to two 12-bit DACs, up to four general 16-bit timers, two basic timers plus a PWM advanced timer, as well as standard and advanced communication interfaces: up to three SPIs, two I2Cs, three USARTs, two UARTs, two I2Ss, two CANs, an USBFS.
The SoC diagram can be checked as below GD32VF103 SoC Diagram
In Nuclei SDK, we support the following four boards based on GD32VF103 SoC, see:
If you want to use this GD32VF103 SoC in Nuclei SDK, you need to set the
SOC Makefile variable to
# Choose SoC to be gd32vf103 # the following command will build application # using default gd32vf103 SoC based board # defined in Build System and application Makefile make SOC=gd32vf103 all
gd32vf103SoC is a real chip, it is using Nuclei RISC-V N205 core, so the CORE is fixed to
If you want to use USB related functions of GD32VF103, you need add
USB_DRV_SUPPORT = 1in your application Makefile.
usb_conf.hfile of GD32VF103 firmware library, you can configure the USB driver.