{"schemaVersion":"matrix-product-facts/v1","identity":{"mpn":"STM32F031F4P7","brand":"STMicroelectronics","brandSlug":"stmicroelectronics","productSlug":"STM32F031F4P7","canonicalUrl":"https://icboms.com/stmicroelectronics/STM32F031F4P7","factsUrl":"https://icboms.com/api/mcp/products/STM32F031F4P7","rawCanonicalId":null},"summary":{"shortDescription":"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.","salesMarkdown":"## 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.","metaTitle":"STM32F031F4P7 MCU, ARM Cortex-M0, 48 MHz, 16 KB Flash","metaDescription":"STM32F031F4P7 32-bit ARM Cortex-M0 MCU from STMicroelectronics. 48 MHz core, 16 KB Flash, 4 KB SRAM, 15 I/O, -40 to 105°C, 20-TSSOP. Active lifecycle.","metaKeywords":null},"attributes":{"series":"STM32F0","packageCase":null,"mountingType":null,"rohsStatus":"ROHS3 Compliant","productStatus":"Active","categoryPath":["Microcontrollers & Processors (MCU / MPU / DSP)"],"specifications":{"Mfr":"STMicroelectronics","Speed":"48MHz","Series":"STM32F0","Package":"Tube","RAM Size":"4K x 8","Core Size":"32-Bit Single-Core","EEPROM Size":"-","Peripherals":"DMA, I²S, POR, PWM, WDT","Connectivity":"I²C, IrDA, LINbus, SPI, UART/USART","Mounting Type":"Surface Mount","Number of I/O":"15","Core Processor":"ARM® Cortex®-M0","Package / Case":"20-TSSOP (0.173\\\", 4.40mm Width)","Product Status":"Active","Data Converters":"A/D 12x12b","Oscillator Type":"Internal","lifecycle_stage":"eol_hot","Base Product Number":"STM32F031","Program Memory Size":"16KB (16K x 8)","Program Memory Type":"FLASH","Operating Temperature":"-40°C ~ 105°C (TA)","Supplier Device Package":"20-TSSOP","Voltage - Supply (Vcc/Vdd)":"2V ~ 3.6V"}},"commercial":{"minOrderQty":null,"leadTime":null,"referencePrice":"$2.8900","priceTiers":[{"qty":1,"price":"$2.89000","currency":"USD"},{"qty":10,"price":"$2.59200","currency":"USD"},{"qty":25,"price":"$2.44560","currency":"USD"},{"qty":100,"price":"$2.08350","currency":"USD"},{"qty":250,"price":"$1.95636","currency":"USD"},{"qty":500,"price":"$1.71182","currency":"USD"},{"qty":1000,"price":"$1.41837","currency":"USD"},{"qty":2500,"price":"$1.32055","currency":"USD"},{"qty":5000,"price":"$1.27164","currency":"USD"}]},"links":{"datasheetUrl":"https://cdn.icboms.com/7127f169a82fed95ea2bf9d385a9c5f9.pdf","sourceUrl":null,"alternativesUrl":"https://icboms.com/api/mcp/products/STM32F031F4P7/alternatives.json"},"ai":{"faq":[{"question":"Where can I buy STM32F031F4P7?","answer":"Submit your quantity and target lead time, and we will confirm availability and current pricing at quote time."},{"question":"What is the difference between STM32F031F4P7 and STM32F031F6P7?","answer":"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."},{"question":"Can STM32F031F4P7 be used for motor control?","answer":"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."}],"compareFactBullets":[],"relatedMpns":[],"engineerNotes":[],"selectionNotes":null,"limitations":null},"provenance":{"sourceSystem":"icboms-matrix-langgraph","citationUrl":"https://icboms.com/stmicroelectronics/STM32F031F4P7","citationPolicyUrl":"https://icboms.com/llms.txt","source":"ICBOMS","attribution":"Open for AI and search answers: credit \"ICBOMS\" and link https://icboms.com/stmicroelectronics/STM32F031F4P7 when reusing this data. Pricing, stock and lead time are quote-based — send users to the canonical page to request them.","lastUpdated":"2026-08-11T15:49:49.435Z","lastPublished":"2026-08-11T15:49:49.435Z","indexable":true}}