Independent distributor of active ICs, microcontrollers & semiconductors for OEM, EMS and distributors
PartVaneICs & Semiconductors
STM32G031G8U6 UFQFPN28 (4 x 4 mm, 0.5 mm pitch) packageRepresentative package image. See datasheet for exact dimensions.

STM32G031G8U6

Arm Cortex-M0+ MCU, 64 MHz, 64 KB Flash, 8 KB SRAM, 26 I/Os, 1.7-3.6 V, UFQFPN28 4 x 4 mm

ManufacturerSTMicroelectronics
CategoryMicrocontrollers
SeriesSTM32G0
PackageUFQFPN28 (4 x 4 mm, 0.5 mm pitch)
LifecycleProduction (per datasheet)
DatasheetSTM32G031G8U6 PDF
AvailabilityConfirmed in quotation

Related guide: STM32F103C8T6 Alternatives and Equivalents: ST Family Options and Second Sources

  • Free DHL / FedEx / UPS shipping, no fixed MOQ
  • Real part photos + date code with every quote
  • Owner quotes on WhatsApp within 2 h (business hours)
Request Quote

STM32G031G8U6 Datasheet PDF

Official STMicroelectronics datasheet. Quotes include unit price, available quantity, lead time and photos of the actual parts with the date code.

STM32G031G8U6 pinout (UFQFPN28)

STM32G031G8U6 is supplied in a UFQFPN28 (4 x 4 mm, 0.5 mm pitch) package (open STM32G031G8U6 datasheet PDF). Pin numbers from the UFQFPN28 column of Table 12 in the ST datasheet. Names in square brackets are the pin-remap alternatives; after reset PA13 and PA14 are SWD pins and PA14-BOOT0 also selects the boot source.

PinNameFunction
1PC14-OSC32_IN32 kHz crystal input (or GPIO)
2PC15-OSC32_OUT32 kHz crystal output (or GPIO)
3VDD / VDDADigital and analog supply, 1.7-3.6 V
4VSS / VSSAGround
5PF2-NRSTReset input (PF2 when reset function is disabled)
6PA0GPIO
7PA1GPIO, ADC_IN1
8PA2GPIO, USART2_TX, TIM2_CH3
9PA3GPIO, ADC_IN3, TIM2_CH4, LPUART1_RX
10PA4GPIO, ADC_IN4, SPI2_MOSI, TIM14_CH1
11PA5GPIO, ADC_IN5, TIM2_CH1_ETR
12PA6GPIO, ADC_IN6, TIM3_CH1, TIM1_BK
13PA7GPIO, ADC_IN7, TIM3_CH2, TIM1_CH1N
14PB0GPIO, ADC_IN8, TIM3_CH3, TIM1_CH2N
15PB1GPIO, ADC_IN9
16PA8GPIO
17PC6GPIO, TIM3_CH1, TIM2_CH3
18PA11 [PA9]GPIO, ADC_IN15, USART1_CTS, TIM1_CH4
19PA12 [PA10]GPIO, ADC_IN16
20PA13SWDIO after reset
21PA14-BOOT0SWCLK after reset; BOOT0 selection
22PA15GPIO, USART2_RX, TIM2_CH1_ETR
23PB3GPIO
24PB4GPIO, TIM3_CH1, USART1_CTS
25PB5GPIO, TIM3_CH2, TIM16_BK, WKUP6
26PB6GPIO, 5 V tolerant, Fast-mode Plus capable
27PB7GPIO, ADC_IN11, PVD_IN, TIM17_CH1N
28PB8GPIO, SPI2_SCK, TIM16_CH1, I2C1_SCL

Source: ST DS12992 Rev 4 (Jun 2025), STM32G031x4/x6/x8 datasheet: Table 2 (features), Table 12 (pin assignment), Section 7 (ordering information). Always check the footprint against the latest datasheet revision before layout.

STM32G031G8U6 Overview

The STM32G031G8U6 is the 28-pin member of ST's STM32G031 mainstream Cortex-M0+ line. It combines a 64 MHz core, 64 KB of Flash and 8 KB of SRAM with 26 GPIOs in a 4 x 4 mm UFQFPN28 package, which is the smallest body in the family that still brings out a full set of I/O. The G031 differs from the older STM32F030 value line by running from 1.7 V instead of 2.4 V, adding a low-power UART, and the 28-pin leadless package suits compact boards. Because the footprint is a leadless QFN-type land pattern, buyers should confirm that their board is laid out for UFQFPN28 and not for LQFP32 or TSSOP20.

Key Features

  • Arm Cortex-M0+ core with MPU, up to 64 MHz
  • 64 KB Flash with protection and securable area, 8 KB SRAM with hardware parity
  • Supply 1.7 V to 3.6 V with POR/PDR, programmable BOR and PVD
  • 26 GPIOs in UFQFPN28, multiple 5 V-tolerant I/Os
  • 2x USART (one with ISO7816, LIN, IrDA), 1x low-power UART, 2x I2C Fast-mode Plus, SPI up to 32 Mbit/s
  • 12-bit, 0.4 µs ADC with hardware oversampling up to 16-bit
  • 11 timers incl. a 128 MHz-capable 16-bit advanced-control timer, 5-channel DMA, calendar RTC

