qixinwei-pcba
STM32L031G6U6 ST Mainstream Arm Cortex-M0+ Ultra-Low-Power 32-bit MCU 32KB Flash 8KB SRAM EEPROM ADC UFQFPN-28
STM32L031G6U6 Product Overview
STM32L031G6U6 is a Cortex-M0+ MCU at 32 MHz, UFQFPN-28. 32 KB Flash, 8 KB SRAM, 1 KB EEPROM, 12-bit ADC (10 ch), LP timers, RTC, 1×USART, 1×SPI, 1×I2C. Up to 23 x 5 V-tolerant I/Os. 1.8–3.6 V, -40–85 °C. Compared to the TSSOP-20 L031F6P6, the 28-pin UFQFPN package provides more I/Os while maintaining the same memory configuration, offering an ultra-low-power solution for battery-powered, space-constrained IoT nodes and portable devices needing extra pins.
STM32L031G6U6 Core Features
Core: Cortex-M0+ 32 MHz, low-power design
Memory: 32 KB Flash, 8 KB SRAM, 1 KB EEPROM
Analog: 12-bit ADC (10 ch)
Connectivity: 1×USART, 1×SPI, 1×I2C
Timers: LP Timer, GP Timers, RTC
I/Os: 23 (5 V-tolerant)
Package: UFQFPN-28
Temperature Range: -40°C to 85°C
STM32L031G6U6 Applications
IoT Sensor Nodes: Battery-powered environmental sensors, wireless modules
Portable Devices: Wearables, portable medical devices
Industrial Metering: Water, gas, and electricity meters
Consumer Electronics: Remote controls, e-labels, smart cards
Space-Constrained, Higher I/O Applications: Miniaturized control systems, energy harvesting nodes
STM32L031G6U6 Key Advantages
Ultra-Low Power: Multiple low-power modes extend battery life
1 KB EEPROM: Eliminates external storage for data logging
32-bit Performance, 8-bit Price: Enjoy the ARM ecosystem at a very low cost
23 I/Os + UFQFPN-28 Package: Balance of compact size and rich pins for miniaturized systems
5 V-tolerant I/Os: Enhanced robustness, simplified level shifting
Full Ecosystem Compatibility: Easy development with STM32CubeIDE/HAL/LL libraries
Why Choose QIXINWEI
Years of experience in the electronics industry. Trusted by global customers.
Massive In-Stock Inventory – Ready to ship promptly.
BOM Matching Service – One-stop solution, save time.
PCBA Customization – Professional engineering team creates tailor-made solutions based on your needs.
Cost-Effective & Efficient – Better channel, better cost.
A dedicated team makes your procurement smoother.
Contact us for BOM quotes or PCBA inquiries.











