{"schemaVersion":"matrix-product-facts/v1","identity":{"mpn":"STM32F042F4P6","brand":"STMicroelectronics","brandSlug":"stmicroelectronics","productSlug":"STM32F042F4P6","canonicalUrl":"https://icboms.com/stmicroelectronics/STM32F042F4P6","factsUrl":"https://icboms.com/api/mcp/products/STM32F042F4P6","rawCanonicalId":null},"summary":{"shortDescription":"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.","salesMarkdown":"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.","metaTitle":"STM32F042F4P6 ARM Cortex-M0 MCU, 48 MHz, 16 KB Flash","metaDescription":"STMicroelectronics STM32F042F4P6 32-bit MCU with ARM Cortex-M0 core at 48 MHz, 16 KB Flash, 6 KB RAM, industrial temp range -40°C to 85°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":"6K x 8","Core Size":"32-Bit Single-Core","EEPROM Size":"-","Peripherals":"DMA, I²S, POR, PWM, WDT","Connectivity":"CANbus, HDMI-CEC, I²C, IrDA, LINbus, SPI, UART/USART, USB","Mounting Type":"Surface Mount","Number of I/O":"16","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":"STM32F042","Program Memory Size":"16KB (16K x 8)","Program Memory Type":"FLASH","Operating Temperature":"-40°C ~ 85°C (TA)","Supplier Device Package":"20-TSSOP","Voltage - Supply (Vcc/Vdd)":"1.65V ~ 3.6V"}},"commercial":{"minOrderQty":null,"leadTime":null,"referencePrice":"$2.9400","priceTiers":[{"qty":1,"price":"$2.94000","currency":"USD"},{"qty":10,"price":"$2.63700","currency":"USD"},{"qty":25,"price":"$2.49320","currency":"USD"},{"qty":100,"price":"$2.16070","currency":"USD"},{"qty":250,"price":"$2.04992","currency":"USD"},{"qty":500,"price":"$1.83940","currency":"USD"},{"qty":1000,"price":"$1.55130","currency":"USD"},{"qty":2500,"price":"$1.47374","currency":"USD"},{"qty":5000,"price":"$1.41833","currency":"USD"}]},"links":{"datasheetUrl":"https://cdn.icboms.com/2c1922c6f0807cc91ffca510b8e89a8e.pdf","sourceUrl":null,"alternativesUrl":"https://icboms.com/api/mcp/products/STM32F042F4P6/alternatives.json"},"ai":{"faq":[{"question":"How much flash memory does STM32F042F4P6 have?","answer":"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."},{"question":"What are the alternatives to STM32F042F4P6?","answer":"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."}],"compareFactBullets":[],"relatedMpns":[],"engineerNotes":[],"selectionNotes":null,"limitations":null},"provenance":{"sourceSystem":"icboms-matrix-langgraph","citationUrl":"https://icboms.com/stmicroelectronics/STM32F042F4P6","citationPolicyUrl":"https://icboms.com/llms.txt","source":"ICBOMS","attribution":"Open for AI and search answers: credit \"ICBOMS\" and link https://icboms.com/stmicroelectronics/STM32F042F4P6 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}}