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

- Shipping:

Inventory:1,158
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K3U6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 KB Flash, 256-byte data EEPROM with ECC, 12-bit ADC (1 Msps, 28 channels), RTC with ±0.5 ppm digital calibration, and dual ultra-low-power comparators. 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 from Halt mode.
For engineers reviewing the STM8L151K3U6 datasheet, STM8L151K3U6 pinout, STM8L151K3U6 application, or STM8L151K3U6 equivalent, key selection criteria include verified low-power mode timing (Active-halt @ 300 nA typical), I/O leakage (50 nA per pin), factory-trimmed 16 MHz RC oscillator accuracy (±1%), and UFQFPN32 package compatibility with capacitive touch sensing up to 20 channels.
Technical Context
The STM8L151K3U6 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, 1–16 MHz HSE for high-precision timing, and factory-trimmed 16 MHz HSI with ±1% tolerance over voltage/temperature.
Power management includes five configurable low-power modes-Wait, Low-power Run, Low-power Wait, Active-halt with RTC, and Halt-with dedicated BOR reset (5 thresholds) and programmable voltage detector (PVD). The RTC supports BCD calendar, alarm interrupt, auto-wakeup, and LSE security monitoring.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline, 16 MIPS peak performance at 16 MHz |
| Memory | 8 KB Flash (ECC-protected), 256 B data EEPROM (ECC), 1 KB RAM |
| ADC | 12-bit SAR ADC, 1 Msps sampling rate, 28 input channels, integrated temp sensor & Vref |
| Low-Power Modes | 5 modes: Halt (300 nA typ), Active-halt w/ RTC (900 nA typ), Low-power Run (2.7 µA @ 1 MHz) |
| RTC Accuracy | Digital calibration enables ±0.5 ppm accuracy over temperature when driven by LSE crystal |
| I/O Leakage | 50 nA per I/O in Halt mode - critical for multi-year battery life in wireless sensors |
| Wakeup Time | 5 µs from Halt to full execution - enables rapid response to external events without polling overhead |
Pinout & Package
STM8L151K3U6 is packaged in a 32-pin UFQFPN (5 × 5 mm, 0.5 mm pitch) with exposed thermal pad. This RoHS-compliant, ECOPACK®-qualified package supports automated optical inspection and high-density PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Core & I/O power supply | 1.65–3.6 V input; powers CPU, memories, and all peripherals except RTC domain |
| VSS | Digital ground reference | Primary return path for digital logic; must be low-impedance and separated from analog ground where possible |
| NRST | Active-low reset input | Asynchronous reset pin with internal pull-up; accepts external push-button or supervisor IC assertion |
| PA0–PA7 | General-purpose I/O bank A | 8-bit bidirectional port with interrupt capability; PA0 supports high-sink LED driver (20 mA) |
| PB0–PB7 | General-purpose I/O bank B | 8-bit bidirectional port with remappable alternate functions (USART, SPI, I²C, timers) |
| PC0–PC7 | General-purpose I/O bank C | 8-bit port supporting capacitive sensing inputs (up to 20 channels across all ports) |
| PD0–PD7 | General-purpose I/O bank D | 8-bit port with comparator inputs (COMP1+, COMP2–), ADC channel mapping, and RTC output |
| OSC_IN / OSC_OUT | HSE crystal oscillator interface | Supports 1–16 MHz external crystal; requires external 12–22 pF load capacitors per datasheet Figure 16 |
| LSE_IN / LSE_OUT | LSE crystal oscillator interface | 32.768 kHz RTC crystal connection; supports digital calibration and LSE security monitoring |
| SWIM | Single-wire interface for debug | Non-intrusive on-chip debugging and programming via dedicated pin; no JTAG required |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm, periodic wakeup, and ±0.5 ppm accuracy using digital calibration - eliminates need for external RTC IC in metering applications |
| Fault-tolerant clock system | Hardware clock security system detects HSE failure and automatically switches to HSI - ensures continuous operation during oscillator faults |
| Capacitive touch support | 20-channel hardware-accelerated touch sensing (touchkey, proximity, linear, rotary) - enables robust UI without external controller |
| Memory protection | Flexible read/write protection for Flash and EEPROM via option bytes - prevents accidental firmware overwrite in field-deployed devices |
| DMA-assisted peripherals | 4-channel DMA supporting ADC, SPI, I²C, USART, and timers - reduces CPU load during high-throughput data transfers |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered gas/water meters logging consumption every 15 minutes with tamper detection and RF wake-on-event. IC Role / Device Role / Timing Role: Main system controller managing RTC calendar, ADC-based pressure/flow sensing, and low-power UART for NB-IoT modem control. Use Value: 300 nA Halt current extends 10-year battery life; 5 µs wakeup enables immediate response to magnetic tamper events. |
Use Scenario: Wearable ECG patch acquiring analog biopotentials, performing real-time R-peak detection, and transmitting alerts via BLE. IC Role / Device Role / Timing Role: Signal acquisition hub running ADC at 1 ksps, executing FIR filtering in RAM, and triggering BLE subsystem only on arrhythmia detection. Use Value: Integrated 12-bit ADC with internal reference eliminates external precision voltage source; 20-channel capacitive sensing enables electrode contact validation. |
| Industrial Wireless Sensor Node | Home Appliance Control Panel |
|
Use Scenario: LoRaWAN-enabled temperature/humidity node deployed in HVAC ducts with 10-year maintenance-free operation. IC Role / Device Role / Timing Role: Environmental data aggregator using internal temp sensor and external I²C humidity sensor, then scheduling transmissions via RTC alarm. Use Value: Active-halt mode (900 nA) maintains RTC and memory state while drawing negligible current between hourly readings. |
Use Scenario: Touch-enabled oven control panel with slide-to-set timer, rotary encoder simulation, and LED backlight dimming. IC Role / Device Role / Timing Role: Capacitive touch controller and UI manager handling 12-key matrix, beeper feedback, and PWM-controlled LED brightness. Use Value: Hardware-accelerated touch engine offloads CPU; integrated beeper timer (1/2/4 kHz) eliminates external tone generator. |
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 | 4 KB Flash, no RTC, no EEPROM, TSSOP20 package (20-pin), lower peripheral count | Suitable for cost-sensitive, non-calendar applications like simple sensor triggers or LED controllers | Select when RTC, EEPROM, or >20 I/Os are unnecessary and board space favors TSSOP20 |
| STM32L011K4U6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, same UFQFPN32 package, higher code density | Better suited for complex protocol stacks (BLE, LoRa MAC) or firmware-over-the-air updates | Choose when future scalability, richer toolchain support, or cryptographic acceleration is required |
Compared with STM8L051F3P6, STM8L151K3U6 adds RTC, EEPROM, and 28-channel ADC - essential for time-stamped logging. Versus STM32L011K4U6, it offers lower gate count, deterministic 8-bit ISR latency, and proven toolchain maturity for legacy industrial firmware.
Availability
STM8L151K3U6 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 RoHS-compliant packaging.
Supply support for STM8L151K3U6 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.
The STM8L ultra-low-power MCU product line targets energy-constrained applications including battery-operated meters, wearables, and IoT edge nodes - emphasizing sub-μA sleep currents, fast wake-up, and integrated analog peripherals.
FAQ
What is the maximum operating frequency and core architecture of the STM8L151K3U6?
The STM8L151K3U6 features an 8-bit STM8 core with Harvard architecture and 3-stage pipeline, achieving a maximum operating frequency of 16 MHz and delivering 16 CISC MIPS peak performance. It uses a single-cycle instruction set optimized for low-power deterministic execution, with no cache or branch prediction - ensuring consistent timing behavior critical for real-time sensor control loops.
Does the STM8L151K3U6 support hardware-accelerated capacitive touch sensing?
Yes, the STM8L151K3U6 integrates a dedicated hardware touch sensing controller supporting up to 20 channels across its GPIO banks. It natively implements touchkey, proximity, linear slider, and rotary wheel sensing without CPU intervention, using built-in charge-transfer measurement and noise filtering - validated per IEC 61000-4-6 for EMC robustness in consumer appliances.
What are the verified current consumption values in Halt and Active-halt modes?
In Halt mode (all clocks stopped, RAM retained), typical current is 300 nA at 25 °C and 3.0 V. In Active-halt mode (RTC + LSE running, CPU halted), typical current is 900 nA under same conditions. Both values are measured per datasheet Table 25 and Table 23, with LSE crystal active and VDD = 3.0 V - confirmed across production lots and temperature range.
Is SWIM debugging supported, and what interface is required?
Yes, the STM8L151K3U6 supports non-intrusive on-chip debugging and programming via the Single-Wire Interface Module (SWIM) using the dedicated SWIM pin. A standard ST-LINK/V2 or compatible debugger is required; no additional level-shifting or protocol conversion is needed, and SWIM operates down to 1.65 V - enabling full debug access even in ultra-low-voltage battery scenarios.
STM8L151K3U6 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:
- 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 23x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151K3U6 FAQ
1.How can I place an order for STM8L151K3U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K3U6 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 STM8L151K3U6 reliable?
The price and inventory of STM8L151K3U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K3U6 is usually 5 days.
3.What payment methods are accepted for STM8L151K3U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K3U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K3U6?
STM8L151K3U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K3U6 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 STM8L151K3U6?
For technical support, including STM8L151K3U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K3U6 requirements.
6.How does Aetrix verify that STM8L151K3U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151K3U6 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 STM8L151K3U6 meets industry standards.
7.What is the process for return or replacement of STM8L151K3U6?
All STM8L151K3U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K3U6, 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 STM8L151K3U6 part is unused and in its original packaging.
Return procedure for STM8L151K3U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K3U6 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…

