{"schemaVersion":"matrix-product-facts/v1","identity":{"mpn":"STM32F031F6P7","brand":"STMicroelectronics","brandSlug":"stmicroelectronics","productSlug":"STM32F031F6P7","canonicalUrl":"https://icboms.com/stmicroelectronics/STM32F031F6P7","factsUrl":"https://icboms.com/api/mcp/products/STM32F031F6P7","rawCanonicalId":null},"summary":{"shortDescription":"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.","salesMarkdown":"## 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.","metaTitle":"ST STM32F031F6P7 ARM Cortex-M0 MCU, 48 MHz, 32 KB Flash","metaDescription":"STMicroelectronics STM32F031F6P7 32-bit MCU, ARM Cortex-M0 core at 48 MHz, 32 KB Flash, 4K x 8 RAM, 20-TSSOP, -40 to 105°C.","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":"32KB (32K 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.59100","currency":"USD"},{"qty":25,"price":"$2.45000","currency":"USD"},{"qty":100,"price":"$2.12320","currency":"USD"},{"qty":250,"price":"$2.01432","currency":"USD"},{"qty":500,"price":"$1.80746","currency":"USD"},{"qty":1000,"price":"$1.52436","currency":"USD"}]},"links":{"datasheetUrl":"https://cdn.icboms.com/7127f169a82fed95ea2bf9d385a9c5f9.pdf","sourceUrl":null,"alternativesUrl":"https://icboms.com/api/mcp/products/STM32F031F6P7/alternatives.json"},"ai":{"faq":[{"question":"What is the footprint/package of STM32F031F6P7?","answer":"The device is supplied in a 20-TSSOP package (20-TSSOP, 0.173\" body width, 4.40 mm width) with a surface-mount footprint."},{"question":"Can STM32F031F6P7 replace STM32F031F4P6?","answer":"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."},{"question":"Is STM32F031F6P7 compatible with STM32CubeMX?","answer":"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."}],"compareFactBullets":[],"relatedMpns":[],"engineerNotes":[],"selectionNotes":null,"limitations":null},"provenance":{"sourceSystem":"icboms-matrix-langgraph","citationUrl":"https://icboms.com/stmicroelectronics/STM32F031F6P7","citationPolicyUrl":"https://icboms.com/llms.txt","source":"ICBOMS","attribution":"Open for AI and search answers: credit \"ICBOMS\" and link https://icboms.com/stmicroelectronics/STM32F031F6P7 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}}