GD32-E103VB-mbed development board with GD32-E103VB Chip
Table of Contents
GD32E103VB-mbed development board with GD32E103VB MCU on it, which can support Arduino. The GD32E103VB MCU is 32-bits general-purpose microcontroller which based on the ARM® Cortex™-M4F processor with FPU.
The GD32E103VB-mbed had been designed by GigaDevice. The board used GD32E103VBT6 microcontroller which belongs to the Enhanced line of GD32 MCU Family. It is a 32-bits general-purpose microcontroller based on the ARM® Cortex®-M4 RISC core with best cost-performance ratio in terms of enhanced processing capacity, reduced power consumption and peripheral set.
In order to fully use of the ARM® Cortex®-M4 core, GD32E103VBT6 can operate at 120 MHz clock frequency as well as Flash accesses zero wait states to obtain a maximum DMIPS. GD32E103VBT6 can provide up to 128 KB on-chip Flash memory, 32 KB SRAM memory, lots of peripherals and interfaces. An extensive range of enhanced I/Os and peripherals were connected to MCU’s two APB buses. The GD32E103VB-mbed also include Arduino interface which compatible with Arduino device.
- GD32E103VBT6 in LQFP100 package
- ARM® Cortex™-M4 CPU with FPU and MPU
- 120 MHz max CPU frequency
- Memory and memory expansion
- 128 Kbytes of Flash memory
- 32 Kbytes of SRAM
- Clock management
- 4 to 32 MHz High Speed crystal oscillator (HXTAL)
- Internal 8 MHz RC oscillator (IRC8M)
- Internal 48 MHz RC oscillator (IRC48M)
- 32,768 Hz Low Speed crystal oscillator (LXTAL)
- Internal 40KHz RC oscillator (IRC40K)
- PLL clock source can be HXTAL, IRC8M, IRC48M
- HXTAL clock monitor
- Clock trim controller
- Reset and supply management
- Three power domains: VBAK, VDD/VDDA and 1.2V power domains
- Three power saving modes: Sleep, Deep-sleep and Standby modes
- VDD , VDDA voltage range: 1.8V to 3.6V
- VBAk supply for RTC and backup registers
- Communication modules
- 80 general purpose I/O pins
- 3x USART modules + 2x UART modules
- 2x I2C modules
- 3x SPI modules
- 2x CAN 2.0B modules
- 2x I2S modules
- USB 2.0 FS
- 2x 16-bit basic timers
- 2x 16-bit advanced timers
- 10x 16-bit general purpose timers
- 2x watchdog timers
- Analog Modules
- 2x 12-bit ADCs with 16 channels
- 2x 12-bit DAC channels
- Security and integrity modules
- Hardware CRC calculation unit
- Embedded flash security
GD32E103VB-mbed board features¶
Following figure indicates the GD32E103VB-mbed board’s signal connections with the main components and extension connectors.
Main Feature Of The Board:¶
- Three User LEDs(LED1, LED2 and LED3)
- Three push buttons(K1, K2 and reset)
- Four modules(I2C, CAN0, CAN1 and SPI) on-board
- USB 2.0 FS with Micro connector
- LCD interface(8080)
- Arduino interface
- Power-supply options: USB 2.0 FS, DAP_Link USB and Arduino headers
Following figure indicates the GD32E103VB-mbed board’s Pinouts.
Arduino Headers Pinout¶
- GD32E103VB’s chip datasheet: http://gd32mcu.21ic.com/data/documents/shujushouce/GD32E103xx_Datasheet_Rev1.0.pdf
- Chip's User manual: http://gd32mcu.21ic.com/data/documents/shujushouce/GD32E10x_User_Manual_EN_V1.0.pdf
- GD32E103VB-mbed board’s schematic: http://gd32mcu.21ic.com/data/documents/kaifaban/GD32E103VB-MBED-V1.0.pdf
- DAPLink bin file:/media/uploads/c_jin/daplink_e103vb_if.bin
Getting Started with GD32E103VB-mbed¶
1. Configure the development environment according to the method provided on the ARM web page.
2. Connect the board and PC with USB cable. Open DOS window, change directory to locally working directory.
3. Import a program from MBED. Change directory to mbed-os-example-blinky and compile the program.
4. The image is in “.\BUILD\GD32_E103VB\ARM\mbed-os-example-blinky.bin”. Save the program binary file to your mbed Microcontroller Disk(DAPLINK). When the Reset Button is pressed, the LED1 will blink.
5. To debug using a desktop IDE such as Keil uVision, use the “mbed export” command to generate project files.
Open the project in Keil uVision, select GD32E103VB as Device. By selecting GD32E103VB as Device, we can compile and debug the mbed program after downloading it into the board.