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

- Shipping:

Inventory:2,081
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K4U6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 16 MHz STM8 core, 16 KB Flash, 1 KB Data EEPROM with ECC, 2 KB RAM, and integrated peripherals including 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, two ultra-low-power comparators, RTC with calendar, and capacitive touch sensing (up to 16 channels). It operates from 1.65 V to 3.6 V and supports industrial temperature range (–40 °C to +85 °C), targeting battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L151K4U6 datasheet, STM8L151K4U6 pinout, STM8L151K4U6 application, or STM8L151K4U6 equivalent, key selection considerations include its 32-pin UFQFPN package, 350 nA Halt-mode current, 4.7 µs wakeup time, SWIM debug interface, and absence of LCD controller - distinguishing it from STM8L152 variants.
Technical Context
The STM8L151K4U6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its power architecture includes five low-power modes - notably Active-halt (1.3 µA with full RTC) and Halt (350 nA) - enabled by ultra-low-leakage I/O (50 nA per pin) and dual internal RC oscillators (16 MHz factory-trimmed, 38 kHz low-consumption).
Clock management integrates three oscillators (HSE up to 16 MHz, LSE 32 kHz, internal RCs), clock security system, and programmable voltage detector (PVD). Peripheral subsystems include DMA (4 channels), timers (two 16-bit general-purpose, one 16-bit advanced control, one 8-bit basic), and communication interfaces (SPI, I²C up to 400 kHz, USART with IrDA/ISO 7816 support).
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 for resource-constrained embedded firmware. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining sub-200 µA/MHz active current consumption. |
| Flash / EEPROM / RAM | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM; supports robust firmware updates and nonvolatile parameter storage with error correction. |
| ADC / DAC | 12-bit ADC (1 Msps, 25 channels, internal temp sensor & ref); 12-bit DAC (buffered output on PB4–PB6); enables high-fidelity analog signal acquisition and precision actuator control. |
| Low-Power Modes | Halt (350 nA), Active-halt (1.3 µA w/ RTC), Low power wait (3 µA); allows multi-year operation on coin-cell batteries in intermittent-sensing applications. |
| Operating Voltage / Temp | 1.65 V to 3.6 V supply; –40 °C to +85 °C industrial grade; ensures reliable operation across wide battery discharge curves and ambient conditions. |
| Capacitive Sensing | Up to 16 channels supporting touchkey, proximity, linear/rotary touch; eliminates external touch controller ICs in human-interface designs. |
Pinout & Package
STM8L151K4U6 is housed in a 32-pin UFQFPN (5 × 5 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 VDD/VSS pairs ensure stable core and I/O domain operation; decoupling required per datasheet layout guidelines. |
| NRST | Active-low reset input | Accepts external reset pulse; integrates ultra-low-power POR/PDR and programmable BOR with 5 thresholds. |
| SWIM | Single-wire interface for debug | Enables non-intrusive on-chip programming and real-time debugging without dedicated JTAG pins. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/O | All 35 GPIOs support interrupt capability, wake-up from low-power modes, and configurable pull-up/pull-down. |
| OSC_IN / OSC_OUT | External crystal oscillator terminals | Supports 1–16 MHz HSE or 32 kHz LSE crystals; critical for precise RTC timing and synchronous peripheral operation. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA typical current draw with full memory retention and fast 4.7 µs wake-up - ideal for duty-cycled sensor endpoints. |
| Embedded RTC with calendar | BCD-coded real-time clock with alarm and auto-wakeup from Halt; eliminates need for external RTC IC and associated board space. |
| Capacitive touch sensing | Hardware-accelerated 16-channel CSD engine supporting touchkey, proximity, and rotary controls - reduces firmware overhead and BOM cost. |
| Memory protection | Flexible read/write protection for Flash and EEPROM, plus 96-bit unique ID; meets secure boot and anti-cloning requirements in OEM deployments. |
| Development support | SWIM debug interface and USART bootloader enable rapid prototyping and field firmware updates without dedicated programmers. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pressure/flow sampling and wireless transmission. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based scheduling, low-power sleep/wake cycles, and SPI/I²C peripheral interfacing. Use Value: 350 nA Halt current extends 10-year battery life; 12-bit ADC ensures ±0.5% measurement accuracy across temperature. |
Use Scenario: Wearable ECG patch recording heart activity continuously for 72 hours on a single CR2032 cell. IC Role / Device Role / Timing Role: Signal acquisition hub digitizing analog leads via ADC, buffering data in RAM, and triggering BLE transmission upon anomaly detection. Use Value: Ultra-low leakage I/O (50 nA/pin) prevents battery drain during standby; integrated comparators enable hardware-level arrhythmia flagging. |
| Industrial Wireless Sensor Node | Home Appliance Control Panel |
Use Scenario: Temperature/humidity node in HVAC duct monitoring, transmitting data every 5 minutes via sub-GHz RF module. IC Role / Device Role / Timing Role: System-on-chip handling sensor reads, CRC-protected data logging to EEPROM, RTC-triggered transmissions, and RF interface control. Use Value: Active-halt mode (1.3 µA w/ RTC) enables precise interval timing without external timer; SWIM debug simplifies field calibration. |
Use Scenario: Touch-enabled oven control panel with slide-to-adjust temperature and proximity wake-up. IC Role / Device Role / Timing Role: Capacitive touch controller and UI processor managing touch decoding, LED dimming via DAC, and buzzer feedback via beeper timer. Use Value: Integrated 16-channel CSD eliminates external touch IC; 12-bit DAC provides smooth, flicker-free LED intensity control. |
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 | 8 KB Flash, no DAC, no RTC calendar, 20-pin TSSOP; lower integration and memory. | Suitable only for simpler, cost-sensitive sensor endpoints without time-stamping or analog output needs. | Select when BOM cost is primary constraint and RTC/DAC functionality is unnecessary. |
| STM32L011D4P6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, same 32-pin UFQFPN; higher performance but larger code footprint and toolchain complexity. | Better for applications requiring RTOS, crypto acceleration, or future firmware scalability beyond 8-bit capabilities. | Choose when long-term software maintainability, ecosystem maturity, or mixed-signal processing headroom outweighs 8-bit simplicity. |
Compared with STM8L051F3P6, STM8L151K4U6 adds RTC calendar, DAC, and EEPROM ECC for enhanced reliability; versus STM32L011D4P6, it offers smaller memory footprint, deterministic 8-bit timing, and lower toolchain overhead - making it optimal for deeply embedded, battery-limited control tasks.
Availability
STM8L151K4U6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home appliance control panels requiring stable component supply and long-term industrial lifecycle support.
Supply support for STM8L151K4U6 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 components for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU product line targets energy-constrained applications such as battery-operated meters, wearables, and IoT edge nodes - emphasizing sub-µA sleep currents, integrated analog peripherals, and robust development tooling.
FAQ
What is the maximum operating frequency and corresponding power consumption of STM8L151K4U6?
The STM8L151K4U6 operates at up to 16 MHz with typical active current of 195 µA/MHz + 440 µA. At 16 MHz and 3.3 V, total consumption is approximately 3.56 mA. This value includes core, flash, and peripheral overhead - verified in DS6372 Rev 17 Table 20 under "Total current consumption in Run mode".
Does STM8L151K4U6 support hardware-accelerated capacitive touch sensing?
Yes - it integrates a dedicated capacitive sensing controller supporting up to 16 channels with hardware charge-transfer measurement, enabling touchkey, proximity, linear, and rotary touch without CPU intervention. This is confirmed in Section 3.13 and Table 2 of DS6372 Rev 17.
What debug interface does STM8L151K4U6 use, and what are its physical requirements?
It uses the Single-Wire Interface Module (SWIM), requiring only one dedicated pin (SWIM) and ground. No external debugger is needed for basic programming and debugging; ST-LINK/V2 or compatible tools provide full visibility into registers, memory, and real-time execution flow.
Is the 1 KB Data EEPROM endurance and retention specified, and how is ECC implemented?
EEPROM endurance is rated at 300 k write/erase cycles; data retention exceeds 20 years at 85 °C. ECC is implemented per 32-bit word using Hamming code, automatically correcting single-bit errors and detecting double-bit errors - detailed in Section 3.7 and Table 36 of DS6372 Rev 17.
STM8L151K4U6 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:
- 16KB (16K 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:
STM8L151K4U6 FAQ
1.How can I place an order for STM8L151K4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K4U6 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 STM8L151K4U6 reliable?
The price and inventory of STM8L151K4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K4U6 is usually 5 days.
3.What payment methods are accepted for STM8L151K4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K4U6?
STM8L151K4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K4U6 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 STM8L151K4U6?
For technical support, including STM8L151K4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K4U6 requirements.
6.How does Aetrix verify that STM8L151K4U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151K4U6 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 STM8L151K4U6 meets industry standards.
7.What is the process for return or replacement of STM8L151K4U6?
All STM8L151K4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K4U6, 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 STM8L151K4U6 part is unused and in its original packaging.
Return procedure for STM8L151K4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K4U6 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…

