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

- Shipping:

Inventory:1,100
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L031G6U7STR 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 STM32L031G6U7STR datasheet, STM32L031G6U7STR pinout, STM32L031G6U7STR application, or STM32L031G6U7STR equivalent, key selection criteria include standby current (0.23 µA), 5 µs Flash wakeup time, 31 I/Os with 5V tolerance, and integrated ECC for Flash and EEPROM - critical for firmware integrity in field-deployed IoT edge devices.
Technical Context
The STM32L031G6U7STR implements a dual-voltage domain architecture with programmable voltage scaling (PVS) enabling dynamic power optimization across Run, Sleep, Stop, and Standby modes. Its clock system integrates multiple oscillators: 16 MHz factory-trimmed HSI (±1%), 32 kHz LSE for RTC calibration, and MSI (65 kHz–4.2 MHz) for low-power peripheral operation.
Core peripherals include a 7-channel DMA controller servicing ADC, USART, SPI, I2C, and timers; two ultra-low-power comparators with window mode and wake-up capability down to 1.65 V; and a CRC calculation unit with 96-bit unique ID. All I/Os support interrupt-on-change and configurable pull-up/pull-down.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 32 MHz max - enables deterministic real-time control with minimal code footprint |
| Flash / SRAM / EEPROM | 32 KB Flash with ECC, 8 KB SRAM, 1 KB EEPROM with ECC - ensures firmware/data resilience in harsh environments |
| ADC | 12-bit, 1.14 Msps, 10 channels - supports high-resolution analog sensing without external converters |
| Low-power modes | 0.23 µA Standby (2 wakeup pins), 0.6 µA Stop+RTC+8KB RAM retention - extends coin-cell battery life to >10 years |
| Operating voltage | 1.65–3.6 V - compatible with single-cell Li-ion, Li-SOCl₂, and alkaline battery systems |
| Temperature range | -40 to +125 °C - qualified for industrial and automotive under-hood sensor applications |
| I/O count & tolerance | 25 GPIOs (22 with 5V tolerance in UFQFPN28 package) - simplifies interface to legacy 5V logic and sensors |
Pinout & Package
STM32L031G6U7STR uses the UFQFPN28 (4 × 4 mm, 0.5 mm pitch) package with 25 usable pins (including VDD, VSS, NRST, BOOT0, and SWDIO/SWCLK). This compact, lead-free ECOPACK®2-compliant package supports reflow soldering and high-density PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD / VSS | Power supply / Ground | Dual VDD pins ensure stable core/peripheral rail decoupling; VSS pins provide low-inductance return paths |
| NRST | Active-low reset input | Accepts 1.65–3.6 V logic; internal pull-up enables reliable power-on reset without external RC network |
| BOOT0 | Boot mode selection | High at power-up selects system memory bootloader (USART/SPI); low selects user Flash execution |
| PA0–PA15, PB0–PB10 | General-purpose I/O | 22 pins support 5V-tolerant inputs - eliminates level shifters when interfacing with 5V sensors or UART transceivers |
| SWDIO / SWCLK | Serial Wire Debug interface | Enables full debug, flash programming, and real-time trace via 2-pin SWD - reduces test point count and BOM cost |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power BOR | 5 selectable brownout thresholds (1.6–2.8 V) - prevents erratic operation during battery sag without external supervisor IC |
| Integrated RTC + backup registers | 32.768 kHz LSE-calibrated RTC with 20-byte backup register - maintains timekeeping and state across full power loss |
| Pre-programmed bootloader | USART and SPI interfaces supported - enables field firmware updates without JTAG debugger or dedicated programmer |
| Hardware CRC unit | Polynomial configurable (0x4C11DB7, 0x1021, etc.) - accelerates OTA image validation and data packet integrity checks |
| Temperature sensor | Calibrated output (±1.5 °C accuracy) - provides on-chip thermal monitoring for battery management or environmental sensing |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with pulse counting, pressure sensing, and LoRaWAN backhaul. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based timestamping, secure boot, and low-power radio scheduling. Use Value: 0.23 µA standby current and 5 µs wakeup enable >15-year battery life with periodic hourly reads and event-triggered transmissions. | Use Scenario: Industrial vibration monitor mounted on rotating equipment with MEMS accelerometer and BLE reporting. IC Role / Device Role / Timing Role: Edge-processing node performing FFT preprocessing, threshold detection, and wake-on-event using ultra-low-power comparators. Use Value: Dual comparators with window mode detect mechanical anomalies below 100 µA average current, eliminating continuous ADC sampling. |
| Medical Wearable Patch | Asset Tracking Beacon |
Use Scenario: Disposable ECG patch with dry electrodes, Bluetooth LE, and 7-day runtime on CR2032. IC Role / Device Role / Timing Role: Signal conditioner and BLE subsystem controller handling ADC oversampling, digital filtering, and encrypted packet assembly. Use Value: 1 KB EEPROM stores calibration coefficients and patient IDs with ECC protection - meets IEC 62304 Class B data integrity requirements. | Use Scenario: GPS-denied indoor asset tracker using UWB time-of-flight and motion-triggered wake-up. IC Role / Device Role / Timing Role: Low-power coordinator managing UWB transceiver sleep cycles, motion detection via internal comparator, and RTC-synchronized beacon intervals. Use Value: 0.6 µA Stop+RTC+RAM retention preserves context while maintaining precise 10-second beacon timing - reduces duty cycle by 99.8% vs. continuous polling. |
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 UFQFPN32 package | Lacks EEPROM and reduced RAM limits firmware update staging and data logging depth | Select when cost sensitivity outweighs non-volatile data storage needs and application fits within 16 KB code space |
| EFM32HG309F64G | ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, no integrated EEPROM, higher active current (110 µA/MHz) | Requires external EEPROM for parameter storage; lacks hardware CRC and calibrated temperature sensor | Choose only if Silicon Labs toolchain compatibility or proprietary energy mode sequencing is required |
Compared with STM32L011K4T6 and EFM32HG309F64G, the STM32L031G6U7STR uniquely combines on-die ECC-protected EEPROM, sub-µA standby, and 5V-tolerant I/Os in a 4×4 mm package - making it optimal for space-constrained, maintenance-free deployments where data persistence and mixed-voltage interfacing are mandatory.
Availability
STM32L031G6U7STR is available at Aetrix Electronics and suitable for smart utility metering, wireless sensor nodes, medical wearable patches, and asset tracking beacons requiring stable component supply across multi-year production cycles.
Supply support for STM32L031G6U7STR 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 analog products for industrial, automotive, and consumer markets.
The STM32L0 series targets ultra-low-power embedded applications demanding extended battery life, robust firmware integrity, and seamless integration of analog peripherals - optimized for IoT endpoints, portable medical devices, and energy-harvesting systems.
FAQ
What is the maximum operating frequency and associated power consumption in Run mode?
The STM32L031G6U7STR operates up to 32 MHz with 76 µA/MHz typical current draw at 3.0 V and 25 °C. At full speed, total active current is approximately 2.43 mA - verified per DS10668 Rev 6 Table 24. Dynamic voltage scaling allows lower VDD in low-frequency modes to further reduce power.
Does this MCU support hardware encryption or secure boot features?
No. The STM32L031G6U7STR does not integrate hardware AES, SHA, or secure boot engines. It supports software-based cryptographic libraries and relies on write-protection sectors and ROP (read-out protection) Level 1/2 for basic firmware confidentiality - confirmed in Section 3.9 (Memories) and RM0377 Reference Manual.
Can the internal 32 kHz LSE oscillator be used for precise RTC timekeeping without an external crystal?
No. The LSE oscillator requires an external 32.768 kHz quartz crystal connected to OSC32_IN/OSC32_OUT pins to achieve ±20 ppm accuracy. The internal LSI (37 kHz RC) is not calibrated and drifts significantly with voltage/temperature - unsuitable for time-critical RTC applications per Section 6.3.6 and 6.3.7.
How many I/O pins support 5V tolerance, and which ones are they?
In the UFQFPN28 package, 22 GPIOs (PA0–PA15, PB0–PB6) are 5V tolerant when configured as inputs. This is explicitly defined in Table 15 (Pin definitions) and Section 6.3.13 of DS10668 Rev 6. Pins like NRST, BOOT0, and SWDIO are not 5V tolerant and require level-shifting if driven above VDD.
STM32L031G6U7STR 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:
- 21
- 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.8V ~ 3.6V
- Data Converters:
- A/D 10x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32L031G6U7STR FAQ
1.How can I place an order for STM32L031G6U7STR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L031G6U7STR 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 STM32L031G6U7STR reliable?
The price and inventory of STM32L031G6U7STR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031G6U7STR is usually 5 days.
3.What payment methods are accepted for STM32L031G6U7STR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031G6U7STR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L031G6U7STR?
STM32L031G6U7STR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L031G6U7STR 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 STM32L031G6U7STR?
For technical support, including STM32L031G6U7STR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031G6U7STR requirements.
6.How does Aetrix verify that STM32L031G6U7STR is sourced from the original manufacturer or authorized distributors?
All STM32L031G6U7STR 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 STM32L031G6U7STR meets industry standards.
7.What is the process for return or replacement of STM32L031G6U7STR?
All STM32L031G6U7STR units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031G6U7STR, 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 STM32L031G6U7STR part is unused and in its original packaging.
Return procedure for STM32L031G6U7STR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L031G6U7STR 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…

