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

- Shipping:

Inventory:1,960
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G3U6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 KB Flash, 256 bytes data EEPROM, RTC, 12-bit ADC (1 Msps, 28 channels), two 16-bit timers, and I²C/SPI/USART interfaces in a 28-pin UFQFPN package. It operates from 1.65–3.6 V across –40 to +85 °C and targets battery-powered sensor nodes and portable medical devices requiring sub-μA sleep current and fast 5 µs wakeup.
For engineers reviewing the STM8L151G3U6 datasheet, STM8L151G3U6 pinout, STM8L151G3U6 application, or STM8L151G3U6 equivalent, key selection criteria include ultra-low-power mode support (Active-halt with RTC), integrated capacitive touch sensing (20 channels), and factory-trimmed 16 MHz RC oscillator for timing-critical embedded control without external crystals.
Technical Context
The STM8L151G3U6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates three oscillators: 32 kHz LSE for RTC, internal 38 kHz low-consumption RC, and factory-trimmed 16 MHz HSI with ±1% accuracy over voltage/temperature.
Power management includes five low-power modes-Wait, Low-power Run, Low-power Wait, Active-halt with RTC, and Halt-with per-I/O leakage as low as 50 nA and 5 µs wakeup from Halt. The RTC supports BCD calendar, alarm interrupt, digital calibration (±0.5 ppm), and auto-wakeup via periodic interrupt.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution without cache misses. |
| Max Clock Frequency | 16 MHz (from internal 16 MHz RC or external crystal); eliminates need for external high-frequency clock source. |
| Flash / EEPROM | 8 KB Flash program memory + 256 bytes data EEPROM with ECC; supports robust firmware updates and nonvolatile parameter storage. |
| ADC Performance | 12-bit resolution, up to 1 Msps, 28 input channels including temp sensor and internal reference; enables high-accuracy analog monitoring in compact systems. |
| Low-Power Modes | 5 modes including Active-halt with RTC (0.3 µA typical); extends battery life in always-on sensing applications. |
| I/O Count & CapSense | Up to 41 I/Os, all mappable to interrupts; 20-channel capacitive sensing engine supports touchkey, proximity, linear, and rotary touch without external IC. |
| Supply Voltage Range | 1.65–3.6 V (without BOR), 1.8–3.6 V (with BOR); compatible with single-cell Li-ion, coin cell, and energy-harvesting sources. |
Pinout & Package
STM8L151G3U6 is housed in a 28-pin UFQFPN (4 × 4 mm, 0.5 mm pitch) package with exposed thermal pad. Pin functions are validated per STMicroelectronics DS7204 Rev 11, Figure 5 (UFQFPN28 pinout).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDD powers core/peripherals; VSS provides low-noise return path for analog/digital sections. |
| NRST | Reset input | Active-low reset with programmable threshold; supports reliable brown-out recovery and external reset assertion. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/O | 41 total I/Os; all support interrupt generation, wake-up from low-power modes, and configurable pull-up/down. |
| OSC_IN / OSC_OUT | External crystal oscillator interface | Supports 32 kHz LSE (RTC) or 1–16 MHz HSE; enables precise timing or ultra-low-power real-time calendar operation. |
| SWIM | Single-wire interface for debug/programming | Enables non-intrusive on-chip debugging and fast flash programming without dedicated JTAG pins. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm, ±0.5 ppm digital calibration, and auto-wakeup from Halt-enables decade-long battery life in time-stamped sensor logging. |
| Capacitive Sensing Controller | Hardware-accelerated 20-channel touch engine supporting touchkey, proximity, linear, and rotary sensors-replaces discrete R/C networks and reduces firmware overhead. |
| Flexible Clock Security | Dual clock security system monitors HSE/LSE failure and triggers safe reset-ensures fail-safe operation in safety-critical portable equipment. |
| Programmable Voltage Detector | Configurable PVD with 8 thresholds (1.9–3.4 V); enables adaptive brown-out response and graceful shutdown before data corruption. |
| DMA Support | 4 peripheral DMA channels (ADC, SPI, I²C, USART) + 1 memory-to-memory channel-offloads CPU during high-throughput data transfers. |
Applications
| Smart Wearable Sensor Node | Portable Medical Monitor |
|---|---|
Use Scenario: Continuous ECG/temperature logging in wrist-worn health tracker powered by CR2032 coin cell. IC Role / Device Role / Timing Role: Central controller managing analog front-end sampling, RTC timestamping, BLE subsystem wakeup, and low-power state orchestration. Use Value: 0.3 µA Active-halt current with RTC enables >3-year battery life; integrated 12-bit ADC and temp sensor eliminate external signal conditioning ICs. |
Use Scenario: Handheld blood glucose meter with capacitive touch UI and USB/UART data export. IC Role / Device Role / Timing Role: Main MCU handling strip detection, electrochemical measurement, touch button decoding, and calibrated result display. Use Value: 20-channel capacitive sensing supports multi-button UI without overlays; factory-trimmed 16 MHz RC ensures consistent timing for amperometric measurement windows. |
| Industrial Wireless Sensor Transmitter | Energy-Harvesting Environmental Logger |
Use Scenario: Battery-free LoRaWAN node harvesting vibration energy, measuring temperature/humidity, and transmitting hourly. IC Role / Device Role / Timing Role: System manager coordinating energy buffer management, sensor polling, RTC-triggered transmission, and deep-sleep scheduling. Use Value: 50 nA I/O leakage prevents parasitic discharge of supercapacitor energy store; fast 5 µs wakeup minimizes active time per measurement cycle. |
Use Scenario: Solar-powered soil moisture logger deployed in remote agriculture sites with seasonal light exposure. IC Role / Device Role / Timing Role: Autonomous data acquisition unit controlling ADC sequencing, EEPROM logging, RTC calendar maintenance, and solar charge management. Use Value: Data EEPROM with ECC ensures integrity of long-term field data; LSE-based RTC maintains accurate time across power interruptions during cloudy periods. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L051F3P6 | 4 KB Flash, no RTC, no capacitive sensing, TSSOP20 package | Targeted at cost-sensitive, non-calendar, non-touch applications like simple LED controllers | Select when RTC and touch are unnecessary and PCB space is constrained to 20-pin footprint. |
| STM32L011D4P6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, same 28-pin UFQFPN | Higher performance, richer peripherals (AES, true RNG), but higher active current and toolchain complexity | Choose when firmware scalability, cryptographic features, or future feature expansion outweigh ultra-low static power requirements. |
Compared with STM8L051F3P6, STM8L151G3U6 adds RTC and capacitive sensing at modest cost premium; versus STM32L011D4P6, it delivers lower active and standby current with simpler development flow-ideal for deeply embedded, battery-limited designs where 8-bit throughput suffices.
Availability
STM8L151G3U6 is available at Aetrix Electronics and suitable for smart wearables, portable medical monitors, industrial wireless sensors, and energy-harvesting environmental loggers requiring stable component supply and long-term production continuity.
Supply support for STM8L151G3U6 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 battery-operated and energy-constrained applications-delivering sub-microamp sleep currents, integrated analog peripherals, and robust firmware protection for long-life embedded deployments.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM8L151G3U6 achieves a maximum 16 MHz CPU frequency using its internal factory-trimmed 16 MHz RC oscillator, which maintains ±1% accuracy across 1.65–3.6 V and –40 to +85 °C. External crystal options (1–16 MHz HSE or 32 kHz LSE) are also supported, but the trimmed RC eliminates BOM cost and board space for timing components while meeting timing-critical real-time control needs.
Does STM8L151G3U6 support hardware-based capacitive touch sensing?
Yes-it integrates a dedicated capacitive sensing controller supporting up to 20 channels with hardware-accelerated acquisition, automatic baseline tracking, and noise filtering. It supports touchkey, proximity, linear slider, and rotary wheel configurations without external components or CPU intervention, enabling robust touch UIs in space-constrained portable devices.
How does the RTC maintain accuracy in ultra-low-power mode?
The RTC uses the 32 kHz LSE crystal oscillator with digital calibration achieving ±0.5 ppm accuracy. It remains active in Active-halt mode (0.3 µA typical), supports BCD calendar, alarm interrupt, and auto-wakeup via periodic interrupt-all while maintaining timekeeping integrity across power cycles and temperature variations from –40 to +85 °C.
What debug interface does STM8L151G3U6 use and what are its advantages?
It uses SWIM (Single-Wire Interface Module)-a proprietary STMicroelectronics debug/programming interface requiring only one pin (SWIM) plus VDD/VSS. SWIM enables non-intrusive on-chip debugging, fast flash programming, and full memory access without dedicated JTAG/SWD pins, reducing PCB routing complexity and pin count in compact 28-pin UFQFPN layouts.
STM8L151G3U6 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:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 256 x 8
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 18x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G3U6 FAQ
1.How can I place an order for STM8L151G3U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G3U6 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 STM8L151G3U6 reliable?
The price and inventory of STM8L151G3U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G3U6 is usually 5 days.
3.What payment methods are accepted for STM8L151G3U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G3U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G3U6?
STM8L151G3U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G3U6 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 STM8L151G3U6?
For technical support, including STM8L151G3U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G3U6 requirements.
6.How does Aetrix verify that STM8L151G3U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151G3U6 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 STM8L151G3U6 meets industry standards.
7.What is the process for return or replacement of STM8L151G3U6?
All STM8L151G3U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G3U6, 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 STM8L151G3U6 part is unused and in its original packaging.
Return procedure for STM8L151G3U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G3U6 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…

