STMicroelectronics STM8L151K6T6
- Part No.:
- STM8L151K6T6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
STM8L151K6T6.pdf
- Description:
- IC MCU 8BIT 32KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:3,118
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K6T6 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 alarm, and integrated 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 STM8L151K6T6 datasheet, STM8L151K6T6 pinout, STM8L151K6T6 application, or STM8L151K6T6 equivalent, key selection considerations include active-halt current (1.3 µA with full RTC), fast wakeup time (4.7 µs from Halt), SWIM debug interface, and LQFP32 package compatibility with legacy STM8L footprint constraints.
Technical Context
The STM8L151K6T6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz max frequency and supporting up to 40 external interrupt sources. Its clock system integrates dual oscillators (1–16 MHz HSE, 32 kHz LSE), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC with clock security monitoring.
Power management includes five configurable low-power modes - including Active-halt (1.3 µA with RTC) and Halt (350 nA) - enabled by programmable voltage detector (PVD), ultra-safe BOR with five thresholds, and per-I/O leakage control (50 nA). The peripheral set is optimized for autonomous operation: DMA supports ADC, DAC, SPI, I²C, USART, and timers; RTC enables periodic wake-up; and capacitive sensing controller requires no CPU intervention during acquisition.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time response and efficient code density for resource-constrained embedded firmware. |
| Max Operating Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining ultra-low power consumption in active modes. |
| Flash / EEPROM / RAM | 32 KB Flash (with RWW and ECC), 1 KB data EEPROM (ECC-protected), 2 KB RAM; supports robust firmware updates and secure parameter storage without external memory. |
| ADC / DAC | 12-bit ADC (1 Msps, 25 channels, internal temp sensor & reference); 12-bit DAC with output buffer; enables high-fidelity analog signal generation and precision sensor digitization. |
| Low-Power Modes | Active-halt (1.3 µA w/ RTC), Halt (350 nA), Low power run (5.1 µA), Low power wait (3 µA); allows multi-year battery life in intermittent-sensing applications. |
| Capacitive Sensing | Up to 16 channels supporting touchkey, proximity, linear, and rotary touch; hardware-accelerated acquisition reduces CPU load and power during UI interaction. |
| Communication Interfaces | SPI, I²C (400 kHz SMBus/PMBus), USART (ISO 7816, IrDA); provides interoperability with industrial sensors, smart cards, and wireless transceivers. |
Pinout & Package
LQFP32 (7 × 7 mm, 0.8 mm pitch) package with 29 user I/Os, all mappable to interrupt vectors. Pin functions support flexible peripheral routing, including dedicated SWIM debug, NRST, and multiple timer/ADC/DAC/USART/I²C/SPI signal assignments.
| 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 | Reset input | Active-low reset with internal pull-up; accepts external reset pulses or watchdog timeout signals to initiate safe restart. |
| SWIM | Single-wire interface module | Non-intrusive debugging and programming interface; shares pin with PA1, enabling firmware update without dedicated JTAG header. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/O | 29 total GPIOs; each supports interrupt-on-change, alternate functions (timers, ADC, USART), and capacitive sensing inputs. |
| OSC_IN / OSC_OUT | HSE crystal oscillator terminals | Supports 1–16 MHz external crystal; used for precise timing in RTC, communication baud rate generation, or system clock source. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm interrupt and auto-wakeup from Halt mode using periodic interrupt - enables time-triggered sensor sampling without CPU wake-up overhead. |
| Memory protection | Flexible read/write protection for Flash and EEPROM, plus ECC on both memories - prevents corruption during brown-out or ESD events in field-deployed devices. |
| DMA controller | 4-channel peripheral-to-memory and memory-to-memory DMA - offloads ADC data capture, SPI transfers, and DAC waveform streaming from CPU, reducing active time and power. |
| Embedded comparators | Two ultra-low-power comparators: one with fixed threshold, one rail-to-rail; both support wakeup-from-Halt - enables battery voltage monitoring or analog event detection with sub-µA quiescent current. |
| Capacitive touch controller | Hardware-accelerated acquisition engine supporting 16 channels - eliminates need for external touch ICs and reduces BOM cost in human-interface applications. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered gas/water meters performing hourly pressure/flow readings and storing timestamped logs. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based scheduling, EEPROM logging, and low-power sleep cycles. Use Value: Active-halt mode (1.3 µA with RTC) extends battery life beyond 10 years; 12-bit ADC ensures ±0.5% measurement accuracy over temperature. |
Use Scenario: Wearable pulse oximeter acquiring SpO₂ and heart rate via photodiode/LED array with real-time display. IC Role / Device Role / Timing Role: Signal processor interfacing analog front-end, driving OLED/LCD via integrated step-up converter, and managing USB/Bluetooth UART bridge. Use Value: Integrated 12-bit DAC drives LED current precisely; capacitive touch supports button-free UI; SWIM enables field firmware updates without rework. |
| Industrial Wireless Sensor Nodes | Home Automation Controllers |
|
Use Scenario: LoRaWAN node measuring temperature/humidity/vibration and transmitting data every 15 minutes. IC Role / Device Role / Timing Role: Central coordinator handling sensor polling, data preprocessing, SPI flash buffering, and radio wake-up signaling. Use Value: Fast 4.7 µs wakeup from Halt minimizes idle time before transmission; I²C and SPI support direct connection to environmental sensors and transceivers. |
Use Scenario: Smart thermostat controlling HVAC via relay outputs while monitoring ambient temperature, humidity, and occupancy via PIR/capacitive touch. IC Role / Device Role / Timing Role: Real-time system manager executing PID loop, interpreting capacitive touch gestures, and updating segmented LCD display. Use Value: Hardware touch controller handles multi-touch gestures autonomously; RTC maintains accurate scheduling across power cycles; 29 GPIOs simplify board routing. |
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 |
|---|---|---|---|
| STM8L152K6T6 | Includes LCD controller (4×28 segments) and step-up converter; identical Flash/RAM/peripherals otherwise. | Required only when driving segment-based displays; adds ~0.1 mm height and minor layout complexity. | Select STM8L152K6T6 if LCD interface is needed; otherwise STM8L151K6T6 offers lower cost and simpler power design. |
| STM32L051K8U6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, similar ultra-low-power modes (340 nA Halt), but lacks integrated capacitive touch and has different peripheral mapping. | Better suited for applications requiring higher compute throughput or RTOS support; requires external touch controller for UI. | Choose STM32L051K8U6 when migrating to ARM ecosystem or needing >16 MIPS; retain STM8L151K6T6 for proven touch integration and minimal firmware porting effort. |
Compared with STM8L152K6T6, the STM8L151K6T6 removes LCD functionality to reduce cost and power overhead; compared with STM32L051K8U6, it trades 32-bit processing headroom for lower gate count, smaller code size, and native capacitive sensing - making it optimal for deeply embedded, cost-sensitive, battery-operated control tasks.
Availability
STM8L151K6T6 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 STM8L151K6T6 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 STM8L151 product line was engineered specifically for ultra-low-power, cost-sensitive embedded applications where battery life, small footprint, and integrated analog peripherals outweigh the need for 32-bit processing - targeting metering, wearables, and IoT edge nodes.
FAQ
What is the minimum operating voltage for STM8L151K6T6 in Halt mode?
The STM8L151K6T6 supports operation down to 1.65 V in all low-power modes, including Halt (350 nA typical). At VDD = 1.65 V, the internal voltage regulator remains functional, RTC continues running in Active-halt mode, and SRAM retention is guaranteed. Below 1.65 V, the BOR circuit triggers reset to prevent undefined behavior.
Does STM8L151K6T6 support in-circuit programming after soldering?
Yes - the device features SWIM (Single-Wire Interface Module), allowing full-speed programming and non-intrusive debugging via a single pin (PA1) using standard ST-LINK/V2 or compatible programmers. No bootloader or UART-based flashing is required; firmware updates can be performed directly on assembled PCBs without removing the MCU.
How many capacitive sensing channels can operate simultaneously on STM8L151K6T6?
The STM8L151K6T6 supports up to 16 capacitive sensing channels, but they operate sequentially under hardware control - not truly simultaneous. The built-in touch controller scans channels autonomously using a shared charge-transfer method, completing a full 16-channel scan in under 10 ms while consuming <1 µA average current, freeing the CPU for other tasks.
Is the 12-bit DAC output buffered, and what is its drive capability?
Yes, the integrated 12-bit DAC includes an output buffer capable of sourcing/sinking ±5 mA at VDD = 3.3 V. It drives resistive loads directly (e.g., LED bias, analog setpoint generation) without external op-amps. Output voltage range is 0 to VDD, and settling time is 5 µs to ½ LSB, verified per Table 50 and Table 52 in DS6372 Rev 17.
STM8L151K6T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- 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:
STM8L151K6T6 FAQ
1.How can I place an order for STM8L151K6T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K6T6 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 STM8L151K6T6 reliable?
The price and inventory of STM8L151K6T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K6T6 is usually 5 days.
3.What payment methods are accepted for STM8L151K6T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K6T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K6T6?
STM8L151K6T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K6T6 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 STM8L151K6T6?
For technical support, including STM8L151K6T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K6T6 requirements.
6.How does Aetrix verify that STM8L151K6T6 is sourced from the original manufacturer or authorized distributors?
All STM8L151K6T6 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 STM8L151K6T6 meets industry standards.
7.What is the process for return or replacement of STM8L151K6T6?
All STM8L151K6T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K6T6, 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 STM8L151K6T6 part is unused and in its original packaging.
Return procedure for STM8L151K6T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K6T6 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…

