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

- Shipping:

Inventory:4,555
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G6U7 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 32 KB Flash, 1 KB data EEPROM with ECC, 2 KB RAM, 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, two ultra-low-power comparators, RTC with BCD calendar and auto-wakeup, and capacitive touch sensing (up to 16 channels). It operates from 1.65 V to 3.6 V across –40 °C to 85 °C and targets battery-powered metering, portable medical devices, and smart sensors.
For engineers reviewing the STM8L151G6U7 datasheet, STM8L151G6U7 pinout, STM8L151G6U7 application, or STM8L151G6U7 equivalent, key selection criteria include active-halt current (1.3 µA with full RTC), Halt mode consumption (350 nA), fast wakeup time (4.7 µs), 41 mappable I/Os, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151G6U7 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates dual clock domains: high-speed (1–16 MHz HSE or 16 MHz factory-trimmed RC) and low-speed (32 kHz LSE or 38 kHz low-consumption RC), managed by a clock security system for fault detection.
Its power architecture supports five distinct low-power modes-Wait, Low Power Run (5.1 µA), Low Power Wait (3 µA), Active-Halt (1.3 µA with RTC), and Halt (350 nA)-with per-I/O leakage limited to 50 nA and guaranteed 4.7 µs wake-up from Halt. The RTC operates independently in Active-Halt using the 32 kHz LSE oscillator.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic 16 MIPS peak performance at 16 MHz. |
| Flash / EEPROM / RAM | 32 KB Flash with RWW and read/write protection; 1 KB data EEPROM with ECC; 2 KB RAM - supports robust firmware updates and secure parameter storage. |
| ADC / DAC | 12-bit ADC up to 1 Msps across 25 channels, including temperature sensor and internal reference; 12-bit DAC with output buffer on PB4–PB6 - enables precision analog monitoring and control. |
| Low-Power Modes | Halt mode draws 350 nA (VDD = 1.65–3.6 V); Active-Halt with RTC consumes 1.3 µA - extends coin-cell battery life to multi-year operation. |
| RTC & Wakeup | BCD calendar with alarm interrupt and periodic auto-wakeup from Halt; 4.7 µs wakeup latency - ensures precise timekeeping and responsive event handling without CPU overhead. |
| Capacitive Sensing | Up to 16-channel hardware-accelerated touch sensing supporting touchkey, proximity, linear, and rotary interfaces - eliminates external controller in HMI designs. |
| I/O & Debug | 41 I/Os, all mappable to interrupt vectors; SWIM single-wire interface for programming and non-intrusive debugging - simplifies PCB routing and field firmware updates. |
Pinout & Package
STM8L151G6U7 is packaged in UFQFPN28 (4 × 4 mm, 0.5 mm pitch), a space-constrained, thermally efficient package suitable for compact portable electronics. Pin functions are validated per ST's DS6372 Rev 17, Table 5 (pin description) and Figure 5 (UFQFPN28 pinout).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domain: VDD powers digital/analog peripherals; VSS provides reference return - requires local decoupling for low-noise ADC/DAC operation. |
| NRST | Active-low reset input | Accepts external reset pulse; integrated low-power BOR with 5 selectable thresholds ensures reliable startup across voltage and temperature. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE3 | General-purpose I/Os | 41 total I/Os; all support interrupt mapping and most support alternate functions (USART, SPI, I²C, timers); PA0 includes high-sink LED driver capability. |
| OSC_IN / OSC_OUT | HSE crystal oscillator terminals | Supports 1–16 MHz external crystal; paired with internal oscillator trimming for stable timing in precision applications like metering. |
| LSE_IN / LSE_OUT | LSE crystal oscillator terminals | Drives 32.768 kHz crystal for RTC; enables calendar accuracy and ultra-low-power timekeeping independent of main clock domain. |
| SWIM | Single-wire interface module | Enables on-chip programming and real-time debugging via one pin - reduces test/debug footprint and cost in production. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm and periodic wakeup from Halt mode using 32 kHz LSE - maintains time integrity during multi-year battery operation. |
| Flexible memory protection | Programmable read/write protection for Flash and EEPROM, plus ECC on EEPROM - prevents unauthorized access and ensures data integrity over 100k write cycles. |
| DMA controller | 4-channel DMA supporting ADC, DAC, SPI, I²C, USART, and timers - offloads CPU during high-throughput peripheral transfers, reducing active time and power. |
| Embedded analog subsystem | Two rail-to-rail ultra-low-power comparators (one with fixed threshold), 12-bit ADC with internal reference and temperature sensor - enables autonomous analog event detection without CPU intervention. |
| Capacitive touch controller | Hardware-accelerated acquisition for up to 16 channels with built-in noise filtering - delivers robust touch performance in noisy industrial or consumer environments. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered gas/water meters requiring decade-long operation with periodic RF transmission and tamper detection. IC Role / Device Role / Timing Role: Primary system controller managing sensor acquisition, RTC-based billing intervals, LCD display, and secure data logging. Use Value: 350 nA Halt mode and 1.3 µA Active-Halt with RTC enable >10-year coin-cell life; 12-bit ADC ensures accurate pressure/flow measurement. |
Use Scenario: Wearable ECG or glucose monitors needing clinical-grade analog front-end and low-power continuous sensing. IC Role / Device Role / Timing Role: Analog signal conditioner and data aggregator interfacing with biopotential sensors, driving low-power display or BLE interface. Use Value: Integrated 12-bit ADC with internal reference and temperature sensor enables calibrated measurements; SWIM allows in-field calibration updates. |
| Industrial Wireless Sensor Nodes | Home Automation Touch Panels |
Use Scenario: Self-powered environmental nodes (temp/humidity/pressure) transmitting via LoRaWAN or NB-IoT every 15 minutes. IC Role / Device Role / Timing Role: System-on-chip managing sensor polling, data preprocessing, RTC-triggered transmission, and deep-sleep scheduling. Use Value: 5.1 µA Low Power Run mode sustains active sensing without compromising battery life; 41 I/Os support multiple sensor interfaces and expansion headers. |
Use Scenario: Wall-mounted smart switches and thermostats with glass-touch surfaces and segmented LCD displays. IC Role / Device Role / Timing Role: Capacitive touch processor and LCD controller with integrated step-up converter for segment biasing. Use Value: Hardware-accelerated 16-channel touch engine eliminates host MCU load; LCD driver supports up to 4×28 segments - reduces BOM count and layout complexity. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L052C6T6 | 16 KB Flash, no RTC, no DAC, 12-bit ADC only (up to 1 Msps), 2 KB RAM, same 350 nA Halt mode. | Suitable for cost-sensitive, RTC-free sensor endpoints where calendar functionality is unnecessary. | Select when RTC, EEPROM ECC, or DAC are not required - offers lower unit cost and identical ultra-low-power profile. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, 12-bit ADC (1.14 Msps), 12-bit DAC, RTC with calibration, but higher active current (195 µA/MHz vs. 195 µA/MHz + 440 µA base). | Better for applications needing richer firmware (RTOS, crypto), higher compute throughput, or future scalability beyond 8-bit constraints. | Choose when architectural headroom, toolchain continuity with ARM ecosystem, or enhanced peripheral integration outweighs 8-bit simplicity and minimal footprint. |
Compared with STM8L052C6T6, STM8L151G6U7 adds RTC, DAC, and EEPROM ECC for time-critical and analog-intensive use cases; versus STM32L053R8T6, it delivers lower system-level power in deeply embedded roles while retaining SWIM debug simplicity and smaller code footprint.
Availability
STM8L151G6U7 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home automation touch panels requiring stable component supply and long-term lifecycle assurance.
Supply support for STM8L151G6U7 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 components for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU product line targets energy-constrained applications such as battery-operated meters, wearables, and IoT edge nodes, emphasizing sub-µA sleep modes, integrated analog peripherals, and robust development tooling.
FAQ
What is the minimum operating voltage for STM8L151G6U7 in Halt mode?
The STM8L151G6U7 supports Halt mode operation down to 1.65 V, with typical current consumption of 350 nA across the full 1.65–3.6 V supply range. This enables reliable operation with aging primary batteries or supercapacitor backup systems without brownout risk.
Does STM8L151G6U7 support hardware-accelerated capacitive touch sensing?
Yes - it integrates a dedicated capacitive sensing controller supporting up to 16 channels with hardware acquisition, noise filtering, and automatic recalibration. It supports touchkey, proximity, linear slider, and rotary wheel configurations without CPU intervention.
Can the 12-bit DAC output drive external loads directly?
The integrated 12-bit DAC includes an output buffer capable of sourcing/sinking ±5 mA, enabling direct drive of small analog circuits (e.g., op-amp inputs, transducer biasing, or LED dimming) without external amplification - verified per DS6372 Table 52.
Is SWIM debugging supported in all low-power modes?
SWIM debugging remains active in Run, Wait, and Low Power Wait modes. It is disabled in Active-Halt and Halt modes to preserve ultra-low current; however, the device can be woken via RTC alarm or external interrupt and re-enter debuggable state within 4.7 µs.
STM8L151G6U7 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM8L EnergyLite
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, IR, POR, PWM, WDT
- Number of I/O:
- 26
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 18x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G6U7 FAQ
1.How can I place an order for STM8L151G6U7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G6U7 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 STM8L151G6U7 reliable?
The price and inventory of STM8L151G6U7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G6U7 is usually 5 days.
3.What payment methods are accepted for STM8L151G6U7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G6U7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G6U7?
STM8L151G6U7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G6U7 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 STM8L151G6U7?
For technical support, including STM8L151G6U7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G6U7 requirements.
6.How does Aetrix verify that STM8L151G6U7 is sourced from the original manufacturer or authorized distributors?
All STM8L151G6U7 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 STM8L151G6U7 meets industry standards.
7.What is the process for return or replacement of STM8L151G6U7?
All STM8L151G6U7 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G6U7, 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 STM8L151G6U7 part is unused and in its original packaging.
Return procedure for STM8L151G6U7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G6U7 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…

