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

ST STM32F031F6P7 ARM Cortex-M0 MCU, 48 MHz, 32 KB Flash

MPNSTM32F031F6P7
Active

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

$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

STM32F031F6P7 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 size32KB (32K x 8)

Product details

Flash and RAM sizing — what fits in 32 KB

32 KB of program Flash (32K x 8) with the Cortex-M0's Thumb-2 instruction set compresses typical control firmware to under 20 KB, leaving room for a bootloader and a modest parameter table. The 4K x 8 SRAM is the tighter resource: a 1 KB RTOS tick plus two 512-byte UART buffers consumes half of it, so any significant data logging or large lookup tables need to live in Flash and be paged. The on-chip DMA offloads peripheral transfers without CPU cycles, which helps when the RAM budget is tight.

Peripherals and I/O — 15 pins to work with

Fifteen general-purpose I/O pins in the 20-TSSOP serve up to one SPI, one I²C, and two UART/USART channels simultaneously, plus a PWM timer for motor or LED drive. The 12-bit ADC with 12 multiplexed channels covers analog sensing — current shunt, thermistor, potentiometer feedback — without an external converter. IrDA and LINbus support extend the connectivity to infrared data links and automotive local-interconnect networks, which is unusual in this pin count tier.

Active lifecycle — no last-time-buy risk

The STM32F0 series has broad second-source compatibility across ST's own portfolio, and the base product number STM32F031 shares the same die and peripheral set with the F030 and F042 variants, differing mainly in Flash density and feature mix.

Frequently asked questions

What is the footprint/package of STM32F031F6P7?

The device is supplied in a 20-TSSOP package (20-TSSOP, 0.173" body width, 4.40 mm width) with a surface-mount footprint.

Can STM32F031F6P7 replace STM32F031F4P6?

The STM32F031F6P7 is a higher-density variant of the same base product (STM32F031). It offers 32 KB Flash versus the F4's 16 KB, while sharing the same 20-TSSOP footprint, Cortex-M0 core, and peripheral set. A drop-in replacement is possible if the firmware fits the larger Flash — no board change needed.

Is STM32F031F6P7 compatible with STM32CubeMX?

Yes. STM32CubeMX includes full project generation support for the STM32F031F6P7 under the STM32F0 series. Clock tree, pin assignment, and peripheral initialization are all configurable through the graphical tool.