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

- Shipping:

Inventory:5,880
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G6U3 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 125 °C and targets battery-powered industrial sensors and portable medical devices.
For engineers reviewing the STM8L151G6U3 datasheet, STM8L151G6U3 pinout, STM8L151G6U3 application, or STM8L151G6U3 equivalent, key selection criteria include active-halt current (1.3 µA with full RTC), Halt mode leakage (350 nA), fast wakeup time (4.7 µs), 41 mappable I/Os, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151G6U3 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.
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-pin 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 | 32 KB Flash (RWW, ECC), 1 KB data EEPROM (ECC), 2 KB RAM; supports robust firmware updates and parameter retention. |
| ADC | 12-bit, up to 1 Msps, 25 channels including temperature sensor and internal reference; enables high-resolution analog monitoring in compact systems. |
| DAC | 12-bit DAC with output buffer; provides precise analog output for calibration signals or bias generation. |
| Low-Power Halt Current | 350 nA at 3.0 V, –40 °C to 85 °C; allows multi-year operation on coin-cell batteries in always-on sensing nodes. |
| RTC Accuracy | BCD calendar with alarm and periodic wakeup; maintains timekeeping during Active-Halt with external 32 kHz crystal (±20 ppm typical). |
Pinout & Package
STM8L151G6U3 is housed in a 28-pin UFQFPN (4 × 4 mm, 0.5 mm pitch) package with exposed thermal pad. Pin functions are fully mappable to interrupt vectors, supporting flexible PCB layout and signal routing.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual-supply domain: VDD powers digital/analog peripherals; VSS provides low-noise return path for precision ADC/DAC operation. |
| NRST | Active-low reset input | Accepts standard push-pull or open-drain reset sources; integrated pull-up ensures reliable boot without external components. |
| SWIM | Single-wire interface for debug/programming | Enables non-intrusive in-circuit debugging and flash programming using one dedicated pin-no JTAG overhead. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD5 | General-purpose I/Os | All 41 pins support interrupt mapping, capacitive sensing, and alternate functions (USART, SPI, I²C, timers); PA0 includes high-sink LED driver capability. |
| OSC_IN / OSC_OUT | HSE oscillator terminals | Supports 1–16 MHz external crystal or ceramic resonator; critical for precise timing in communication or measurement applications. |
| LSE_IN / LSE_OUT | LSE oscillator terminals | Connects 32.768 kHz crystal for RTC operation; enables autonomous calendar and periodic wakeup during Active-Halt mode. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with full memory retention-enables decade-scale battery life in remote telemetry nodes. |
| Flexible clock system | Dual oscillators (HSE + LSE) plus factory-trimmed 16 MHz RC and 38 kHz low-power RC-eliminates need for external timing components in most designs. |
| Capacitive touch controller | 16-channel hardware-accelerated touch sensing-supports touchkey, proximity, linear, and rotary interfaces without CPU load. |
| Memory protection | Programmable read/write protection for Flash and EEPROM, plus ECC on both-ensures firmware integrity and data reliability in harsh environments. |
| SWIM debug interface | Single-pin, non-intrusive programming and real-time debugging-reduces debug footprint and simplifies production test setup. |
Applications
| Industrial Sensor Node | Portable Medical Monitor |
|---|---|
|
Use Scenario: Wireless temperature/humidity/pressure node powered by CR2032 battery with 10-year target lifetime. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-triggered sleep/wake cycles, and BLE subsystem wakeup via GPIO. Use Value: 350 nA Halt current and 4.7 µs wakeup enable sub-µA average system current and responsive event handling. |
Use Scenario: Handheld pulse oximeter requiring low-noise analog front-end and battery runtime > 20 hours. IC Role / Device Role / Timing Role: Signal processor interfacing with photodiode ADC, driving OLED display via GPIO, and managing user interface buttons. Use Value: Integrated 12-bit ADC (1 Msps) and 12-bit DAC support simultaneous analog acquisition and calibration signal generation. |
| Smart Utility Meter | Asset Tracking Beacon |
|
Use Scenario: Battery-operated water/gas meter logging flow data hourly and transmitting via NB-IoT every 24 hours. IC Role / Device Role / Timing Role: Data concentrator with RTC calendar, EEPROM-based data logging, and USART-controlled modem interface. Use Value: 1 KB ECC EEPROM ensures tamper-resistant storage of billing-critical usage records across 10+ years. |
Use Scenario: GPS-denied indoor asset tag reporting location via BLE RSSI triangulation every 5 minutes. IC Role / Device Role / Timing Role: Low-power coordinator acquiring accelerometer data, computing motion state, and triggering BLE advertising packets. Use Value: 16-channel capacitive sensing enables proximity detection and button-free interaction, reducing mechanical wear. |
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 |
|---|---|---|---|
| STM8L152K4T6 | Includes LCD controller (4×28 segments); same Flash/RAM but no LCD driver in STM8L151G6U3. | Required only when segment-based display is needed; adds ~0.5 mA static LCD bias current. | Select STM8L151G6U3 when display is absent-reduces BOM cost and eliminates LCD-related layout constraints. |
| STM32L051K8U6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, lower active current (113 µA/MHz), but higher Halt current (300 nA vs. 350 nA). | Better for complex firmware (RTOS, crypto); less optimal for pure 8-bit deterministic control with minimal memory footprint. | Choose STM8L151G6U3 for legacy 8-bit codebase compatibility, smaller die size, and proven toolchain maturity in cost-sensitive designs. |
Compared with STM8L152K4T6, STM8L151G6U3 removes LCD circuitry to reduce leakage and cost; versus STM32L051K8U6, it trades 32-bit flexibility for lower gate count, simpler peripheral mapping, and faster interrupt latency in deterministic sensor polling loops.
Availability
STM8L151G6U3 is available at Aetrix Electronics and suitable for industrial sensor nodes, portable medical monitors, smart utility meters, and asset tracking beacons requiring stable component supply over extended product lifecycles.
Supply support for STM8L151G6U3 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 products for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU family targets energy-constrained applications such as battery-powered instrumentation, wearable health devices, and smart infrastructure sensors-prioritizing nanowatt operation without sacrificing peripheral richness or development simplicity.
FAQ
What is the minimum operating voltage for STM8L151G6U3 in Halt mode?
The STM8L151G6U3 supports Halt mode operation down to 1.65 V, maintaining full memory retention and RTC functionality. At 1.65 V and 25 °C, typical Halt current is 350 nA; datasheet Table 26 confirms operation across the full 1.65–3.6 V range with specified timing and leakage behavior.
Does STM8L151G6U3 support hardware-accelerated AES encryption?
No. The STM8L151G6U3 does not include hardware cryptographic accelerators. It relies on software-based implementations for security functions. For AES support, ST recommends the STM32L4 or STM32U5 series, which integrate dedicated crypto processors and true random number generators.
Can the 12-bit DAC output drive a 1 kΩ load directly?
Yes-the integrated DAC includes a rail-to-rail output buffer capable of sourcing/sinking ±5 mA, enabling direct drive of 1 kΩ loads with <1 LSB INL error. Datasheet Table 50 specifies output impedance <1 Ω and settling time <10 µs for full-scale steps under these conditions.
How many I/O pins support capacitive touch sensing on STM8L151G6U3?
The STM8L151G6U3 supports up to 16 capacitive sensing channels across its GPIO ports (PA–PD). These are implemented in hardware via the TS (Touch Sensing) controller, requiring no CPU intervention during acquisition and supporting touchkey, proximity, linear, and rotary configurations per AN4649 application note.
STM8L151G6U3 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 ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G6U3 FAQ
1.How can I place an order for STM8L151G6U3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G6U3 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 STM8L151G6U3 reliable?
The price and inventory of STM8L151G6U3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G6U3 is usually 5 days.
3.What payment methods are accepted for STM8L151G6U3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G6U3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G6U3?
STM8L151G6U3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G6U3 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 STM8L151G6U3?
For technical support, including STM8L151G6U3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G6U3 requirements.
6.How does Aetrix verify that STM8L151G6U3 is sourced from the original manufacturer or authorized distributors?
All STM8L151G6U3 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 STM8L151G6U3 meets industry standards.
7.What is the process for return or replacement of STM8L151G6U3?
All STM8L151G6U3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G6U3, 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 STM8L151G6U3 part is unused and in its original packaging.
Return procedure for STM8L151G6U3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G6U3 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…

