Introduction to GD32 Series

GigaDevice GD32 series microcontrollers are based on ARM Cortex-M3, Cortex-M4, Cortex-M23, and Cortex-M33 cores. The series offers pin-to-pin and code compatibility with STM32 in many cases, while delivering significant cost advantages and better supply availability.

GD32 Series Overview

GD32F1 Series: Entry-level Cortex-M3 at 72MHz, 16-512KB Flash, basic peripherals. Ideal for cost-sensitive control applications, appliances, and simple industrial controls.

GD32F3 Series: Mainstream Cortex-M4 at 120MHz with DSP/FPU, 32-1024KB Flash, enhanced peripherals including USB OTG. Suitable for motor control, digital power, and signal processing.

GD32F4 Series: High-performance Cortex-M4 at 240MHz, 512KB-3MB Flash, advanced peripherals including Ethernet and camera interface. Designed for complex applications, HMI, and industrial gateways.

GD32E23 Series: Ultra-low-power Cortex-M23 at 72MHz, 16-64KB Flash, 4-8KB SRAM. Perfect for battery-powered sensors and IoT endpoints with 2uA standby current.

GD32A Series: Automotive-grade MCUs with AEC-Q100 qualification for automotive applications.

Performance Comparison

FeatureGD32F1GD32F3GD32F4GD32E23
CoreCortex-M3Cortex-M4Cortex-M4Cortex-M23
Frequency72MHz120MHz240MHz72MHz
DMIPS9015030090
Flash16-512KB32-1024KB512KB-3MB16-64KB
SRAM4-96KB8-96KB128-256KB4-8KB
USBFS DeviceFS OTGHS+FS OTG-
Ethernet--10/100 MAC-

Peripheral Selection

Evaluate your application requirements:

Motor Control: GD32F3/F4 with advanced timers, dead-time insertion, dual ADC simultaneous sampling

Connectivity: GD32F4 with Ethernet MAC, USB OTG, multiple UARTs for gateway applications

Analog: All series offer 12-bit ADCs (GD32F3/F4 have up to 3 ADCs)

Low Power: GD32E23 with 2uA standby, multiple low-power modes

Graphics: GD32F4 with TFT-LCD interface and camera interface

Package Options

GD32 MCUs are available in packages from 32-pin to 176-pin:

  • QFN32/QFN48: Compact, cost-effective for space-constrained designs
  • LQFP48/LQFP64: Good balance of I/O and ease of assembly
  • LQFP100/LQFP144: High I/O count for complex applications
  • LQFP176/BGA176: Maximum I/O and advanced features

Migration from STM32

GD32F series offers pin-to-pin compatibility with STM32F series:

  • Hardware: Verify pin compatibility (most GD32F1/F3/F4 match STM32F1/F3/F4)
  • Clock: GD32 often supports higher frequencies (GD32F4 at 240MHz vs STM32F4 at 168MHz)
  • Peripherals: Review register differences (GigaDevice provides comparison docs)
  • Software: Minimal code changes required, review startup files
  • Typical migration effort: 1-2 days for simple projects, 1-2 weeks for complex applications.

    Development Ecosystem

    GigaDevice provides comprehensive development support:

    • IDEs: Keil MDK, IAR EWARM, GCC (Eclipse, VS Code)
    • SDK: GD32 Firmware Library with HAL and LL drivers
    • Debug: GD-Link, J-Link, ST-Link (for GD32F1/F3)
    • RTOS: FreeRTOS, RT-Thread, AliOS Things support
    • Examples: Peripheral demos, application templates

    Selection Checklist

  • Define processing requirements (MIPS, DSP needs)
  • Calculate memory needs (Flash for code, SRAM for data)
  • List required peripherals (USB, Ethernet, ADC channels, timers)
  • Determine package constraints (PCB space, I/O count)
  • Consider power requirements (battery vs mains powered)
  • Evaluate supply and cost targets
  • Conclusion

    GD32 MCUs offer excellent performance-to-price ratio with comprehensive peripheral options. The series provides a migration path from STM32 with significant cost savings. As an authorized distributor, we provide evaluation boards, technical support, and migration assistance.