{"schemaVersion":"matrix-product-facts/v1","identity":{"mpn":"STM32F042G6U6","brand":"STMicroelectronics","brandSlug":"stmicroelectronics","productSlug":"STM32F042G6U6","canonicalUrl":"https://icboms.com/stmicroelectronics/STM32F042G6U6","factsUrl":"https://icboms.com/api/mcp/products/STM32F042G6U6","rawCanonicalId":null},"summary":{"shortDescription":"STMicroelectronics STM32F0 series STM32F042G6U6, ARM Cortex-M0 32-bit MCU, 48 MHz, 32 KB Flash, 6 KB RAM, USB 2.0, CAN, I²C, SPI, 24 I/O, 1.65-3.6 V, -40 to 85 °C, 28-UFQFPN.","salesMarkdown":"## 48 MHz Cortex-M0 with USB and CAN in a 4x4 mm package The STM32F042G6U6: It packs 32 KB of Flash and 6 KB of SRAM, with a peripheral set that includes USB, CANbus, I²C, SPI, and multiple UARTs — all in a 28-pin UFQFPN package measuring 4x4 mm. ## Memory budget and peripheral fit With 32 KB of program Flash and 6 KB of RAM, this MCU targets control applications with moderate firmware — motor commutation, sensor fusion, USB dongle firmware, or CAN gateway logic. The USB peripheral with dedicated 48 MHz oscillator support simplifies full-speed device implementation, and the CAN interface connects directly to automotive or industrial bus networks. For layouts, stitch vias under the pad to the ground plane — without them, thermal resistance climbs and the junction temperature limits continuous operation above 70°C ambient. The 24 I/O pins include 5 V-tolerant inputs, so level shifting is not needed for legacy 5 V logic interfaces.","metaTitle":"STM32F042G6U6 STM32F0 ARM Cortex-M0 MCU, 48 MHz, 32 KB Flash","metaDescription":"STM32F042G6U6 32-bit MCU with 48 MHz Cortex-M0, 32 KB Flash, 6 KB RAM, USB & CAN, -40 to 85°C, 28-UFQFPN. Active lifecycle, ROHS3.","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":"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 ~ 85°C (TA)","Supplier Device Package":"28-UFQFPN (4x4)","Voltage - Supply (Vcc/Vdd)":"1.65V ~ 3.6V"}},"commercial":{"minOrderQty":null,"leadTime":null,"referencePrice":"$3.1600","priceTiers":[{"qty":1,"price":"$3.16000","currency":"USD"},{"qty":10,"price":"$2.83500","currency":"USD"},{"qty":25,"price":"$2.68000","currency":"USD"},{"qty":80,"price":"$2.32288","currency":"USD"},{"qty":230,"price":"$2.20370","currency":"USD"},{"qty":490,"price":"$1.97739","currency":"USD"},{"qty":980,"price":"$1.66767","currency":"USD"},{"qty":2450,"price":"$1.58429","currency":"USD"},{"qty":4900,"price":"$1.52473","currency":"USD"}]},"links":{"datasheetUrl":"https://cdn.icboms.com/2c1922c6f0807cc91ffca510b8e89a8e.pdf","sourceUrl":null,"alternativesUrl":"https://icboms.com/api/mcp/products/STM32F042G6U6/alternatives.json"},"ai":{"faq":[{"question":"Does STM32F042G6U6 have an equivalent part?","answer":"The STM32L151CBU6A is a functional alternative from the STM32L1 series, but it runs a Cortex-M3 core at 32 MHz, lacks USB and CAN, and comes in a larger 48-pin package. It is not a pin-compatible drop-in — the peripheral set and footprint differ."},{"question":"Is STM32F042G6U6 RoHS compliant?","answer":"Yes, the STM32F042G6U6 is ROHS3 compliant per the manufacturer's specification."},{"question":"Can STM32F042G6U6 be used with ST-Link?","answer":"Yes, the STM32F042G6U6 supports the standard Serial Wire Debug (SWD) interface used by ST-Link programmers. Connect SWDIO, SWCLK, and GND — the debug port is available on the 28-pin package."}],"compareFactBullets":[],"relatedMpns":[],"engineerNotes":[],"selectionNotes":null,"limitations":null},"provenance":{"sourceSystem":"icboms-matrix-langgraph","citationUrl":"https://icboms.com/stmicroelectronics/STM32F042G6U6","citationPolicyUrl":"https://icboms.com/llms.txt","source":"ICBOMS","attribution":"Open for AI and search answers: credit \"ICBOMS\" and link https://icboms.com/stmicroelectronics/STM32F042G6U6 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}}