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

- Shipping:

Inventory:2,930
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K6U6 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 (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 STM8L151K6U6 datasheet, STM8L151K6U6 pinout, STM8L151K6U6 application, or STM8L151K6U6 equivalent, key selection criteria include verified low-power mode current (1.3 µA in Active-halt with RTC), Halt-mode wakeup time (4.7 µs), I/O leakage (50 nA), SWIM debug interface support, and UFQFPN32 package compatibility for space-constrained designs.
Technical Context
The STM8L151K6U6 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 RC), managed by a Clock Security System to detect oscillator failure.
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 independent control of peripheral clocks and voltage regulator states. The RTC operates autonomously in Active-halt using the LSE crystal, enabling calendar-based wakeups without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak @ 16 MHz |
| Memory | 32 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM |
| ADC | 12-bit, 1 Msps, 25 input channels, integrated temp sensor & Vref |
| DAC | 12-bit, buffered output on PB4/PB5/PB6, monotonicity guaranteed |
| Low-Power Modes | Halt: 350 nA; Active-halt w/ RTC: 1.3 µA; Low Power Run: 5.1 µA |
| Wakeup Time | 4.7 µs from Halt mode to full execution (measured at 16 MHz) |
| I/O Leakage | 50 nA per I/O (typical, VDD = 3.0 V, T = 25 °C) |
Pinout & Package
STM8L151K6U6 is housed in a 32-pin UFQFPN (5 × 5 mm, 0.5 mm pitch) package with wettable flanks, optimized for automated optical inspection and high-density PCB layouts. Pin functions are fully mappable to interrupt vectors, supporting flexible signal routing in compact designs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual-supply domain: VDD powers digital/analog peripherals; VSS reference for all I/O and analog blocks |
| NRST | Active-low reset input | Accepts external reset pulse; internal low-power POR/PDR and programmable PVD provide system-level supply monitoring |
| SWIM | Single-wire interface for debug | Enables non-intrusive programming and real-time debugging without dedicated JTAG pins |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/O | All 41 pins support interrupt generation; up to 16 configurable as capacitive sensing inputs (CTP) |
| OSC_IN / OSC_OUT | HSE crystal oscillator terminals | Supports 1–16 MHz quartz; internal load caps eliminate need for external capacitors in most cases |
| LSE_IN / LSE_OUT | LSE crystal oscillator terminals | 32.768 kHz crystal connection for RTC; enables calendar operation during Active-halt |
Key Features
| Feature | Design Value |
|---|---|
| Fault-tolerant memory protection | Flash and EEPROM protected by ECC; RWW allows concurrent read/write; flexible option byte lock |
| Ultra-low-power RTC | BCD calendar with alarm and periodic wakeup; retains time/date in Active-halt using LSE |
| Capacitive touch controller | 16-channel CTP peripheral supporting touchkey, proximity, linear, and rotary sensors without external IC |
| Dual comparator system | One rail-to-rail comparator + one with fixed threshold; both support wakeup from all low-power modes |
| Flexible clock security | Clock Security System detects HSE/LSE failure and triggers safe reset; internal RC fallback ensures continuity |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered gas/water meters requiring decade-long operation on primary cells and tamper-resistant time-stamped logging. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition (pressure, flow), secure EEPROM logging, RTC-based event timestamping, and RF sub-GHz transmission scheduling. Use Value: 1.3 µA Active-halt current extends battery life beyond 10 years; 4.7 µs wakeup ensures rapid response to flow interrupts; 96-bit unique ID enables device-level firmware authentication. |
Use Scenario: Wearable ECG or SpO₂ monitors needing continuous analog front-end sampling, motion artifact compensation, and Bluetooth LE data streaming. IC Role / Device Role / Timing Role: Signal acquisition hub interfacing with analog sensors via 12-bit ADC, performing real-time filtering in RAM, buffering data for wireless transmission, and managing sleep/wake cycles. Use Value: 1 Msps ADC resolution captures physiological waveforms accurately; 50 nA I/O leakage prevents sensor bias drift; capacitive touch enables intuitive user interface without mechanical buttons. |
| Industrial Wireless Sensor Nodes | Smart Home Environmental Controllers |
|
Use Scenario: LoRaWAN or NB-IoT nodes deployed in remote locations measuring temperature, humidity, and vibration with multi-year battery life. IC Role / Device Role / Timing Role: Edge processing unit acquiring sensor data, executing threshold-based alerts, managing radio duty cycling, and maintaining precise time synchronization via RTC. Use Value: Dual comparators enable hardware-accelerated event detection (e.g., vibration threshold crossing); 350 nA Halt mode minimizes quiescent drain between transmissions; SWIM simplifies field firmware updates. |
Use Scenario: Thermostats and air quality controllers integrating CO₂, VOC, and particulate sensors with local display and cloud connectivity. IC Role / Device Role / Timing Role: Central coordinator handling multi-sensor fusion, LCD segment driving (via GPIO emulation), USB/UART bridge, and scheduled calibration routines. Use Value: 2 KB RAM accommodates sensor fusion algorithms; 32 KB Flash stores multiple firmware variants and calibration tables; 16-channel CTP supports slider and button UI on same PCB. |
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 |
|---|---|---|---|
| STM8L151K4U6 | 16 KB Flash, 1 KB EEPROM, identical peripherals and low-power specs | Suitable for cost-sensitive designs with smaller firmware footprint and no future code expansion needs | Select when application binary size remains under 14 KB and no ECC-critical data storage is required beyond basic EEPROM use |
| STM32L051K8U6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, higher DMIPS/MHz but 2.5× higher active current (180 µA/MHz) | Better for complex protocol stacks (BLE, LoRa), cryptographic operations, or RTOS usage where 8-bit throughput is limiting | Choose when architectural upgrade to 32-bit is justified by software complexity, not just peripheral count or memory size |
Compared with STM8L151K4U6, the K6U6 provides essential headroom for firmware updates and ECC-protected data logging; versus STM32L051K8U6, it delivers superior µA/MHz efficiency and simpler toolchain integration for deterministic real-time tasks under strict energy budgets.
Availability
STM8L151K6U6 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 consistent parametric performance across production batches.
Supply support for STM8L151K6U6 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, MEMS, and automotive semiconductors since 1987.
The STM8L ultra-low-power MCU family was engineered specifically for energy-constrained applications demanding sub-microamp operation, robust RTC functionality, and integrated analog peripherals - targeting metering, healthcare, and IoT edge nodes where battery life and reliability are paramount.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L151K6U6 achieves a maximum system clock of 16 MHz using the internal 16 MHz RC oscillator or external crystal. At 16 MHz and 3.0 V, typical active current is 195 µA/MHz + 440 µA, resulting in ~3.56 mA total. This value scales linearly with frequency and is validated across the full temperature range (–40 °C to +85 °C) per DS6372 Rev 17 Section 9.3.3.
Does the device support true hardware LCD driving?
No. The STM8L151K6U6 belongs to the STM8L151xx series "without LCD" (per Table 1 of DS6372), and lacks the integrated LCD controller present in STM8L152xx variants. It can drive simple segmented displays via GPIO toggling or external LCD drivers, but does not provide built-in bias generation, COM/SEG multiplexing, or step-up converter circuitry.
How many capacitive sensing channels are supported, and what is their implementation method?
The STM8L151K6U6 supports up to 16 capacitive touch sensing (CTP) channels using its integrated CTP peripheral, which leverages the ADC and timers to perform charge-transfer measurements. No external components are required; sensing electrodes connect directly to designated GPIO pins (PA0–PA7, PB0–PB7, PC0–PC3), and firmware configures scan sequences, thresholds, and debounce logic per channel.
Is SWIM debugging compatible with production firmware and secure boot configurations?
Yes. SWIM operates independently of the application code and remains functional even when read-out protection (ROP) is enabled at Level 1 (which permits debug access but blocks Flash readout). At ROP Level 2, SWIM is disabled for security; however, ST's official production programming tools (e.g., ST-LINK/V2-1) support mass erase and reprogramming via SWIM before final ROP activation, ensuring testability and field update capability.
STM8L151K6U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- 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:
- 30
- 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 22x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151K6U6 FAQ
1.How can I place an order for STM8L151K6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K6U6 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 STM8L151K6U6 reliable?
The price and inventory of STM8L151K6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K6U6 is usually 5 days.
3.What payment methods are accepted for STM8L151K6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K6U6?
STM8L151K6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K6U6 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 STM8L151K6U6?
For technical support, including STM8L151K6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K6U6 requirements.
6.How does Aetrix verify that STM8L151K6U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151K6U6 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 STM8L151K6U6 meets industry standards.
7.What is the process for return or replacement of STM8L151K6U6?
All STM8L151K6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K6U6, 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 STM8L151K6U6 part is unused and in its original packaging.
Return procedure for STM8L151K6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K6U6 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…