Applications

  • Small appliances and BLDC / fan control
  • Battery-powered handheld devices
  • Smart sensors and IoT edge nodes
  • Replacement of 8-bit and Cortex-M0 designs that need less board area

What does each character in STM32G031G8U6 stand for? The STM32 part number decoder splits it into pin count, flash size, package and temperature range, using the ordering table in ST's datasheet.

STM32G031 family: pin counts and order codes

All STM32G031x8 parts share the same 64 KB Flash, 8 KB SRAM, 64 MHz core and 1.7-3.6 V supply. The fifth character of the order code sets the pin count, and the package letter decides the land pattern, so two G031 parts with the same Flash size are not footprint compatible unless the letters match.

Order codePinsPackageGPIOsFlash
STM32G031F8P620TSSOP201864 KB
STM32G031G8U628UFQFPN28 (4 x 4 mm)2664 KB
STM32G031K8T6 / K8U632LQFP32 / UFQFPN323064 KB
STM32G031C8T6 / C8U648LQFP48 / UFQFPN484464 KB

How to read the STM32G031G8U6 order code

STM32 G 031 G 8 U 6: G = general-purpose, 031 = STM32G031, G = 28 pins (J = 8, Y = 18, F = 20, K = 32, C = 48), 8 = 64 KB Flash (6 = 32 KB, 4 = 16 KB), U = UFQFPN (T = LQFP, P = TSSOP, Y = WLCSP, M = SO8N), 6 = -40 to 85 °C (7 = 105 °C, 3 = 125 °C). Optional suffix: TR = tape and reel, blank = tray.

Source: ST DS12992 Rev 4 (Jun 2025), STM32G031x4/x6/x8 datasheet: Table 2 (features), Table 12 (pin assignment), Section 7 (ordering information).

STM32G031G8U6 Specifications

Part NumberSTM32G031G8U6
ManufacturerSTMicroelectronics
CategoryMicrocontrollers
SeriesSTM32G0
CoreArm Cortex-M0+
Max frequency64 MHz
Flash64 KB
SRAM8 KB (hardware parity)
Supply voltage1.7 V to 3.6 V
GPIOs26
ADC12-bit, 0.4 µs, up to 16-bit with oversampling
Communication2x USART, 1x LPUART, 2x I2C, SPI
PackageUFQFPN28, 4 x 4 mm
Operating temperature-40 °C to 85 °C ambient (suffix 6)

Values from the STMicroelectronics datasheet (ST DS12992 Rev 4 (Jun 2025), STM32G031x4/x6/x8 datasheet). Confirm against the latest datasheet before design-in.

Buying STM32G031G8U6: what to confirm

  • U in the order code means UFQFPN28, a leadless package; it will not fit an LQFP32 or TSSOP20 footprint.
  • Temperature grade is the last digit before any suffix: 6 = -40 to 85 °C, 7 = -40 to 105 °C, 3 = -40 to 125 °C. Confirm it matches your BOM.
  • PA11 and PA12 are the default pins; PA9 and PA10 can be remapped onto them (bracket notation in the pin table). Check this if you port USART1 firmware from a 20- or 32-pin G031.

Request price and lot details

STM32G031G8U6 Alternatives & Equivalents

Part NumberManufacturerCompatibilityRFQ
STM32G030C8T6STSame Cortex-M0+ at 64 MHz with 64 KB Flash in LQFP48; different footprint and fewer peripheralsRFQ
STM32G030F6P6STSmaller TSSOP20 version of the G0 line, 32 KB Flash; different footprintRFQ

Alternatives are for reference. Verify pinout, electrical characteristics and firmware against each datasheet before substituting.

STM32G031G8U6 FAQ

Who manufactures STM32G031G8U6?

STM32G031G8U6 is manufactured by STMicroelectronics and belongs to the STM32G0 series. It is listed under Microcontrollers.

What is STM32G031G8U6?

STM32G031G8U6: Arm Cortex-M0+ MCU, 64 MHz, 64 KB Flash, 8 KB SRAM, 26 I/Os, 1.7-3.6 V, UFQFPN28 4 x 4 mm.

What is the STM32G031G8U6 package?

UFQFPN28, a 4 x 4 mm leadless quad flat package with 0.5 mm pitch (ST DS12992 section 6.5). The "G" in the order code means 28 pins and the "U" means UFQFPN.

Where are the SWD pins on STM32G031G8U6?

PA13 (SWDIO) is pin 20 and PA14-BOOT0 (SWCLK after reset) is pin 21. NRST is pin 5 and the combined supply pin VDD/VDDA is pin 3.

How much Flash and RAM does STM32G031G8U6 have?

64 KB of Flash and 8 KB of SRAM with hardware parity check, with 26 GPIOs in the 28-pin package.

Where can I download the STM32G031G8U6 datasheet?

The STMicroelectronics datasheet for STM32G031G8U6 is linked in the Datasheet section of this page (https://www.st.com/resource/en/datasheet/stm32g031g8.pdf).

How do I get a price for STM32G031G8U6?

Send the quantity and target delivery date by WhatsApp (+86 139 3944 9974), the form on this page or sales@partvane.com. Quotes state unit price, the quantity we can supply, lead time and photos of the actual parts with the date code.

STM32G031G8U6Check stockRequest Quote