Skip to main content
STMicroelectronics STM32F042G6U7 — Microcontrollers & Processors (MCU / MPU / DSP)

STM32F042G6U7 STM32F0 ARM Cortex-M0 MCU, 48 MHz, 32 KB Flash

MPNSTM32F042G6U7
Active

STMicroelectronics STM32F042G6U7, ARM Cortex-M0 32-Bit Single-Core MCU, 48 MHz, 32 KB Flash, 6K x 8 RAM, CANbus, USB 2.0, I²C, SPI, UART, 24 I/O, -40 to 105 °C, 28-UFQFPN 4x4 mm.

$1.7793Ref. price · indicative, final on quote
Independent supplier — new & surplus stockAuthenticity-screened · ESD-safe packingListing updated Jul 2026

Specifications

STM32F042G6U7 specifications
ParameterValue
SeriesSTM32F0
MountingSurface Mount
Oscillator typeInternal
Program memory typeFLASH
Voltage - supply (Vcc (Vdd))1.65V ~ 3.6V
Operating temperature-40°C ~ 105°C (TA)
Speed48MHz
PackageTray
RAM size6K x 8
Core size32-Bit Single-Core
PeripheralsDMA, I²S, POR, PWM, WDT
ConnectivityCANbus, HDMI-CEC, I²C, IrDA, LINbus, SPI, UART/USART, USB
Number of i (O)24
Core processorARM® Cortex®-M0
Case28-UFQFN
Data convertersA/D 13x12b
Program memory size32KB (32K x 8)

Product details

The 28-pin UFQFPN package (4x4 mm) keeps the board footprint small, and the 24 general-purpose I/Os are enough for a handful of sensor inputs, a few PWM outputs, and a serial debug header.

Memory budget and endurance reality

32 KB of Flash and 6 KB of SRAM are tight by modern standards. The Flash is rated for 1,000 program/erase cycles typical across the STM32F0 family — enough for a firmware-updatable product that sees a handful of field updates over its life, but not a wear-leveled data logger. Budget the ECC in your application layer if you are writing to the same Flash sector repeatedly; the 6 KB SRAM leaves about 4 KB for runtime buffers after the stack and RTOS kernel, so any large USB or CAN packet queue needs careful sizing.

The pad is also the only ground return for the USB transceiver, so keep the via pattern dense and the inductance low.

Frequently asked questions

What is the difference between the STM32F042G6U7 and the STM32F042G6U6?

Both share the same 48 MHz Cortex-M0 core, 32 KB Flash, 6 KB SRAM, USB and CAN peripherals, and 28-UFQFPN package. The U7 variant is the one to specify if your end equipment sees ambient temperatures above 85 °C.

Can the STM32F042G6U7 replace the STM32F042G4U7?

Yes, it is a pin-compatible drop-in replacement with double the Flash (32 KB vs 16 KB) and the same 6 KB SRAM, peripheral set, and package. The G4 variant has 16 KB Flash; the G6 has 32 KB. If your firmware fits in 16 KB, the G4 is a lower-cost option, but the G6 gives headroom for future feature additions.