STMicroelectronics STM32L031G6U6STR
- Part No.:
- STM32L031G6U6STR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 28-UFQFN
- Datasheet:
-
STM32L031G6U6STR.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 28UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:2,530
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L031G6U6STR from STMicroelectronics is an ultra-low-power 32-bit Arm® Cortex®-M0+ microcontroller with 32 KB Flash, 8 KB SRAM, 1 KB EEPROM, 12-bit ADC (1.14 Msps), and operating voltage range of 1.65–3.6 V. It delivers 0.95 DMIPS/MHz performance at up to 32 MHz and supports -40 to +125 °C industrial temperature operation. Used in battery-powered sensor nodes requiring long-term autonomous operation with RTC and wake-up capability.
For engineers reviewing the STM32L031G6U6STR datasheet, STM32L031G6U6STR pinout, STM32L031G6U6STR application, or STM32L031G6U6STR equivalent, key selection criteria include standby current (0.23 µA), Stop mode + RTC + RAM retention (0.6 µA), 5 µs Flash wakeup time, and 31 I/Os with 5V tolerance - critical for energy-constrained embedded control and metering designs.
Technical Context
The STM32L031G6U6STR integrates a Cortex-M0+ core with dynamic voltage scaling and multiple low-power clock sources: 32 kHz LSE for RTC, 16 MHz HSI16 factory-trimmed ±1%, and multispeed MSI (65 kHz–4.2 MHz). Its power management includes five BOR thresholds, programmable voltage detector (PVD), and POR/PDR circuitry optimized for stable operation across wide supply and temperature ranges.
Peripheral interconnect uses a dedicated AHB/APB matrix supporting concurrent DMA transfers to ADC, USART, SPI, I²C, and timers. The 7-channel DMA controller enables zero-CPU-load data movement, while the ultra-low-power comparators (with window mode and wake-up capability down to 1.65 V) provide hardware-triggered event response without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 32 MHz max - delivers deterministic real-time control with 0.95 DMIPS/MHz efficiency. |
| Memory | 32 KB Flash with ECC + 8 KB SRAM + 1 KB EEPROM with ECC - ensures code/data integrity and nonvolatile parameter storage. |
| ADC | 12-bit, 1.14 Msps, 10-channel - supports high-resolution analog sensing at 10 ksps with 41 µA typical current draw. |
| Low-power modes | 0.23 µA Standby (2 wake pins), 0.6 µA Stop + RTC + 8 KB RAM retention - enables multi-year battery life in intermittent-sensing applications. |
| Supply range | 1.65 V to 3.6 V - compatible with single-cell Li-ion, Li-SOCl₂, and 2×AA/AAA battery systems without external regulation. |
| I/O capability | 31 GPIOs, 5V tolerant - simplifies interface to legacy peripherals and sensors without level-shifting circuitry. |
| Timers | 8x timers including 1x ultra-low-power LPTIM, 1x RTC, 2x watchdogs - enables precise timing, calendar functions, and fail-safe system supervision. |
Pinout & Package
STM32L031G6U6STR is housed in a 28-pin UFQFPN package (4 × 4 mm, 0.5 mm pitch), compliant with ECOPACK®2 environmental standards. This compact, lead-free, thermally enhanced package supports reflow soldering and is suitable for space-constrained PCB layouts in portable and industrial modules.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply | 1.65–3.6 V input; powers digital core, analog peripherals, and I/Os. |
| VSS | Ground reference | Digital ground return; requires low-impedance connection to minimize noise coupling. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up enables standalone reset without external circuitry. |
| PA0–PA15 | General-purpose I/O | Configurable as GPIO, ADC inputs, timer channels, or communication alternate functions; 31 total I/Os, 5V tolerant. |
| PC13–PC15 | RTC oscillator pins | Support 32.768 kHz crystal connection for precision real-time clock and calendar functions. |
| PF0–PF1 | Wake-up inputs | Dedicated low-power wake-up lines usable in Standby mode (2 pins) - enable event-driven recovery from 0.23 µA state. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power BOR | 5 selectable brownout reset thresholds - ensures reliable startup and operation across varying battery discharge profiles. |
| Pre-programmed bootloader | USART and SPI interfaces supported - enables field firmware updates without debug probe. |
| Serial wire debug (SW-DP) | Single-wire debug interface - reduces debug footprint and preserves I/O count during development and production testing. |
| Temperature sensor | Integrated calibrated sensor with 1.5 °C accuracy - provides on-chip thermal monitoring for battery or enclosure temperature compensation. |
| CRC calculation unit | Hardware-accelerated CRC-32 - offloads checksum computation from CPU for robust firmware and data integrity verification. |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pulse counting, pressure sensing, and LoRaWAN transmission. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based scheduling, low-power radio interface, and secure data logging to EEPROM. Use Value: 0.6 µA Stop+RTC mode extends 10-year battery life; 1 KB EEPROM stores calibration and usage history with ECC protection. | Use Scenario: Industrial vibration monitor mounted on rotating equipment, sampling accelerometer data every 5 minutes. IC Role / Device Role / Timing Role: Autonomous edge node performing analog-to-digital conversion, FFT preprocessing, and wake-on-event detection via ultra-low-power comparators. Use Value: 5 µs wakeup from Flash enables rapid response to mechanical anomalies; 31 5V-tolerant I/Os simplify connection to legacy analog front-ends. |
| Portable Medical Device | Asset Tracking Tag |
Use Scenario: Disposable glucose monitor with electrochemical sensor interface and Bluetooth LE connectivity. IC Role / Device Role / Timing Role: Signal conditioner and BLE subsystem controller handling ADC oversampling, sensor bias control, and packetized data transmission. Use Value: 12-bit ADC with 1.14 Msps supports high-fidelity sensor waveform capture; 1.65 V minimum supply enables direct use of coin-cell batteries. | Use Scenario: GPS-disabled logistics tag reporting location via cellular NB-IoT only when motion is detected. IC Role / Device Role / Timing Role: Motion-triggered supervisor using internal comparators and LPTIM to gate power to GPS/cellular modules. Use Value: 0.23 µA Standby current with 2 wake pins minimizes quiescent drain between movement events; 96-bit unique ID enables tamper-resistant device identity. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32L011K4T6 | 16 KB Flash, 2 KB SRAM, no EEPROM, same 28-pin UFQFPN package | Lacks EEPROM and reduced memory - suitable for simpler firmware with external nonvolatile storage | Select when cost sensitivity outweighs need for on-chip EEPROM and extended RAM. |
| STM32L053R8T6 | 64 KB Flash, 8 KB SRAM, 2 KB EEPROM, 64-pin LQFP package | Higher pin count, USB support, larger memory - targets more complex human-interface or connectivity applications | Choose when USB device functionality or additional peripherals (e.g., capacitive touch) are required. |
Compared with STM32L011K4T6, the STM32L031G6U6STR adds 1 KB EEPROM and doubles Flash capacity - enabling local data logging without external memory. Versus STM32L053R8T6, it trades package size and USB for lower BOM cost and smaller footprint, making it optimal for minimal-feature, space- and power-constrained nodes.
Availability
STM32L031G6U6STR is available at Aetrix Electronics and suitable for smart utility metering, wireless sensor nodes, portable medical devices, and asset tracking tags requiring stable component supply across multi-year production cycles.
Supply support for STM32L031G6U6STR includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power management ICs, sensors, and automotive-grade components since 1987.
The STM32L0 series targets ultra-low-power embedded applications demanding sub-µA standby current, integrated EEPROM, and robust operation from 1.65 V - optimized for battery-operated IoT endpoints and industrial monitoring systems.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM32L031G6U6STR operates up to 32 MHz with dynamic voltage scaling. At 32 MHz and 3.3 V, typical Run mode current is 76 µA/MHz (≈2.43 mA total), measured with code executing from Flash memory and all peripherals disabled. This value scales linearly with clock frequency under identical conditions.
Does this MCU support hardware encryption or secure boot features?
No. The STM32L031G6U6STR does not integrate hardware cryptographic accelerators (AES, SHA, PKA) or secure boot ROM. Security relies on software-implemented algorithms and external secure elements. For certified secure boot, consider STM32L4 or STM32H5 series MCUs with TrustZone or proprietary secure firmware solutions.
Can the internal 32 kHz LSE oscillator be used without an external crystal?
No. The LSE oscillator requires an external 32.768 kHz quartz crystal connected between PC14 and PC15 to function. The MCU does not include a built-in RC alternative for RTC clocking; however, the internal 37 kHz LSI RC can serve as a lower-accuracy backup RTC source if crystal startup fails.
How many independent PWM outputs can be generated simultaneously?
Up to 12 independent PWM outputs are possible: TIM2 (4 channels), TIM21 (2 channels), TIM22 (2 channels), and LPTIM (1 channel with configurable polarity). Channel availability depends on GPIO remapping and peripheral clock configuration; all timers support center-aligned and edge-aligned modes with dead-time insertion on advanced channels.
STM32L031G6U6STR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM32L0
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit Single-Core
- Speed:
- 32MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, POR, PWM, WDT
- Number of I/O:
- 23
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 8K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.65V ~ 3.6V
- Data Converters:
- A/D 10x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32L031G6U6STR FAQ
1.How can I place an order for STM32L031G6U6STR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L031G6U6STR on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32L031G6U6STR reliable?
The price and inventory of STM32L031G6U6STR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031G6U6STR is usually 5 days.
3.What payment methods are accepted for STM32L031G6U6STR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031G6U6STR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L031G6U6STR?
STM32L031G6U6STR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L031G6U6STR order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32L031G6U6STR?
For technical support, including STM32L031G6U6STR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031G6U6STR requirements.
6.How does Aetrix verify that STM32L031G6U6STR is sourced from the original manufacturer or authorized distributors?
All STM32L031G6U6STR products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32L031G6U6STR meets industry standards.
7.What is the process for return or replacement of STM32L031G6U6STR?
All STM32L031G6U6STR units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031G6U6STR, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32L031G6U6STR part is unused and in its original packaging.
Return procedure for STM32L031G6U6STR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L031G6U6STR Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

