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

- Shipping:

Inventory:2,580
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G6U6 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 STM8L151G6U6 datasheet, STM8L151G6U6 pinout, STM8L151G6U6 application, or STM8L151G6U6 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 GPIOs with interrupt mapping, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151G6U6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates dual crystal oscillators (1–16 MHz HSE and 32 kHz LSE), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC with clock security system.
Power management includes five configurable low-power modes-Wait, Low Power Run (5.1 µA), Low Power Wait (3 µA), Active-Halt with RTC (1.3 µA), and Halt (350 nA)-with per-I/O leakage as low as 50 nA and 4.7 µs wake-up from Halt. The RTC supports BCD calendar, alarm interrupts, and periodic auto-wakeup.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard core with 3-stage pipeline, 16 MIPS peak performance at 16 MHz |
| Memory | 32 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM |
| ADC | 12-bit, up to 1 Msps, 25 input channels, integrated temperature sensor and VREFINT |
| DAC | 12-bit, buffered output, supports PB4/PB5/PB6 pins |
| Low-Power Modes | Halt mode: 350 nA; Active-Halt with RTC: 1.3 µA; Wake-up time: 4.7 µs |
| RTC | BCD calendar with alarm interrupt, auto-wakeup from Halt, powered by LSE or LSI |
| Capacitive Sensing | Up to 16 channels supporting touchkey, proximity, linear/rotary touch |
Pinout & Package
STM8L151G6U6 is housed in a 28-pin UFQFPN package (4 × 4 mm, 0.5 mm pitch) with exposed thermal pad. Pin functions are validated per ST's DS6372 Rev 17, Table 5 (Medium-density pin description) and Figure 5 (UFQFPN28 pinout).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Core and I/O power domain; supports 1.65–3.6 V operation with ultra-low leakage |
| NRST | Active-low reset input | Accepts external reset; integrates programmable voltage detector (PVD) and BOR with 5 thresholds |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD5 | General-purpose I/O | 41 total GPIOs; all mappable to interrupt vectors; 50 nA max leakage per pin in Halt |
| OSC_IN / OSC_OUT | HSE crystal oscillator interface | Supports 1–16 MHz external crystal; enables precise timing and low-jitter clock source |
| LSE_IN / LSE_OUT | LSE crystal oscillator interface | Drives 32.768 kHz crystal for RTC; enables calendar accuracy and ultra-low-power timekeeping |
| SWIM | Single-Wire Interface Module | Enables non-intrusive on-chip debugging and fast programming via single pin |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with SRAM retention and register state preserved |
| RTC with auto-wakeup | Periodic interrupt generation from Halt mode without CPU wake-up overhead |
| Capacitive touch controller | Hardware-accelerated acquisition for 16 channels; eliminates need for external touch IC |
| DMA with peripheral support | 4-channel DMA servicing ADC, DAC, SPI, I²C, USART, timers - reduces CPU load during data transfers |
| SWIM debug interface | Single-pin, non-intrusive debugging and programming - simplifies PCB layout and test access |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-operated gas/water meters requiring decade-long field life and periodic data logging. IC Role / Device Role / Timing Role: Primary system controller managing sensor readout, RTC-timed data storage, LCD display, and secure communication via USART/I²C. Use Value: 350 nA Halt mode extends battery life beyond 10 years; 1.3 µA Active-Halt with RTC enables accurate timestamping without waking CPU. | Use Scenario: Wearable ECG or glucose monitors needing low-noise analog front-end and long runtime. IC Role / Device Role / Timing Role: Analog signal acquisition hub using 12-bit ADC (1 Msps) and internal temperature sensor, coupled with DAC for calibration reference. Use Value: Integrated 12-bit ADC with VREFINT and temperature sensor eliminates external references; ultra-low leakage preserves signal integrity during sleep. |
| Industrial Wireless Sensor Nodes | Capacitive Touch Human-Machine Interface |
Use Scenario: LoRaWAN or BLE edge nodes monitoring temperature, humidity, and vibration in harsh environments. IC Role / Device Role / Timing Role: System-on-chip managing multi-sensor polling, data preprocessing, and low-power radio interfacing via SPI/USART. Use Value: Five low-power modes allow dynamic adaptation: Low Power Run (5.1 µA) during sensing, Halt (350 nA) between transmissions - optimizing energy per event. | Use Scenario: Appliance control panels (ovens, HVAC) requiring robust, waterproof touch interfaces. IC Role / Device Role / Timing Role: Dedicated capacitive touch engine supporting 16 channels for linear sliders, rotary encoders, and proximity detection. Use Value: Hardware-accelerated touch acquisition reduces firmware complexity and CPU load; immunity to moisture enabled by adaptive threshold algorithms. |
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 |
|---|---|---|---|
| STM8L152G6U6 | Includes integrated LCD controller (4×28 segments); identical core, memory, and peripherals otherwise | Required only when driving segment-based displays; adds ~0.2 mA static LCD bias current | Select only if LCD functionality is needed; otherwise STM8L151G6U6 offers lower cost and same low-power profile |
| STM32L051K8U6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, similar ultra-low-power modes (340 nA Halt), but no built-in capacitive touch or beeper timer | Better for complex firmware or RTOS use; lacks native touch sensing - requires external library or component | Choose when 32-bit processing, larger memory, or ARM ecosystem compatibility outweighs integrated touch and beeper advantages |
Compared with STM8L152G6U6, the STM8L151G6U6 saves cost and power where LCD is unused; versus STM32L051K8U6, it delivers lower-system-cost capacitive touch and beeper functionality without external components, at the expense of 32-bit compute scalability.
Availability
STM8L151G6U6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, and industrial wireless sensor nodes requiring stable component supply, long-term lifecycle assurance, and verified ultra-low-power performance.
Supply support for STM8L151G6U6 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-critical applications such as energy meters, wearables, and IoT endpoints, emphasizing sub-µA sleep modes, integrated peripherals, and robust development tooling including ST-LINK and STM8CubeMX.
FAQ
What is the minimum operating voltage for STM8L151G6U6 in Halt mode?
The STM8L151G6U6 supports operation down to 1.65 V in all low-power modes, including Halt. At this voltage, Halt-mode current remains at 350 nA with full SRAM retention and register state preservation - confirmed in DS6372 Rev 17, Table 26. Below 1.65 V, the device enters power-down and loses volatile memory contents.
Does STM8L151G6U6 support hardware-accelerated capacitive touch sensing?
Yes. The STM8L151G6U6 integrates a dedicated capacitive sensing controller supporting up to 16 channels with hardware-accelerated acquisition, automatic recalibration, and noise filtering. It supports touchkey, proximity, linear slider, and rotary encoder configurations without CPU intervention - detailed in Section 3.13 and Table 2 of DS6372 Rev 17.
Can the 12-bit DAC output drive external loads directly?
The integrated 12-bit DAC features an output buffer enabling direct drive of resistive loads up to 50 kΩ (per DS6372 Rev 17, Table 50). It supports three dedicated pins (PB4, PB5, PB6) and provides monotonic output with ±1 LSB INL/DNL. For capacitive or high-current loads, an external op-amp is recommended.
Is SWIM debugging supported on the UFQFPN28 package?
Yes. SWIM (Single-Wire Interface Module) debugging is fully supported on the STM8L151G6U6 in UFQFPN28 packaging via the dedicated SWIM pin (Pin 27, as defined in Figure 5 and Table 5 of DS6372 Rev 17). No additional pins or headers are required - enabling in-circuit programming and real-time debugging with ST-LINK/V2 or compatible tools.
STM8L151G6U6 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G6U6 FAQ
1.How can I place an order for STM8L151G6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G6U6 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 STM8L151G6U6 reliable?
The price and inventory of STM8L151G6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G6U6 is usually 5 days.
3.What payment methods are accepted for STM8L151G6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G6U6?
STM8L151G6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G6U6 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 STM8L151G6U6?
For technical support, including STM8L151G6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G6U6 requirements.
6.How does Aetrix verify that STM8L151G6U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151G6U6 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 STM8L151G6U6 meets industry standards.
7.What is the process for return or replacement of STM8L151G6U6?
All STM8L151G6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G6U6, 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 STM8L151G6U6 part is unused and in its original packaging.
Return procedure for STM8L151G6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G6U6 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…

