armhub.dev
Vendors · 43 pages
Vendors

GigaDevice GD32

Beijing-based MCU vendor shipping Cortex-M0+/M3/M4/M7/M23/M33/R52 parts as pin-and-register-compatible STM32 alternatives with their own peripheral IP and aggressive pricing.

5 min read · 1,116 wordsupdated · May 13, 2026

GigaDevice Semiconductor (兆易创新) sits at an unusual intersection of the MCU market: an Arm licensee that builds its own peripheral IP, packages it into chips that are footprint-compatible with STMicroelectronics' STM32 catalogue, and sells them at a 20-40% discount with a faster lead time. The company is best known outside China for its serial NOR flash business — the GD25 family is in roughly every other consumer device — but inside China the GD32 MCU portfolio has become the default 32-bit choice for cost-sensitive industrial, white-goods, and consumer designs. The company has shipped well over a billion GD32 units since the line launched in 2013.

GigaDevice at a glance
Founded
2005, Beijing, China
IPO
Shanghai Stock Exchange (688981), August 2016
Arm IP licensed
Cortex-M3, M4, M7, M23, M33, M0+ (M0+ in GD32E230 entry parts), Cortex-R52
Flagship parts
GD32F470 (M4F, 240 MHz), GD32F4xx Ethernet, GD32F7xx (M7 200 MHz), GD32W515 (Wi-Fi + BLE)
Process node
110 nm for F1/F3, 55 nm for F4/F7/W5, mostly TSMC; newer parts on TSMC 40 nm ULP
IDE / SDK
GD32 Embedded Builder (Eclipse), Keil MDK pack, IAR EWARM pack, Segger SES, full GCC + OpenOCD support
Programming tools
GD-Link (CMSIS-DAP), J-Link, ST-Link with patched FW, ROM USART/USB-DFU bootloader
Website
gd32mcu.com (English), gigadevice.com (corporate), github.com/GigaDevice-MCU

Company and positioning

GigaDevice was founded in 2005 by Shu Qingming and Cheng Taiyi, both alumni of Spansion / Cypress. The original business was specialty memory — SPI NOR flash, then NAND, then DRAM. The MCU line started in 2013 with the GD32F103, an unmistakable clone of the STM32F103: same QFP-48 / QFP-64 / QFP-100 pinout, same peripheral register addresses, the same internal flash organisation. The 2013 part swapped the 90 nm STM32F103 process for 55 nm, which let GigaDevice push the clock from 72 MHz to 108 MHz on identical silicon area, and added a built-in serial flash controller because flash is what the company actually builds.

That formula — match the STM32 pinout and register map, swap the process, add one or two peripherals the STM32 part doesn't have, undercut the price — has produced ten generations of mainstream MCUs. The pitch is straightforward: take your existing STM32F103 firmware, change the device header, recompile, and the board works. In practice the migration is usually that simple for legacy parts, with caveats around USB enumeration, ADC sample timing, and clock-tree differences that this site documents on each family page.

The Cortex-R52 line (GD32R) marks a departure: a real-time multicore safety-island processor aimed at functional-safety automotive and industrial drives, not STM32-compatible at all.

Product family map

FamilyCoreClockFlashPosition
GD32F1Cortex-M3108 MHz16 KB..1 MBSTM32F1-compatible, the original line
GD32F3Cortex-M4F168 MHz32 KB..3 MBSTM32F3/F4-class general-purpose
GD32F4Cortex-M4F240 MHzup to 3 MBHigh-end M4, Ethernet, CAN-FD, FMC SDRAM
GD32F7Cortex-M7200 MHzup to 3 MBL1 cache, TCM, STM32F7-compatible
GD32H7Cortex-M7600 MHzup to 4 MBNewest H-class flagship (announced 2024)
GD32ECortex-M4F or M23108..180 MHzup to 512 KBEntry / efficient — E230 (M23), E50x (M4)
GD32LCortex-M2364 MHzup to 256 KBLow-power, TrustZone-M, sub-µA stop
GD32WCortex-M33180 MHzup to 2 MB + extWi-Fi + BLE wireless MCU
GD32ACortex-M33200 MHzup to 1 MBAutomotive AEC-Q100, CAN-FD
GD32CCortex-M4F108 MHzup to 128 KBCost-optimised mainstream
GD32RCortex-R52400 MHzexternalReal-time safety MCU, lockstep

The mainstream volume is in GD32F1, GD32F3, GD32F4, GD32E50x — those four cover the majority of design wins.

