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

- Shipping:

Inventory:1,601
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G4U3 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, RTC with BCD calendar, and up to 28 I/Os in UFQFPN28 package - deployed in battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L151G4U3 datasheet, STM8L151G4U3 pinout, STM8L151G4U3 application, or STM8L151G4U3 equivalent, key selection criteria include ultra-low-power operation down to 350 nA in Halt mode, 1.65–3.6 V supply range, integrated capacitive touch sensing (up to 16 channels), and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151G4U3 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 HSI) and low-power (32 kHz LSE or 38 kHz LSI), enabling dynamic clock gating across peripherals.
Its power architecture supports five distinct low-power modes - including Active-halt (1.3 µA with full RTC) and Halt (350 nA) - with fast 4.7 µs wake-up from Halt. All I/Os exhibit ultra-low leakage (50 nA typical), and memory includes ECC-protected Flash and RWW-capable EEPROM.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline, 16 CISC MIPS peak performance at 16 MHz |
| Memory | 16 KB Flash (ECC-protected), 1 KB Data EEPROM (RWW enabled), 2 KB RAM |
| ADC | 12-bit, 1 Msps sampling rate, 25 input channels, internal temperature sensor & reference voltage |
| DAC | 12-bit, buffered output on PB4/PB5/PB6, monotonicity guaranteed over full temperature range |
| Low-Power Modes | Halt (350 nA), Active-halt w/ RTC (1.3 µA), Low power wait (3 µA), Low power run (5.1 µA) |
| Supply Range | 1.65 V to 3.6 V operating range; supports brown-out reset with 5 selectable thresholds |
| Capacitive Sensing | Up to 16 channels supporting touchkey, proximity, linear, and rotary touch - no external components required |
Pinout & Package
STM8L151G4U3 is housed in a 28-pin Ultra Thin Fine Pitch Quad Flat No-lead (UFQFPN28) package, 4 × 4 mm body, 0.5 mm pitch, with exposed thermal pad. Pinout validated per STMicroelectronics DS6372 Rev 17, Table 5 (Medium-density STM8L151x4/6 pin description) and Figure 5 (STM8L151Gx UFQFPN28 package pinout).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main digital supply (1.65–3.6 V); decoupling required near pin for noise immunity |
| VSS | GND reference | Digital ground; must be connected to PCB ground plane with low-inductance path |
| NRST | Reset input | Active-low reset with internal pull-up; accepts Schmitt-triggered signal for noise robustness |
| SWIM | Debug interface | Single-wire interface for programming and non-intrusive debugging; shares PA1 pin |
| PA0–PA7 | General-purpose I/O | Configurable as GPIO, analog input, or LED driver (PA0 supports high-sink current) |
| PB0–PB7 | General-purpose I/O | Support DAC outputs (PB4–PB6), USART, SPI, I²C, and capacitive sensing channels |
| PC0–PC7 | General-purpose I/O | Support timer channels, ADC inputs, and comparator inputs; all mappable to interrupt vectors |
| PD0–PD3 | General-purpose I/O | Support beeper timer, RTC alarm, and additional ADC inputs; enable wake-up from low-power modes |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm interrupt and auto-wakeup from Halt mode using periodic interrupt |
| Dual ultra-low-power comparators | One rail-to-rail comparator + one with fixed threshold; both support wake-up from all low-power modes |
| Flexible clock system | Four clock sources: 1–16 MHz HSE, 32 kHz LSE, 16 MHz HSI (±2% @ 3.0 V), 38 kHz LSI (±40%) |
| SWIM debug interface | Single-wire, non-intrusive on-chip debugging and programming without halting CPU execution |
| Capacitive touch controller | Hardware-accelerated touch sensing on up to 16 channels; eliminates need for external touch IC |
| Memory protection | Programmable read/write protection for Flash and EEPROM; option bytes enforce secure boot and IP protection |
Applications
| Smart Utility Metering | Wearable Health Monitor |
|---|---|
|
Use Scenario: Battery-operated gas/water meter with hourly pulse counting, tamper detection, and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing sensor interface, RTC-based scheduling, and low-power communication stack. Use Value: 350 nA Halt mode extends 10-year battery life; integrated comparators detect mechanical tampering via vibration sensing. |
Use Scenario: Disposable ECG patch with 7-day continuous monitoring, Bluetooth LE handoff, and motion artifact compensation. IC Role / Device Role / Timing Role: Signal acquisition hub performing analog front-end conditioning, ADC sampling, and real-time motion filtering. Use Value: 1 Msps 12-bit ADC captures high-fidelity biopotentials; capacitive touch enables user-initiated event marking without buttons. |
| Industrial Sensor Node | Asset Tracking Beacon |
|
Use Scenario: Wireless temperature/humidity node in HVAC ducts, logging data every 5 minutes and transmitting via LoRaWAN. IC Role / Device Role / Timing Role: Autonomous data logger with RTC-triggered wake-up, sensor polling, and SPI-driven transceiver control. Use Value: Active-halt mode (1.3 µA w/ RTC) ensures precise timekeeping during sleep; 1 KB EEPROM stores calibration coefficients with ECC. |
Use Scenario: GPS-denied indoor asset tracker using BLE proximity and accelerometer-based motion detection. IC Role / Device Role / Timing Role: Motion-aware coordinator managing accelerometer interface, wake-on-motion logic, and BLE advertising timing. Use Value: 16-channel capacitive sensing detects enclosure opening; ultra-fast 4.7 µs wake-up minimizes latency in motion-triggered alerts. |
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 |
|---|---|---|---|
| STM8L051F3P6 | 8 KB Flash, 1 KB RAM, no DAC or LCD, only 20 I/Os; lacks capacitive sensing block | Suitable for simpler sensor endpoints where touch interface and DAC are unnecessary | Select when cost sensitivity outweighs feature requirements and design fits within 20-pin TSSOP footprint |
| STM32L011K4T6 | 32-bit ARM Cortex-M0+, 16 KB Flash, same 350 nA Halt current, but requires external crystal for full RTC accuracy | Better for firmware scalability and toolchain continuity where future migration to Cortex-M is planned | Choose if architectural alignment with STM32 ecosystem and peripheral consistency (e.g., DMA, AES) are prioritized over 8-bit code density |
Compared with STM8L051F3P6, STM8L151G4U3 adds DAC, capacitive sensing, and larger memory - critical for analog-rich edge nodes. Versus STM32L011K4T6, it delivers identical ultra-low-power performance with lower gate count, simpler toolchain, and native SWIM debug - advantageous for cost-constrained, deeply embedded designs.
Availability
STM8L151G4U3 is available at Aetrix Electronics and suitable for battery-powered sensor nodes, portable medical monitors, and industrial data loggers requiring stable component supply across multi-year production cycles.
Supply support for STM8L151G4U3 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 STM8L ultra-low-power MCU product line targets energy-constrained applications demanding sub-microamp sleep currents, integrated analog peripherals, and long-life battery operation - especially in smart metering, wearables, and IoT edge nodes.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L151G4U3 operates up to 16 MHz with a typical active current of 195 µA/MHz plus 440 µA base consumption at 3.0 V. At full speed (16 MHz), total Run mode current is approximately 3.56 mA, verified per DS6372 Rev 17 Table 20. This includes core, Flash, and peripheral activity under standard load conditions.
Does STM8L151G4U3 support hardware-accelerated capacitive touch sensing?
Yes - it integrates a dedicated capacitive sensing controller supporting up to 16 channels with built-in charge transfer, measurement, and baseline tracking. No external components or firmware-based RC oscillation are required, and it operates concurrently with other peripherals in all low-power modes except Halt.
Can the 12-bit DAC output drive external loads directly?
The DAC features an internal output buffer capable of sourcing/sinking ±2 mA while maintaining monotonicity and linearity. It can directly drive low-impedance loads such as op-amp inputs or small piezo elements, but not high-current devices like LEDs or motors - those require external amplification or switching stages.
Is SWIM debug supported in all low-power modes?
SWIM debug remains accessible in Run, Wait, and Low power run modes. It is disabled in Low power wait, Active-halt, and Halt modes - consistent with ST's design to minimize leakage and ensure deterministic low-power behavior. Debug reactivation requires a reset or wake-up event followed by host reconnection.
STM8L151G4U3 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 ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G4U3 FAQ
1.How can I place an order for STM8L151G4U3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G4U3 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 STM8L151G4U3 reliable?
The price and inventory of STM8L151G4U3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G4U3 is usually 5 days.
3.What payment methods are accepted for STM8L151G4U3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G4U3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G4U3?
STM8L151G4U3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G4U3 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 STM8L151G4U3?
For technical support, including STM8L151G4U3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G4U3 requirements.
6.How does Aetrix verify that STM8L151G4U3 is sourced from the original manufacturer or authorized distributors?
All STM8L151G4U3 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 STM8L151G4U3 meets industry standards.
7.What is the process for return or replacement of STM8L151G4U3?
All STM8L151G4U3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G4U3, 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 STM8L151G4U3 part is unused and in its original packaging.
Return procedure for STM8L151G4U3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G4U3 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…

