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

STM32F042G4U6TR ARM Cortex-M0 MCU, 48MHz, 16KB Flash

MPNSTM32F042G4U6TR
Active

STMicroelectronics STM32F042G4U6TR, ARM Cortex-M0 32-bit MCU, 48MHz, 16KB Flash, 6KB RAM, USB 2.0, CAN, 28-UFQFPN 4x4mm, -40 to 85°C.

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

Specifications

STM32F042G4U6TR 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
PackageTape & Reel (TR); Cut Tape (CT)
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

Cortex-M0 MCU with USB and CAN in a 4x4 mm QFN

It packs 16 KB of Flash and 6 KB of SRAM in a compact 28-UFQFPN package measuring 4x4 mm. The part includes a USB 2.0 full-speed device controller, a CAN 2.0B interface, and an integrated 12-bit ADC with 13 channels.

48 MHz Cortex-M0 — enough for sensor fusion and USB control loops

The 48 MHz core speed is the ceiling for this entry-level Cortex-M0. That is sufficient for sensor polling at a few kilohertz, USB control-endpoint handling, and CAN message processing at 1 Mbps. The flash wait state needs to be set to 1 before running above 24 MHz; the internal oscillator gets you started without an external crystal. The 6 KB SRAM is the tight resource. A USB CDC class with two 64-byte endpoints plus a CAN message object buffer leaves about 4 KB for application variables. If your firmware uses a real-time OS, budget the kernel footprint — FreeRTOS with a few queues fits, but dynamic allocation is tight.

28-UFQFPN 4x4 mm — layout checklist

Stitch at least four vias from the pad to the ground plane; without them, junction temperature rises quickly above 50 mA continuous I/O drive. Decouple with a 100 nF ceramic within 2 mm of each VDD/VSS pair — the 1.65 V minimum supply leaves little margin for supply droop during flash reads.

Active production — no near-term supply risk

The base product number STM32F042 covers multiple Flash and RAM density options in the same package footprint, giving a migration path within the family if firmware grows beyond 16 KB.

Frequently asked questions

Where can I buy STM32F042G4U6TR?

This part is available to order through independent distribution. Submit a request for a firm quote with your target quantity.

Does STM32F042G4U6TR have a pin-compatible alternative with more memory?

The STM32F042 family includes higher-density siblings such as the STM32F042G6 (32 KB Flash, 6 KB RAM) in the same 28-UFQFPN package. These are pin-compatible and software-compatible, offering a straightforward upgrade path if firmware exceeds 16 KB. No second-source from another manufacturer is documented.

What peripherals are available on this part?

The STM32F042G4U6TR includes USB 2.0 full-speed device, CAN 2.0B, two SPI/I²S, two I²C, USART with IrDA and LIN support, HDMI-CEC, a 12-bit ADC with 13 channels, DMA, PWM timers, POR, and a watchdog timer. The USB and CAN interfaces make it suitable for industrial fieldbus and consumer connectivity applications.