GD32 portfolio positioning
corememoryradioperiph
GD32F1 (M3)108 MHz · STM32F1-pin-compat · legacy mainstreamGD32F3 / F4 (M4F)168-240 MHz · FPU · ETH · CAN-FDGD32F7 / H7 (M7)200-600 MHz · L1 cache · TCM · graphicsGD32L23 / L235 (M23)64 MHz · TrustZone · LPUART · sub-µA stopGD32W51 (M33)Wi-Fi 4 + BLE 5.x · TrustZone-M · 180 MHzGD32A50x (M33)AEC-Q100 · 200 MHz · CAN-FD · gateway / body ECUGD32E230 / E50xEntry M23 or efficient M4 — mid catalogue fillGD32C10x (M4F)Cost-optimised M4 · TSSOP / QFN small packageGD32R5 (Cortex-R52)400 MHz lockstep · ASIL-B/D · drive / safety MCU
Mainstream volume is in F1/F3/F4 and E50x. The L, W, A, and R lines are newer specialised verticals that each compete against a specific STM32 sub-family (L4/U5, WB/WL, A-series, and there is no direct STM32 analogue for R52).

The STM32-compatibility trick

The compatibility story is the headline feature, and the level of compatibility varies by family. Three useful tiers:

  • Drop-in compatible — same package, same pinout, same peripheral base addresses, identical register layouts, identical bootloader. Most of GD32F1 → STM32F1 swaps fall here, as do many GD32F3 → STM32F4 swaps. Recompile against the GD32 device header and the firmware boots.
  • Source-compatible — same peripheral semantics but different register addresses or bit layouts. The HAL or LL drivers diverge, but porting against the GigaDevice firmware library is mechanical. Most GD32F4 → STM32F4 falls here for advanced peripherals.
  • Incompatible — same core, different IP block. USB OTG is the most common gotcha (GD32 uses its own USB controller, not Synopsys DWC2), as is the Ethernet MAC on some variants and the entire RCC (Reset & Clock Control) on the GD32H7.
Compatibility areaF1/F3 vs STM32F4/F7 vs STM32H7/W5/L23 vs STM32
Pinout / packageIdenticalIdenticalDifferent
GPIO / AFIOIdenticalIdenticalSimilar
USART / UARTIdenticalIdenticalSimilar
SPI / I2CIdenticalIdenticalSimilar
ADCSame registers, different sample timingSame registers, different timingDifferent controller
Timers (advanced)IdenticalIdenticalSimilar
DMA streamsIdentical layout, different request mapDifferent request mapDifferent
USB deviceDifferent IP — own controllerDifferent IPOTG-FS Synopsys on F4-class
Ethernet MACn/aSimilar to STM32F4 ETHDifferent
RCC / clock treeSimilar PLL, different multipliersDifferent PLL multipliersDifferent

Software ecosystem

The GD32 firmware library mirrors the structure of the STM32 Standard Peripheral Library (the pre-HAL ST library): gd32f4xx_gpio.c, gd32f4xx_usart.c, and so on. The function names are similar (gpio_init, usart_enable) but not identical to STM32 HAL — straightforward to port from the legacy STM32 SPL, more work from STM32 HAL.

GigaDevice also publishes:

  • GD32 Embedded Builder — Eclipse CDT based IDE, free, bundles GCC and OpenOCD with a GD-Link debug probe driver.
  • Keil MDK device family pack (DFP) and IAR EWARM device packs — official, free downloads, full register browser support.
  • Segger Embedded Studio — Nordic-style support, free for non-commercial use.
  • CMSIS-DAP compatible GD-Link — under $10 hardware probe; pyOCD and OpenOCD work.

The community ecosystem is smaller than STM32's but real. PlatformIO has board definitions for the popular GD32F103, GD32F303, GD32F407, GD32F450, and the W515 chips. Zephyr added GD32 support in version 3.3 (covers GD32F4 and GD32F3 with growing peripheral coverage). Rust embedded-hal crates exist for GD32F1 and GD32F3.

// GD32F4 GPIO blink — note the gigadevice firmware library style
#include "gd32f4xx.h"
 
int main(void) {
    rcu_periph_clock_enable(RCU_GPIOA);
 
    gpio_mode_set(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_5);
    gpio_output_options_set(GPIOA, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_5);
 
    while (1) {
        gpio_bit_toggle(GPIOA, GPIO_PIN_5);
        for (volatile uint32_t i = 0; i < 1000000; i++);
    }
}

The same code on STM32 LL would be LL_GPIO_TogglePin(GPIOA, LL_GPIO_PIN_5). Semantically identical, syntactically different — a sed script handles 90% of a port.

Manufacturing, supply, and the global story

GigaDevice fabs at TSMC for most modern parts (55 nm and 40 nm) and at SMIC for legacy 110 nm parts. Packaging is mostly done in mainland China through subcontractors. The 2021-2022 STM32 shortages — when STM32F1 lead times stretched to 50+ weeks — were the single biggest boost to the GD32 line. Procurement engineers who had never considered a second source flipped boards to GD32F103 in a quarter; many never went back.

Distribution outside China runs through Mouser, Digi-Key, LCSC (the dominant Chinese distributor), and a network of regional reps. Lead times have stabilised around 8-12 weeks for mainstream parts, comparable to or better than ST's.

Cross-references