Las month, Olimex discovered a Chinese company called GigaDevice has made an STM32 clone called GD32 and compatible with STM32F103, but with higher core frequency (108MHz). Olimex has now posted an update after receiving a letter from GigaDevice, and trying GD32F103RBT6 MCU on their own STM32F103 boards. The company explained that GD32 was their own implementation, and claimed rights on GD32 trademarks, while Olimex discovered than GD32 was working just fine on their board having passed “all functional tests without any modifications”, and with all the same development tools and software code running fine.
GD32F103xx datasheet (PDF / English version) can be downloaded to find a few more details:
The GD32F103xx device incorporates the ARM Cortex-M3 32-bit processor core operating at 108 MHz frequency with Flash accesses zero wait states to obtain maximum efficiency. It provides up to 3 MB on-chip Flash memory and up to 96 KB SRAM memory. An extensive range of enhanced I/Os and peripherals connected to two APB buses. The devices offer up to three 12-bit ADCs, up to two 12-bit DACs, up to ten general-purpose 16-bit timers, two basic timers plus two PWM advanced-control timer, as well as standard and advanced communication interfaces: up to three SPIs, two I2Cs, three USARTs, two UARTs, two I2Ss, an USB 2.0 FS, a CAN and a SDIO.
The device operates from a 2.6 to 3.6 V power supply and available in –40 to +85 °C temperature range. Several power saving modes provide the flexibility for maximum optimization between wakeup latency and power consumption, an especially important consideration in low power applications.
Roger Clark also found out the board previously, and added support for GD32 to Arduino STM32. He also noticed that beside the fast clock speed, the zero wait state internal flash also provided performance improvements with GD32 delivering 64.41 VAX MIPS against 48.81 VAX MIPS when both MCUs are clocked at the same 72 MHz frequency.
The tests were done on the GD32F103 board above, which can be purchased for 15 RMB (~$2.3 US) on Taobao. I also looked for GD32 board on Aliexpress, but the MCU does not appear to be very popular outside of China, and I only found one $12.75 GD32 + WiFi board. If you are based in China you have more more choice here and there with evaluation boards with LCD displays selling for 281 RMB (~$44 US) and up. You can also purchase various version of GD32 MCUs directly for $0.70 to $2.80 on Taobao.
Visit GigaDevice GD32 product page for some more details.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
4 Replies to “GigaDevice GD32 is a Faster, Software and Pin-to-pin STM32 Compatible Cortex M3 MCU”
I guess as long as you are not using STM32 standard libraries the code is portable?
Gd32 has drop in replacement standard library?
The STM32 ones are about $3 shipped on ebay now, eg
The “Blue Pill” STM32F103C8T6 boards are down to US$ 2.05 on eBay and US$ 1.66 on AliExpress. However it’s hard to locate the GD32F103C8T6 boards, even on taobao. I cannot find the board in the picture. The only boards I can find on taobao are these: https://world.taobao.com/item/543727383239.htm and looking at the price (¥ 18.50) the Blue Pills are cheaper.
From what I’ve read online, it seems the boards with GigaDevice chips only have been available for a short time, and after that, only the bare chips are available.
Hello! I have a question. Did you try and check can? I ‘m trying now, but only error signal can be seen. If you have any information, please let me know.