STM32G071G8U6 - 64MHz Cortex-M0+ MCU, 64KB Flash | STMicroelectronics
MPN: STM32G071G8U6 ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.5 | $3.50 |
| 10 | $3.15 | $31.50 |
| 100 | $2.65 | $265.00 |
| 500 | $2.3 | $1,150.00 |
| 1,000 | $2.05 | $2,050.00 |
STM32G071G8U6 Overview
What is a Cortex-M0+ MCU? An ARM Cortex-M0+ microcontroller is a 32-bit RISC processor core designed by ARM for energy-efficient embedded applications. It sits at the entry level of the Cortex-M family, above 8-bit legacy MCUs in performance but below Cortex-M3/M4 in features. Within the broader taxonomy, it belongs to: microcontroller -> 32-bit MCU -> ARM Cortex-M -> Cortex-M0+ -> STM32G0 series -> STMicroelectronics.
Key features include the M0+ core with single-cycle I/O access, an integrated USB Type-C and Power Delivery (UCPD) physical layer, multiple low-power modes (Sleep, Stop, Standby, Shutdown) with typical Stop current around 2 uA, a 12-bit 2.5 MSPS ADC, a 12-bit DAC, comparators, op-amps, and a real-time clock. The 28-pin UFQFPN exposes 4 USART/UART, 2 I2C, 2 SPI/I2S, USB 2.0 FS, and up to 23 GPIO, balancing cost and connectivity.
Technically, the STM32G071G8U6 implements an ART Accelerator zero-wait-state Flash interface, hardware division, and a 4-channel DMA. The integrated UCPD PHY supports USB Type-C connector attach/detach and Power Delivery messaging up to 100W sink/source roles without an external TCPC. Its internal 64MHz HSI can supply the system clock, removing the need for an external crystal in many USB and consumer designs.
Typical applications include USB Type-C power delivery sinks/sources, USB human-interface devices (HID), small appliances with capacitive touch, smart sensors, lighting controllers, and low-cost IoT edge nodes. The combination of USB, ADC, and small footprint suits replacement of USB bridge ICs with a programmable MCU.
Design consideration: USB-C and UCPD applications require careful attention to the CC1/CC2 pin routing and the VBUS sensing divider. When migrating from UFQFPN28 STM32F0 designs, verify pin remapping because some peripherals have moved to alternate functions on the STM32G0.
This page synthesizes distributor pricing, parametric alternatives in the same UFQFPN-28 footprint, and practical design notes not aggregated on a single manufacturer or distributor page.
Drop-in alternatives for STM32G071G8U6 — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
STM32G071G8U6NTR
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G071GBU6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G081GBU6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G041G8U6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G071G8U6 Maximum Ratings & Electrical Characteristics
| Core | ARM Cortex-M0+ 32-bit RISC |
| Maximum Clock Frequency | 64 MHz |
| Program Memory (Flash) | 64 KB (64K x 8) |
| RAM | 36 KB |
| Supply Voltage Range | 2.0 V to 3.6 V |
| Operating Temperature Range | -40 C to +85 C |
| Package | 28-pin UFQFPN (4x4 mm) |
| GPIO Count | Up to 23 |
| ADC | 12-bit, up to 19 channels |
| DAC | 12-bit, 2 channels |
| USB | USB 2.0 FS device + Type-C/PD (UCPD PHY) |
| Timers | 16-bit/32-bit, RTC, SysTick |
| Communication Interfaces | 4x USART/UART, 2x I2C, 2x SPI/I2S, USB, UCPD |
| DMA Channels | 4 (7 streams) |
| Low-Power Modes | Sleep, Stop, Standby, Shutdown |
| RoHS Compliance | Compliant |
STM32G071G8U6 Pin Configuration
| Pin 1 | PB7 — General-purpose I/O / I2C1_SDA / USART4_RX / TIM4_CH2 |
| Pin 2 | PB8 — General-purpose I/O / I2C1_SCL / USART4_TX / TIM4_CH3 |
| Pin 3 | PB9 — General-purpose I/O / I2C1_SDA / SPI2_NSS / IR_OUT |
| Pin 4 | VDD — Main power supply (2.0V-3.6V) |
| Pin 5 | VSS — Ground reference |
| Pin 6 | VDDIO2 — I/O supply for PB8/PB9 (independent rail) |
| Pin 7 | PA0 — General-purpose I/O / USART2_CTS / ADC_IN0 / TIM2_CH1 |
| Pin 8 | PA1 — General-purpose I/O / USART2_RTS / ADC_IN1 / TIM2_CH2 |
| Pin 9 | PA2 — General-purpose I/O / USART2_TX / ADC_IN2 / TIM2_CH3 |
| Pin 10 | PA3 — General-purpose I/O / USART2_RX / ADC_IN3 / TIM2_CH4 |
| Pin 11 | PA4 — General-purpose I/O / SPI1_NSS / USART2_CK / ADC_IN4 |
| Pin 12 | PA5 — General-purpose I/O / SPI1_SCK / ADC_IN5 / DAC1_OUT1 |
| Pin 13 | PA6 — General-purpose I/O / SPI1_MISO / ADC_IN6 / DAC1_OUT2 |
| Pin 14 | PA7 — General-purpose I/O / SPI1_MOSI / ADC_IN7 / TIM3_CH2 |
| Pin 15 | PB0 — General-purpose I/O / ADC_IN8 / TIM3_CH3 / UCPD_CC1 |
| Pin 16 | PB1 — General-purpose I/O / ADC_IN9 / TIM3_CH4 / UCPD_CC2 |
| Pin 17 | PB2 — General-purpose I/O / UCPD_DBCC1 / SPI2_MISO / LPTIM1_OUT |
| Pin 18 | PA8 — General-purpose I/O / USART1_CK / TIM1_CH1 / UCPD_DBCC2 |
| Pin 19 | PA9 — General-purpose I/O / USART1_TX / I2C1_SCL / TIM1_CH2 |
| Pin 20 | PA10 — General-purpose I/O / USART1_RX / I2C1_SDA / TIM1_CH3 |
| Pin 21 | PA11 — General-purpose I/O / USB_DM / USART4_CTS / TIM1_CH4 |
| Pin 22 | PA12 — General-purpose I/O / USB_DP / USART4_RTS / TIM1_ETR |
| Pin 23 | PA13 — General-purpose I/O / SWDIO / USART3_RX / IR_OUT |
| Pin 24 | PA14 — General-purpose I/O / SWCLK / USART3_TX / BOOT0 |
| Pin 25 | PA15 — General-purpose I/O / SPI1_NSS / USART3_CK / TIM2_CH1 |
| Pin 26 | PB3 — General-purpose I/O / SPI1_SCK / TIM2_CH2 / SWO |
| Pin 27 | PB4 — General-purpose I/O / SPI1_MISO / TIM3_CH1 / NRST (alternate) |
| Pin 28 | PB5 — General-purpose I/O / SPI1_MOSI / I2C1_SMBA / TIM16_BKIN |
Typical Applications
STM32G071G8U6 is suitable for 6 applications: USB Type-C Power Delivery Sink, USB HID Devices and Peripherals, Small Home Appliance Control, LED Lighting Controllers, Low-Cost IoT Sensor Nodes, Consumer Power Bank and Chargers.
USB Type-C Power Delivery Sink
The STM32G071G8U6's integrated UCPD PHY eliminates the need for an external Type-C port controller. The MCU reads CC1/CC2 attach orientation, decodes BMC-encoded USB-PD messages, and negotiates up to 100W (20V/5A) with the source. Designers save BOM cost (~$0.40-0.80 vs discrete TCPC) and PCB area. The 64MHz core runs the PD 3.0 stack with margin; 36KB SRAM fits protocol buffers plus application tasks. The UFQFPN-28 (4x4mm) fits inside connector shells or behind USB-C receptacle.
Recommended
USB HID Devices and Peripherals
The integrated USB 2.0 FS device controller and 64MHz Cortex-M0+ make this MCU ideal for keyboards, mice, custom HID game controllers, and USB-to-UART bridges. The full-speed (12Mbps) USB endpoint hardware handles enumeration, suspend, and resume without CPU intervention. DMA moves HID report data efficiently; 36KB SRAM supports report buffer plus application logic. UCPD is unused in classic USB-A applications but does not interfere, providing a future-proof upgrade path to Type-C.
Recommended
Small Home Appliance Control
Coffee machines, blenders, induction cooktops, and washing-machine sub-modules benefit from the 12-bit ADC for temperature/weight sensing, the high-resolution PWM timers for motor and heating-element control, and capacitive-touch I/O. The 64KB Flash holds a full state machine plus look-up tables; the small UFQFPN-28 fits inside compact appliance mainboards. Stop-mode current of ~2 uA with RTC backup enables energy-label compliance when the appliance is idle.
Recommended
LED Lighting Controllers
Smart lighting products leverage the 12-bit DAC for color-mixing and the 16-bit PWM timers for flicker-free dimming. The Cortex-M0+ at 64MHz handles DMX, DALI, or Zigbee-style lighting protocols alongside LED driving. The compact UFQFPN-28 footprint and wide 2.0-3.6V supply range allow direct battery operation in portable lighting. UCPD enables USB-C charging on rechargeable lamps and decorative fixtures.
Recommended
Low-Cost IoT Sensor Nodes
The integrated 12-bit ADC, multiple low-power modes, and compact UFQFPN-28 make the STM32G071G8U6 well suited to battery-powered IoT sensor nodes measuring temperature, humidity, occupancy, or gas. Shutdown mode at 0.1 uA enables years of shelf life. The USB-C UCPD provides a convenient setup/charging port for service tools. 64KB Flash fits over-the-air update bootloaders plus application code.
Recommended
Consumer Power Bank and Chargers
USB Type-C PD power banks and travel chargers use the integrated UCPD to negotiate voltage and current without external port controllers. The 12-bit ADC monitors VBUS voltage, current-sense resistor, and battery voltage for charge-status display. The 64MHz M0+ runs a UI on external LEDs or a small OLED. The small 28-UFQFPN footprint leaves room for large FETs and magnetics in a compact product enclosure.
Recommended
Recommended Products Summary
Engineering reference data for STM32G071G8U6 — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | STM32G071G8U6NTR | STM32G071GBU6 | STM32G081GBU6 | STM32G041G8U6 | STM32G070KBT6 |
|---|---|---|---|---|---|---|
| Package | 28-UFQFPN (4x4) | 28-UFQFPN (4x4) - same | 28-UFQFPN (4x4) - same | 28-UFQFPN (4x4) - same | 28-UFQFPN (4x4) - same | LQFP32 (7x7) - different |
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics |
| Core | Cortex-M0+ @ 64MHz | Cortex-M0+ @ 64MHz | Cortex-M0+ @ 64MHz | Cortex-M0+ @ 64MHz | Cortex-M0+ @ 64MHz | Cortex-M0+ @ 64MHz |
| Flash | 64 KB | 64 KB | 128 KB | 128 KB | 64 KB | 128 KB |
| SRAM | 36 KB | 36 KB | 36 KB | 36 KB | 8 KB | 36 KB |
| USB Type-C / UCPD | Yes (UCPD PHY) | Yes (UCPD PHY) | Yes (UCPD PHY) | Yes (UCPD PHY) | No | No |
| Crypto / AES-256 | No | No | No | Yes (AES-256) | No | No |
| GPIO (max) | 23 | 23 | 23 | 23 | 23 | 27 |
| Pin Count | 28 | 28 | 28 | 28 | 28 | 32 |
Key Differentiators
- Integrated USB Type-C / Power Delivery PHY (vs STM32G031G8U6)
- 36KB SRAM - largest in STM32G0 28-pin family (vs STM32G041G8U6)
- Same UFQFPN-28 footprint across G070/G071/G081 sub-families (vs STM32L031K6U6 / STM32F051K8U7)
Design Notes
Estimated: supply-current draw at 64MHz active mode is approximately 8-10 mA with peripherals off, rising to ~15 mA with USB active. Decouple VDD/VDDA pins with 100nF X7R ceramic close to each pin plus a bulk 4.7uF; place a ferrite bead on VDDA for ADC noise isolation. VDDIO2 must be tied to VDD if unused, per ST datasheet. For battery designs, place a Schottky diode on VDD to prevent reverse-current when the USB VBUS rises faster than the battery rail.
Route the USB D+/D- pair as a 90-ohm differential with reference to ground, length-matched within 2mm. The exposed thermal pad of the UFQFPN must be soldered to the PCB ground plane via at least 9 thermal vias for heat dissipation. Keep the UCPD CC1/CC2 traces short (<5mm) and avoid routing near switching nodes to prevent false disconnect events. Place the 5.1k CC pull-down or current source on the CC pins according to whether the device is sink or source.
Do not enable both the HSI48 oscillator and the USB peripheral at the same time if the HSI48 trim is not loaded from Flash, as USB enumeration will fail. Ensure BOOT0 is held low at reset for normal boot from Flash; if BOOT0 is left floating, indeterminate boot may occur. When using the UCPD PHY, configure both CC1 and CC2 pins as alternate function before enabling USB PD to prevent glue-logic contention. The internal voltage reference for ADC is not factory-calibrated for all packages - run a calibration sequence at startup if accurate absolute voltage readings are needed.
Compliance Information
Industrial-grade part (-40C to +85C); RoHS/REACH compliant per ST product page; not AEC-Q100 qualified - use STM32G0 automotive grade variants for vehicle applications