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

- Shipping:

Inventory:3,917
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G4U6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 16 MHz STM8 core, 16 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 up to 41 I/Os in a 28-pin UFQFPN package. It targets battery-powered sensor nodes, portable medical devices, and smart utility meters requiring sub-µA sleep current and fast wake-up.
For engineers reviewing the STM8L151G4U6 datasheet, STM8L151G4U6 pinout, STM8L151G4U6 application, or STM8L151G4U6 equivalent, key selection criteria include active-halt current (1.3 µA), Halt-mode wakeup time (4.7 µs), 1.65–3.6 V operating range, LCD support exclusion (G4 variant), and SWIM debug interface compatibility.
Technical Context
The STM8L151G4U6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates dual clock domains: high-speed (HSE/LSE/HSI) and low-speed (LSI/38 kHz 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 with full RTC (1.3 µA), and Halt (350 nA)-with per-I/O leakage as low as 50 nA and guaranteed 4.7 µs wake-up from Halt mode.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution and efficient code density. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance for sensor fusion and control loop execution. |
| Flash / EEPROM / RAM | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM; supports robust firmware updates and parameter retention. |
| ADC Resolution & Speed | 12-bit SAR ADC, up to 1 Msps across 25 channels; includes internal temperature sensor and reference voltage for self-calibration. |
| DAC Resolution & Output | 12-bit DAC with output buffer; drives analog actuators or reference signals without external op-amp buffering. |
| Low-Power Halt Current | 350 nA at 3.0 V, -40°C to 85°C; enables multi-year operation on coin-cell batteries in metering applications. |
| RTC Calendar Function | BCD-coded real-time clock with alarm interrupt and auto-wakeup from Halt; maintains timekeeping during deepest sleep state. |
Pinout & Package
STM8L151G4U6 is housed in a 28-pin Ultra Thin Fine Pitch Quad Flat No-lead (UFQFPN28) package, 4 × 4 mm, 0.5 mm pitch, with exposed thermal pad. Pinout conforms to STM8L151Gx series layout (Figure 5, DS6372 Rev 17).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O domain operation; decoupling required per datasheet layout guidelines. |
| NRST | Active-low reset input | Accepts external reset pulse; integrated ultra-low-power POR/PDR and programmable voltage detector (PVD) enable system-level brownout protection. |
| SWIM | Single-wire interface for debugging | Enables non-intrusive programming and real-time debugging via dedicated pin; no JTAG overhead or pin count penalty. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD3 | General-purpose I/Os | All 41 pins support interrupt mapping; 16 support capacitive sensing; PA0 includes high-sink LED driver capability (20 mA). |
| OSC_IN / OSC_OUT | External crystal oscillator terminals | Supports 1–16 MHz HSE or 32.768 kHz LSE crystals; critical for precise RTC timing and low-jitter system clock generation. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with RTC running; enables decade-scale battery life in always-on monitoring systems. |
| Fast wake-up from Halt | 4.7 µs guaranteed; allows rapid response to external interrupts while preserving energy budget. |
| Embedded ECC on Flash & EEPROM | Hardware error correction protects firmware and calibration data against bit flips in harsh EMI environments. |
| Capacitive touch sensing | 16-channel hardware-accelerated CTS; supports touchkey, proximity, linear, and rotary sensors without CPU load. |
| Flexible clock security | Dual oscillator monitoring with automatic failover to backup RC source; prevents system lockup due to crystal failure. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered gas/water/electricity meters logging consumption data hourly and transmitting via LPWAN. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-timed data logging, secure EEPROM storage, and low-power RF subsystem wake-up. Use Value: 1.3 µA Active-Halt current extends 10-year battery life; 4.7 µs wake-up ensures timely response to tamper or leak events. |
Use Scenario: Wearable ECG or SpO₂ monitor operating continuously on CR2032 cell. IC Role / Device Role / Timing Role: Signal acquisition hub interfacing analog front-end, driving display backlight, and managing Bluetooth LE connection intervals. Use Value: 12-bit ADC + internal reference enables ±1.5 LSB accuracy at 1.8 V; 50 nA I/O leakage prevents signal path contamination. |
| Industrial Sensor Node | Asset Tracking Beacon |
Use Scenario: Wireless temperature/humidity/vibration node deployed in factory machinery with 6-month maintenance cycle. IC Role / Device Role / Timing Role: Multi-sensor aggregator with wake-on-event logic, data preprocessing, and SPI/I²C peripheral control. Use Value: 16-channel capacitive sensing detects mechanical wear; 195 µA/MHz active efficiency minimizes thermal rise in enclosed enclosures. |
Use Scenario: GPS-denied indoor asset tracker using BLE beaconing and motion-triggered location sampling. IC Role / Device Role / Timing Role: Motion-aware controller using internal comparator and accelerometer interface to gate power to GNSS module. Use Value: Two rail-to-rail comparators with wakeup capability reduce system BOM; unique 96-bit ID enables secure device binding. |
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 |
|---|---|---|---|
| STM8L151K4T6 | LQFP32 package (7×7 mm); 32 pins vs. 28; identical peripherals and memory but larger footprint and higher thermal mass. | Better suited for prototyping or designs requiring more routing flexibility and thermal dissipation. | Select when PCB layout constraints allow larger package and additional I/Os are needed beyond G4U6's 28-pin limit. |
| STM32L011K4U6 | 32-bit ARM Cortex-M0+, 32 KB Flash, 8 KB RAM, same UFQFPN28 package; higher performance but ~2× higher active current (220 µA/MHz). | Preferred for applications needing richer RTOS support, cryptographic acceleration, or future firmware scalability. | Choose when computational headroom, toolchain continuity with ARM ecosystem, or long-term roadmap alignment outweighs ultra-low-power optimization. |
Compared with STM8L151K4T6, the G4U6 offers smaller size and lower assembly cost; versus STM32L011K4U6, it delivers superior µA/MHz efficiency and simpler toolchain for deterministic 8-bit control, making it optimal for deeply embedded, cost-sensitive, battery-constrained roles.
Availability
STM8L151G4U6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial sensor nodes, and asset tracking beacons requiring stable component supply across extended product lifecycles.
Supply support for STM8L151G4U6 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 ICs, sensors, and analog components for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU family targets battery-operated and energy-harvesting applications where sub-microamp sleep current, fast wake-up, and robust peripheral integration are critical design requirements.
FAQ
Does STM8L151G4U6 support LCD driving?
No. The STM8L151G4U6 belongs to the STM8L151xx "without LCD" series (per Table 1, DS6372). Only STM8L152xx variants integrate the LCD controller and step-up converter. This part omits LCD-related pins and registers, reducing die size and cost for non-display applications.
What debug interface does STM8L151G4U6 use?
It uses the Single-Wire Interface Module (SWIM), a proprietary ST protocol requiring only one dedicated pin (SWIM) and ground. SWIM supports full-speed on-chip programming, real-time variable inspection, and non-intrusive breakpoints without halting peripheral operation.
Is the 1.65 V minimum supply voltage supported across all operating temperatures?
Yes. The datasheet specifies 1.65–3.6 V operation over the full industrial temperature range (−40 °C to +85 °C), validated in Table 18 and Figure 24. At 1.65 V, maximum frequency is reduced to 8 MHz, and certain peripherals (e.g., ADC accuracy) have tightened specifications per Table 54–56.
How many capacitive sensing channels are available on this device?
The STM8L151G4U6 supports up to 16 hardware-accelerated capacitive sensing channels, mapped across GPIO ports PA–PD. These channels implement charge-transfer measurement with built-in scan sequencing, enabling touchkey, proximity, linear, and rotary touch interfaces without CPU intervention.
STM8L151G4U6 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:
- 16KB (16K 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G4U6 FAQ
1.How can I place an order for STM8L151G4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G4U6 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 STM8L151G4U6 reliable?
The price and inventory of STM8L151G4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G4U6 is usually 5 days.
3.What payment methods are accepted for STM8L151G4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G4U6?
STM8L151G4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G4U6 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 STM8L151G4U6?
For technical support, including STM8L151G4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G4U6 requirements.
6.How does Aetrix verify that STM8L151G4U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151G4U6 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 STM8L151G4U6 meets industry standards.
7.What is the process for return or replacement of STM8L151G4U6?
All STM8L151G4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G4U6, 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 STM8L151G4U6 part is unused and in its original packaging.
Return procedure for STM8L151G4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G4U6 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…