FAQ
1. What is STM32L031G6U6 and what is its most distinctive feature in the STM32L0 series?
STM32L031G6U6 is an ultra-low-power 32-bit MCU from STMicroelectronics' STM32L0 series, built around an Arm® Cortex®‑M0+ core in a UFQFPN‑28 package (4 mm × 4 mm). Operating at 32 MHz, it provides 32 KB Flash and 8 KB SRAM, and integrates a 12‑bit ADC and a low‑power UART. As the smallest package variant in the L031 family, it delivers core processing capability in an ultra‑compact 4 mm × 4 mm footprint, making it ideal for wearable devices, miniature sensors, and IoT nodes with extreme space, cost, and power constraints.
2. What are the key specifications of STM32L031G6U6?
Core: Arm® Cortex®‑M0+, up to 32 MHz
Memory: 32 KB Flash, 8 KB SRAM
Operating Voltage: 1.65 V to 3.6 V
Temperature Range: -40 °C to +85 °C (industrial grade)
I/O Count: up to 21
Package: UFQFPN‑28 (4 mm × 4 mm)
3. The UFQFPN‑28 package is only 4 mm × 4 mm. Is hand soldering possible? Is it suitable for low‑volume production?
This package is extremely small, with all pins hidden underneath the chip. Manual soldering with an iron is not feasible—reflow soldering or a hot‑air station is required, along with precise stencil design and controlled reflow profiles. It is primarily intended for automated SMT production to maximize PCB space savings. For prototyping, it is strongly recommended to use a QFN adapter board or the NUCLEO‑L031K6 development board (32‑pin LQFP) for initial debugging before transitioning to the 28‑pin QFN for volume production.
4. How does STM32L031G6U6 differ from STM32L031K6U6, and how should I choose?
Both share the same core, 32 KB Flash, 8 KB SRAM, and 12‑bit ADC. The only differences are the package and I/O count: G6U6 uses a 28‑pin QFN with 21 I/Os, while K6U6 uses a 32‑pin QFN with 25 I/Os. G6U6 is smaller and more suited for applications with extreme PCB space constraints; if more I/Os are needed and a slightly larger package is acceptable, K6U6 is the better choice.
5. Are 32 KB Flash and 8 KB SRAM sufficient? What kind of programs can they support?
32 KB Flash can hold a compact bare‑metal program or a lightweight RTOS kernel, along with typical sensor drivers and low‑power wireless communication stacks. 8 KB SRAM requires careful variable management, but is perfectly adequate for fixed‑function micro‑applications such as wearable health patches, disposable temperature loggers, and miniature beacons. If more code space is needed, upgrade to a 64 KB Flash variant in the same family (e.g., STM32L051 series).
6. How does it perform in terms of low power consumption? What are the typical currents across its modes?
Temperature Range: -40 °C to +85 °C
Ultra‑low‑power modes:
Standby mode: ~0.27 µA (no RTC)
Stop mode: ~0.4 µA (no RTC), ~0.8 µA with RTC
Run mode: ~88 µA/MHz
7. How capable is the built‑in 12‑bit ADC? Is it still usable in the 28‑pin package?
The ADC supports up to 16 external input channels, a maximum sampling rate of 1.14 Msps, 12‑bit resolution, and a built‑in window comparator. In the 28‑pin package, not all ADC channels may be externally available due to pin limitations, but multiple analog input channels remain. It can stay active in low‑power modes and wake the CPU via the analog watchdog, making it ideal for periodically monitoring battery voltage or sensor signals.
8. What communication interfaces are integrated? Is there a low‑power UART?
The STM32L031G6U6 includes 1× SPI, 1× I²C, and 1× low‑power UART (LPUART). The LPUART can remain operational in Stop mode and wake the MCU upon address match or start bit detection, significantly reducing system standby power. This is particularly useful for miniature devices that communicate with wireless modules or sensors over a serial link.
9. What development tools are needed for the STM32L031G6U6? Is there a suitable evaluation board?
ST provides free STM32CubeMX for graphical configuration and STM32CubeIDE as an integrated development environment, along with the STM32CubeL0 firmware library. Debugging and programming are handled by ST‑Link debuggers. For rapid prototyping, the NUCLEO‑L031K6 board (32‑pin LQFP) is highly recommended—it carries the same L031 chip family with fully compatible peripherals and code. After development, the code can be seamlessly migrated to the 28‑pin QFN G6U6 by simply adjusting the pin configuration in CubeMX.
10. If I later need more storage or richer peripherals, what upgrade options are available?
If more Flash is needed, consider a 64 KB variant such as the STM32L051K8U6 (32‑pin QFN). If a segment LCD driver or USB is required, step up to the L052 or L053 series respectively. In all these upgrade paths, core code is reusable—only pin configuration and peripheral parameters need adjustment in STM32CubeMX.
- Property:
- Specification
- Product Type:
- Arm Cortex-M0+ Ultra-Low-Power 32-bit MCU
- Brand:
- STMicroelectronics
- Core:
- Cortex-M0+ 32 MHz
- Package:
- UFQFPN-28
- Memory:
- 32 KB Flash, 8 KB SRAM, 1 KB EEPROM
- Analog:
- 12-bit ADC (10 ch)
- Connectivity:
- USART, SPI, I2C
- I/Os:
- 23
- Voltage:
- 1.8V–3.6V
- Temperature:
- -40°C to 85°C