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

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

MPNSTM32F031F4P7
Active

STMicroelectronics STM32F0 series, STM32F031F4P7, 32-bit ARM Cortex-M0 MCU, 48 MHz, 16 KB Flash, 4K x 8 RAM, I²C/SPI/UART, 15 I/O, -40 to 105°C, 20-TSSOP.

$2.8900Ref. 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

STM32F031F4P7 specifications
ParameterValue
SeriesSTM32F0
MountingSurface Mount
Oscillator typeInternal
Program memory typeFLASH
Voltage - supply (Vcc (Vdd))2V ~ 3.6V
Operating temperature-40°C ~ 105°C (TA)
Speed48MHz
PackageTube
RAM size4K x 8
Core size32-Bit Single-Core
PeripheralsDMA, I²S, POR, PWM, WDT
ConnectivityI²C, IrDA, LINbus, SPI, UART/USART
Number of i (O)15
Core processorARM® Cortex®-M0
Case20-TSSOP (0.173\", 4.40mm Width)
Data convertersA/D 12x12b
Program memory size16KB (16K x 8)

Product details

What this Cortex-M0 brings to a small-board design

On-chip peripherals include DMA, a PWM timer, I²S audio interface, and a 12-channel 12-bit ADC.

48 MHz and the memory budget — what fits

At 48 MHz the Cortex-M0 executes most instructions in a single cycle, so the 16 KB Flash can hold a modest application — a bootloader plus a main loop for sensor polling, UART command parsing, and PWM generation. The 4 KB SRAM leaves room for a couple of 1 KB buffers and a small state machine. If your firmware needs a TCP/IP stack, a USB stack, or a large lookup table, this part will feel tight; that is the trade-off for the small package and low pin count.

Active lifecycle — no end-of-life surprise

That means no last-time-buy scramble, no forced migration to a newer part mid-production. The STM32F0 series has been a workhorse for years, and ST typically supports active lines with datasheets, errata, and software libraries.

Sourcing this part: what to expect

If you are filling a BOM line for a production run or a repair, send us the quantity and target lead time, and we will quote from our multi-source network. No stock or price numbers here, but the part is not hard to find when you go through an independent distributor.

Frequently asked questions

Where can I buy STM32F031F4P7?

Submit your quantity and target lead time, and we will confirm availability and current pricing at quote time.

What is the difference between STM32F031F4P7 and STM32F031F6P7?

The main difference is Flash memory size. The F4 variant has 16 KB, while the F6 variant has 32 KB. Both share the same 48 MHz Cortex-M0 core, 20-TSSOP package, and peripheral set. Choose the F6 if your firmware needs more code space.

Can STM32F031F4P7 be used for motor control?

Yes, for simple brushless-DC or brushed-DC motor control. It has a PWM timer and a 12-bit ADC for current sensing, plus enough GPIO for Hall-effect or encoder inputs. For field-oriented control with more complex algorithms, you would want a part with more Flash and a hardware math accelerator.