EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
28days 23hrs 57min 04sec
Learn More →
STM32F042G6U6

STM32F042G6U6

STMicroelectronics
ARM® Cortex®-M0 STM32F0 Microcontroller IC 32-Bit 48MHz 32KB (32K x 8) FLASH 28-UFQFPN (4x4)
Active36,307 in stock

Overview

The STM32F042G6U6 is a versatile 32-bit ARM Cortex-M0 microcontroller operating at 48MHz in a compact 28-UFQFPN package. It features 32KB of Flash and 6KB of RAM, specifically designed to bridge the gap between traditional 8-bit applications and more powerful 32-bit systems with advanced connectivity options.

Why Choose This Part

This MCU stands out for its high integration, featuring a crystal-less USB 2.0 device controller that saves board space and bill-of-materials costs. It offers a robust set of peripherals including a 13-channel 12-bit ADC and CAN interface while maintaining low power consumption in a small 4x4mm footprint.

Applications

USB-to-Serial Bridges
Utilizes the crystal-less USB 2.0 full-speed interface and 48MHz internal oscillator for cost-effective peripheral connectivity.
Automotive Sensor Nodes
Leverages the integrated CANbus controller and 12-bit ADC for vehicle networking and sensor data acquisition.
Consumer Interface Devices
Implements capacitive touch sensing and HDMI-CEC for smart home control panels and entertainment system peripherals.
Industrial Control Modules
Provides reliable operation with hardware CRC, independent watchdog timers, and support for LINbus and SPI communication.

Key Specifications

Speed 48MHz
RAM Size 6K x 8
Core Size 32-Bit
Peripherals DMA, I2S, POR, PWM, WDT
Connectivity CANbus, HDMI-CEC, I2C, IrDA, LINbus, SPI, UART/USART, USB
Mounting Type Surface Mount
Number of I/O 24
Core Processor ARM Cortex-M0
Package / Case 28-UFQFN
Data Converters A/D 13x12b
Oscillator Type Internal
Program Memory Size 32KB (32K x 8)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 28-UFQFPN (4x4)
Voltage - Supply (Vcc/Vdd) 1.65V ~ 3.6V

Getting Started

Developers can begin by using the STM32CubeF0 software package and the STM32CubeIDE for full development and debugging. For hardware prototyping, the 32F042KDISCOVERY board provides a direct entry point, while the ST-LINK/V2 is the recommended hardware debugger for the UFQFPN28 package.

Dev Boards

Development boards and breakout modules featuring the STM32F042G6U6 or compatible chips — ready to use for prototyping.

NUCLEO-F031K6 STMicroelectronics
Development Boards & Kits - ARM STM32 Nucleo-32 development board STM32F031K6 MCU, supports Arduino nano connect
Mouser 122 in stock
NUCLEO-F030R8 STMicroelectronics
STM32F030 Nucleo-64 STM32F0 ARM® Cortex®-M0 MCU 32-Bit Embedded Evaluation Board
Digi-Key Mouser 704 in stock
NUCLEO-F072RB STMicroelectronics
STM32F072 Nucleo-64 STM32F0 ARM® Cortex®-M0 MCU 32-Bit Embedded Evaluation Board
Digi-Key Mouser 892 in stock
STM32F072B-DISCO STMicroelectronics
STM32 F0 Discovery STM32F0 ARM® Cortex®-M0 MCU 32-Bit Embedded Evaluation Board
Digi-Key Mouser 332 in stock
STM32F072RBT6 STMicroelectronics
Very similar STM32F0 device commonly available on Nucleo boards; good for evaluation and quick prototyping.
Digi-Key 2,225 in stock
Part of STM32 family » STM32F042

STM32F042 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number I/O Pins Package ADC/DAC Stock
STM32F042G6U6 (this part) 24 UFQFN-28 A/D 13x12b 36,307
STM32F042K6T6 26 LQFP-32 A/D 13x12b 6,319
STM32F042F6P6 16 TSSOP-20 A/D 12x12b 2,250
Also available as: STM32F042C6T6

Also Consider

STM32F072CBT6 STMicroelectronics - Offers larger 128KB Flash and 16KB RAM if your application requires more memory or a higher pin count.
ATSAMD21E18A-MFT MCHPMicrochip Technology - Provides a similar Cortex-M0+ architecture with 256KB Flash and a highly flexible SERCOM interface system.