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

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

MPNSTM32F042G6U6
Active

STMicroelectronics STM32F0 series STM32F042G6U6, ARM Cortex-M0 32-bit MCU, 48 MHz, 32 KB Flash, 6 KB RAM, USB 2.0, CAN, I²C, SPI, 24 I/O, 1.65-3.6 V, -40 to 85 °C, 28-UFQFPN.

$3.1600Ref. price · indicative, final on quote
Packaging28-UFQFN
RoHSROHS3 Compliant
SeriesSTM32F0
Independent supplier — new & surplus stockAuthenticity-screened · ESD-safe packingListing updated Aug 2026

Specifications

STM32F042G6U6 specifications
ParameterValue
SeriesSTM32F0
MountingSurface Mount
Oscillator typeInternal
Program memory typeFLASH
Voltage - supply (Vcc (Vdd))1.65V ~ 3.6V
Operating temperature-40°C ~ 85°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

48 MHz Cortex-M0 with USB and CAN in a 4x4 mm package

The STM32F042G6U6: It packs 32 KB of Flash and 6 KB of SRAM, with a peripheral set that includes USB, CANbus, I²C, SPI, and multiple UARTs — all in a 28-pin UFQFPN package measuring 4x4 mm.

Memory budget and peripheral fit

With 32 KB of program Flash and 6 KB of RAM, this MCU targets control applications with moderate firmware — motor commutation, sensor fusion, USB dongle firmware, or CAN gateway logic. The USB peripheral with dedicated 48 MHz oscillator support simplifies full-speed device implementation, and the CAN interface connects directly to automotive or industrial bus networks.

For layouts, stitch vias under the pad to the ground plane — without them, thermal resistance climbs and the junction temperature limits continuous operation above 70°C ambient. The 24 I/O pins include 5 V-tolerant inputs, so level shifting is not needed for legacy 5 V logic interfaces.

Frequently asked questions

Does STM32F042G6U6 have an equivalent part?

The STM32L151CBU6A is a functional alternative from the STM32L1 series, but it runs a Cortex-M3 core at 32 MHz, lacks USB and CAN, and comes in a larger 48-pin package. It is not a pin-compatible drop-in — the peripheral set and footprint differ.

Is STM32F042G6U6 RoHS compliant?

Yes, the STM32F042G6U6 is ROHS3 compliant per the manufacturer's specification.

Can STM32F042G6U6 be used with ST-Link?

Yes, the STM32F042G6U6 supports the standard Serial Wire Debug (SWD) interface used by ST-Link programmers. Connect SWDIO, SWCLK, and GND — the debug port is available on the 28-pin package.