STM32F042G6Ux

The STM32F042G6Ux is a microcontroller built around an ARM Cortex CPU, with flash memory, a full-speed USB interface and a calendar RTC with alarm. It runs a board's program and handles its inputs and outputs. It comes in a QFN-28 4x4mm package.

STMicroelectronics Arm Cortex-M0 MCU, 32KB flash, 6KB RAM, 48 MHz, 2.0-3.6V, 23 GPIO, UFQFPN28

Maker
STMicroelectronics
Package
QFN-28_4x4mm_P0.5mm
Category
ICs
Pins
28
Datasheet checked
Nov 28, 2026
Used in
0 open boards
STM32F042G6Ux symbol1PB82PF03PF14NRST5VDDA6PA07PA18PA29PA310PA411PA512PA613PA714PB015PB116VSSA17VDD18VDDIO219PA9/PA1120PA10/PA1221PA1322PA1423PA1524PB325PB426PB527PB628PB7

Symbol

28 pins, as the editor draws it

STM32F042G6Ux footprint, 36 pads, top view112345677889101112131414151516171819202121222223242526272828

Footprint

36 pads, top view, from Package_DFN_QFN:QFN-28_4x4mm_P0.5mm

Download the STM32F042G6Ux 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.

From KiCad's own library, under CC BY-SA 4.0 with KiCad's exception for designs: a board you make with it is yours. Check the pinout and the land pattern against the datasheet before you order boards.

Datasheet
Checked
Use it in a board

STM32F042G6Ux pinout

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

PinNameType
1PB8Input/output
2PF0Input/output
3PF1Input/output
4NRSTInput
5VDDApower_in
6PA0Input/output
7PA1Input/output
8PA2Input/output
9PA3Input/output
10PA4Input/output
11PA5Input/output
12PA6Input/output
13PA7Input/output
14PB0Input/output
15PB1Input/output
16VSSAGround
17VDDpower_in
18VDDIO2power_in
19PA9/PA11Input/output
20PA10/PA12Input/output
21PA13Input/output
22PA14Input/output
23PA15Input/output
24PB3Input/output
25PB4Input/output
26PB5Input/output
27PB6Input/output
28PB7Input/output

Put the STM32F042G6Ux 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.