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

STM32F042G4U6 STM32F0 MCU, ARM Cortex-M0, 48 MHz

MPNSTM32F042G4U6
Active

STMicroelectronics STM32F042G4U6, STM32F0 series, 32-bit ARM Cortex-M0 MCU, 48 MHz, 16 KB Flash, 6 KB SRAM, USB + CAN, 24 I/O, 28-UFQFPN, -40 to 85 °C.

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

Specifications

STM32F042G4U6 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 size16KB (16K x 8)

Product details

48 MHz Cortex-M0 with USB and CAN in a 28-pin package

It packs 16 KB of Flash and 6 KB of SRAM, along with a USB 2.0 full-speed interface and a CANbus controller, all in a compact 28-UFQFPN package measuring 4x4 mm. This combination makes it a strong fit for space-constrained industrial nodes, sensor hubs, and USB-enabled control modules where cost and board area are primary constraints.

Memory and peripheral budget for control-loop designs

With 16 KB of Flash and 6 KB of SRAM, this MCU is sized for single-loop control, simple protocol stacks (USB DFU, CANopen), and sensor fusion firmware. On-chip DMA, PWM timers, and I²S support reduce CPU load for motor drive or audio sample streaming.

Connectivity options for mixed-signal fieldbus nodes

The USB interface supports DFU for firmware updates over a standard cable, while CAN enables integration into industrial automation backbones. The 24 available I/O pins are enough for a keypad, display, or encoder interface alongside the serial buses.

ST continues to manufacture the STM32F0 series, and this part is available through authorized distribution channels.

Frequently asked questions

Is STM32F042G4U6 equivalent to STM32F042G6U6?

The STM32F042G6U6 is a higher-density variant with 32 KB Flash and 6 KB SRAM, while the STM32F042G4U6 has 16 KB Flash. Both share the same 28-UFQFPN package, pinout, and peripheral set. The G6 part is a drop-in replacement if your firmware fits within the larger Flash budget.

Can I program STM32F042G4U6 with ST-Link?

Yes, the STM32F042G4U6 supports the standard SWD (Serial Wire Debug) interface used by ST-Link programmers. Connect SWDIO, SWCLK, and GND; the debug port is available on the 28-pin package. The internal bootloader also supports USB DFU for programming without a dedicated debugger.