Introduction
For designers of STM32 microcontroller applications, being able to replace one microcontroller type with another from the same
product family easily is an important asset. Migrating an application to a different microcontroller is often needed when product
requirements grow, putting extra demands on memory size, optimizing power consumption, security, or the number of I/Os. The
cost reduction objectives may also be an argument to switch to smaller components and shrink the PCB area.
This application note analyzes the steps required to migrate an existing design between the STM32G0 and STM32U0 series.
Three aspects must be considered for the migration: hardware, peripherals, and firmware.
STM32U0 and STM32G0 are based on similar platforms and share the same core, architecture, and peripherals, resulting in
easy and fast firmware migration. For hardware migration, a redesign of the PCB is necessary.
This document lists the full set of features available for the STM32G0 series and the equivalent features on the STM32U0 series
(some products may have fewer features depending on their part number).
To benefit fully from this application note, the user must be familiar with the STM32 microcontroller documentation available on
www.st.com, with a particular focus on the documents listed in Reference documents.
Migrating between STM32G0 and STM32U0 MCUs
AN6226
Application note
AN6226 - Rev 1 - January 2025
For further information contact your local STMicroelectronics sales office.
www.st.com
1 General information
The STM32U0 and STM32G0 MCUs are 32bit microcontrollers based on the Arm
®
Cortex
®
M0+ processor.
Note: Arm and Cortex are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
Reference documents
[1] Datasheet STM32G030x6/x8 (DS12991)
[2] Datasheet STM32G050x6/x8 (DS13514)
[3] Datasheet STM32G070CB/KB/RB (DS12766)
[4] Datasheet STM32G0B0KE/CE/RE/VE (DS13565)
[5] Datasheet STM32G031x4/x6/x8 (DS12992)
[6] Datasheet STM32G051x6/x8 (DS13303)
[7] Datasheet STM32G071x8/xB (DS12232)
[8] Datasheet STM32G0B1xB/xC/xE (DS13560)
[9] Datasheet STM32G041x6/x8 (DS12993)
[10] Datasheet STM32G061x6/x8 (DS13513)
[11] Datasheet STM32G081xB (DS12231)
[12] Datasheet STM32G0C1xC/xE (DS13564)
[13] Datasheet STM32U083xC (DS14463)
[14] Datasheet STM32U073x8/B/C (DS14548)
[15] Datasheet STM32U031x4/6/8 (DS14581)
[18]
Reference Manual STM32G0x1 advanced Arm
®
-based 32-bit MCUs (RM0444)
[19]
Reference Manual STM32G0x0 advanced Arm
®
-based 32-bit MCUs (RM0454)
[20]
Reference Manual STM32U0 series advanced Arm
®
-based 32-bit MCUs (RM0503)
AN6226
General information
AN6226 - Rev 1
page 2/24