STM32G031F8P6

32-bit ARM Cortex-M0+ microcontroller from ST running at 64MHz, with 64KB of flash memory. It has 18 I/O pins and a 12bit ADC, and runs from 1.7V~3.6V in a TSSOP-20 package.

ARM Cortex-M0+ 32 Bit 64MHz TSSOP-20 Microcontrollers RoHS

Maker
ST
Package
TSSOP-20
Category
ICs
Pins
20
Number of I/O
18
Operating Temperature
-40℃~+85℃
Voltage - Supply
1.7V~3.6V
CPU Maximum Speed
64MHz
Datasheet checked
Nov 28, 2026
Used in
0 open boards
LCSC
C529334

Price at LCSC

QuantityEach
1+$1.4585
10+$1.2968
30+$1.1451
100+$1.0197
500+$0.9718
1,000+$0.9504

LCSC C529334, as of Nov 27, 2026, 74 in stock then. Prices change daily; see today's on LCSC.

STM32G031F8P6 symbol1PB7/PB82PB9/PC14-OSC32_IN3PC15-OSC32_OUT4VDD/VDDA5VSS/VSSA6PF2-NRST7PA08PA19PA210PA311PA412PA513PA614PA715PB0/PB1/PB2/PA816PA11[PA9]17PA12[PA10]18PA1319PA15/PA14-BOOT020PB3/PB4/PB5/PB6

Symbol

20 pins, as the editor draws it

STM32G031F8P6 footprint, 20 pads, top view1234567891011121314151617181920

Footprint

20 pads, top view, from Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm

STM32G031F8P6, 3D model: KiCad library (Package_SO/TSSOP-20_4.4x6.5mm_P0.65mm), CC BY-SA 4.0

3D model

3D model: KiCad library (Package_SO/TSSOP-20_4.4x6.5mm_P0.65mm), CC BY-SA 4.0Download 3D model (STEP, 267 KB)

Download the STM32G031F8P6 for KiCad, Altium or EAGLE

Free, no account: the symbol and the footprint as a library of your tool, with a README of where each came from and its licence.

Symbol from the schematic of https://github.com/qsbird/smart-apo at 2de1fea (WTFPL), footprint from KiCad's library (CC-BY-SA-4.0), each credited in the README. Check the pinout and the land pattern against the datasheet before you order boards.

Datasheet
Checked
Use it in a board

STM32G031F8P6 specifications

As LCSC lists them for C529334 (STM32G031F8P6, ST), read Nov 27, 2026.

ADC (Bit)
12bit
Number of I/O
18
Operating Temperature
-40℃~+85℃
Voltage - Supply
1.7V~3.6V
Program Memory Type
FLASH
Program Storage Size
64KB
CPU Core
ARM Cortex-M0+
Core Size
32 Bit
CPU Maximum Speed
64MHz
Oscillator Type
Built-in+External
Lifecycle
normal
RoHS
Compliant

STM32G031F8P6 pinout

20 pins, as the symbol and the footprint pair them.

PinNameType
1PB7/PB8Input/output
2PB9/PC14-OSC32_INInput
3PC15-OSC32_OUTOutput
4VDD/VDDApower_in
5VSS/VSSAGround
6PF2-NRSTInput
7PA0Input/output
8PA1Input/output
9PA2Input/output
10PA3Input/output
11PA4Input/output
12PA5Input/output
13PA6Input/output
14PA7Input/output
15PB0/PB1/PB2/PA8Input/output
16PA11[PA9]Input/output
17PA12[PA10]Input/output
18PA13Input/output
19PA15/PA14-BOOT0Input/output
20PB3/PB4/PB5/PB6Input/output

Symbol, footprint and 3D model of the STM32G031F8P6

Where each came from and under which licence

What the open-source boards that use it drew it with, where each came from and under which licence.

Symbol
From the schematic of qsbird/smart-apo at 2de1fea (SmartApoRevA2:MCU20).
Licence: WTFPL · medium confidence
Footprint
From KiCad's library, Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm.
Licence: CC-BY-SA-4.0 · high confidence
3D model
From KiCad's library, Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm.
Licence: CC-BY-SA-4.0 · high confidence

Put the STM32G031F8P6 in a board.

Describe the board; Cherry Blossom picks the parts, wires the schematic, lays out the PCB and checks it.

By signing up, you agree to our Terms of Service and Privacy Policy.