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

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

MPNSTM32F042F4P6
Active

STMicroelectronics STM32F0 series, STM32F042F4P6, ARM Cortex-M0, 32-Bit Single-Core, 48MHz, 16KB (16K x 8) FLASH, 6K x 8 RAM, 20-TSSOP, -40°C ~ 85°C.

$2.9400Ref. price · indicative, final on quote
Packaging20-TSSOP (0.173", 4.40mm Width)
RoHSROHS3 Compliant
SeriesSTM32F0
Independent supplier — new & surplus stockAuthenticity-screened · ESD-safe packingListing updated Aug 2026

Specifications

STM32F042F4P6 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
PackageTube
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)16
Core processorARM® Cortex®-M0
Case20-TSSOP (0.173\", 4.40mm Width)
Data convertersA/D 12x12b
Program memory size16KB (16K x 8)

Product details

The STM32F042F4P6: The 16 available I/O lines and a peripheral set that includes CAN, USB, I²C, SPI, and multiple UARTs give it more connectivity than the pin count suggests — useful for compact sensor nodes, USB dongles, or simple control panels where board area is the constraint, not the feature list.

With 16 KB of Flash and 6 KB of RAM, this MCU targets applications where the firmware fits in a modest footprint — think bootloader plus a single application loop, not a full RTOS with multiple stacks. The 48 MHz Cortex-M0 core can handle real-time control tasks like brushless DC motor commutation or basic sensor fusion, but the memory ceiling means the developer needs to watch stack depth and buffer allocation. The 12-channel 12-bit ADC adds analog input capability without external converters, saving board space and BOM cost.

Industrial temperature range and active lifecycle

The lifecycle status is Active, meaning ST continues to manufacture and support this part with no announced end-of-life. For procurement, this removes the urgency of a last-time-buy and makes the part a safe choice for production programs that will run for several years. The base product number is STM32F042, which shares the same die and peripheral set across the F042x4/x6 density options — a pin-compatible migration path if firmware grows beyond 16 KB.

Frequently asked questions

How much flash memory does STM32F042F4P6 have?

The STM32F042F4P6 has 16 KB of Flash program memory (16K x 8). This is the total on-chip non-volatile storage for firmware and constant data.

What are the alternatives to STM32F042F4P6?

A functionally similar part is the STM32L151CBU6A, which uses an ARM Cortex-M3 core at 32 MHz with more I/O (37) and a larger feature set including a DAC and capacitive sensing. However, the STM32L151 is a different pinout (UFQFPN-48) and targets lower-power applications. For a pin-compatible upgrade within the same STM32F042 family, the STM32F042F6P6 offers 32 KB Flash in the same 20-TSSOP package.