{"schemaVersion":"matrix-product-facts/v1","identity":{"mpn":"STM32F042G6U7","brand":"STMicroelectronics","brandSlug":"stmicroelectronics","productSlug":"STM32F042G6U7","canonicalUrl":"https://icboms.com/stmicroelectronics/STM32F042G6U7","factsUrl":"https://icboms.com/api/mcp/products/STM32F042G6U7","rawCanonicalId":null},"summary":{"shortDescription":"STMicroelectronics STM32F042G6U7, ARM Cortex-M0 32-Bit Single-Core MCU, 48 MHz, 32 KB Flash, 6K x 8 RAM, CANbus, USB 2.0, I²C, SPI, UART, 24 I/O, -40 to 105 °C, 28-UFQFPN 4x4 mm.","salesMarkdown":"The 28-pin UFQFPN package (4x4 mm) keeps the board footprint small, and the 24 general-purpose I/Os are enough for a handful of sensor inputs, a few PWM outputs, and a serial debug header. ## Memory budget and endurance reality 32 KB of Flash and 6 KB of SRAM are tight by modern standards. The Flash is rated for 1,000 program/erase cycles typical across the STM32F0 family — enough for a firmware-updatable product that sees a handful of field updates over its life, but not a wear-leveled data logger. Budget the ECC in your application layer if you are writing to the same Flash sector repeatedly; the 6 KB SRAM leaves about 4 KB for runtime buffers after the stack and RTOS kernel, so any large USB or CAN packet queue needs careful sizing. The pad is also the only ground return for the USB transceiver, so keep the via pattern dense and the inductance low.","metaTitle":"STM32F042G6U7 STM32F0 ARM Cortex-M0 MCU, 48 MHz, 32 KB Flash","metaDescription":"STM32F042G6U7 32-bit ARM Cortex-M0 MCU at 48 MHz with 32 KB Flash, 6 KB SRAM, USB 2.0 and CAN. Industrial temp -40 to 105 °C. Active lifecycle.","metaKeywords":null},"attributes":{"series":null,"packageCase":null,"mountingType":null,"rohsStatus":null,"productStatus":"Active","categoryPath":["Microcontrollers & Processors (MCU / MPU / DSP)"],"specifications":{"Mfr":"STMicroelectronics","Speed":"48MHz","Series":"STM32F0","Package":"Tray","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":"24","Core Processor":"ARM® Cortex®-M0","Package / Case":"28-UFQFN","Product Status":"Active","Data Converters":"A/D 13x12b","Oscillator Type":"Internal","lifecycle_stage":"eol_hot","Base Product Number":"STM32F042","Program Memory Size":"32KB (32K x 8)","Program Memory Type":"FLASH","Operating Temperature":"-40°C ~ 105°C (TA)","Supplier Device Package":"28-UFQFPN (4x4)","Voltage - Supply (Vcc/Vdd)":"1.65V ~ 3.6V"}},"commercial":{"minOrderQty":null,"leadTime":null,"referencePrice":"$1.7793","priceTiers":null},"links":{"datasheetUrl":"https://cdn.icboms.com/2c1922c6f0807cc91ffca510b8e89a8e.pdf","sourceUrl":null,"alternativesUrl":"https://icboms.com/api/mcp/products/STM32F042G6U7/alternatives.json"},"ai":{"faq":[{"question":"What is the difference between the STM32F042G6U7 and the STM32F042G6U6?","answer":"Both share the same 48 MHz Cortex-M0 core, 32 KB Flash, 6 KB SRAM, USB and CAN peripherals, and 28-UFQFPN package. The U7 variant is the one to specify if your end equipment sees ambient temperatures above 85 °C."},{"question":"Can the STM32F042G6U7 replace the STM32F042G4U7?","answer":"Yes, it is a pin-compatible drop-in replacement with double the Flash (32 KB vs 16 KB) and the same 6 KB SRAM, peripheral set, and package. The G4 variant has 16 KB Flash; the G6 has 32 KB. If your firmware fits in 16 KB, the G4 is a lower-cost option, but the G6 gives headroom for future feature additions."}],"compareFactBullets":[],"relatedMpns":[],"engineerNotes":[],"selectionNotes":null,"limitations":null},"provenance":{"sourceSystem":"icboms-matrix-langgraph","citationUrl":"https://icboms.com/stmicroelectronics/STM32F042G6U7","citationPolicyUrl":"https://icboms.com/llms.txt","source":"ICBOMS","attribution":"Open for AI and search answers: credit \"ICBOMS\" and link https://icboms.com/stmicroelectronics/STM32F042G6U7 when reusing this data. Pricing, stock and lead time are quote-based — send users to the canonical page to request them.","lastUpdated":"2026-07-22T18:03:28.771Z","lastPublished":"2026-07-22T18:03:28.771Z","indexable":true}}