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

- Shipping:

Inventory:2,009
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K4T6TR 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, 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, RTC with BCD calendar and auto-wakeup, and integrated capacitive touch sensing (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 STM8L151K4T6TR datasheet, STM8L151K4T6TR pinout, STM8L151K4T6TR application, or STM8L151K4T6TR equivalent, key selection criteria include ultra-low-power operation (350 nA Halt mode), on-chip RTC with periodic wake-up, hardware capacitive touch support, and SWIM-based non-intrusive debugging for rapid firmware iteration in constrained-energy systems.
Technical Context
The STM8L151K4T6TR implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates dual clock domains: high-speed (HSE/LSE/HSI) and low-speed (LSI/38 kHz RC), managed by a Clock Security System and programmable voltage detector (PVD).
Its low-power architecture includes five distinct 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 sub-microsecond wakeup (4.7 µs from Halt). Peripheral clock gating and independent peripheral power control enable granular energy optimization.
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 firmware. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining ultra-low active current (195 µA/MHz + 440 µA). |
| Flash / EEPROM / RAM | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM; supports safe over-the-air updates and persistent parameter storage with error correction. |
| ADC | 12-bit, up to 1 Msps, 25 channels including internal temp sensor and Vref; enables high-resolution analog monitoring without external signal conditioning. |
| DAC | 12-bit DAC with output buffer; provides precise analog output for calibration, biasing, or waveform generation in sensor interfaces. |
| Low-Power Modes | Halt: 350 nA; Active-Halt w/ RTC: 1.3 µA; Low Power Wait: 3 µA; enables multi-year battery life in intermittent-sensing applications. |
| Capacitive Sensing | 16-channel hardware-accelerated touch sensing; supports touchkey, proximity, linear, and rotary sensors without CPU overhead. |
Pinout & Package
STM8L151K4T6TR is housed in a 32-pin LQFP package (7 × 7 mm, 0.8 mm pitch) with exposed pad for thermal management. All 29 I/O pins are individually mappable to interrupt vectors and support capacitive sensing input.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual-supply domain: VDD powers digital/analog peripherals; separate VDDA/VSSA pins ensure clean ADC/DAC reference for <1 LSB INL error. |
| NRST | Active-low reset input | Accepts external reset pulse; integrates ultra-low-power POR/PDR and programmable BOR with 5 thresholds for robust brownout recovery. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/O | 29 total GPIOs; all support external interrupts, capacitive sensing, and configurable pull-up/pull-down; PA0 has high-sink LED driver capability (20 mA). |
| OSC_IN / OSC_OUT | External crystal oscillator interface | Supports 1–16 MHz HSE crystal; paired with 32 kHz LSE for RTC; both oscillators feature automatic failover via Clock Security System. |
| SWIM | Single-wire interface for debug | Enables non-intrusive programming and real-time debugging using one pin; no JTAG overhead, ideal for space-constrained PCB layouts. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with full memory retention and RTC running-enables >10-year coin-cell battery life in metering applications. |
| Hardware capacitive touch controller | 16-channel dedicated peripheral with noise immunity and auto-calibration; eliminates need for external touch IC and reduces BOM cost. |
| RTC with BCD calendar & alarm | Real-time clock with calendar, alarm interrupt, and auto-wakeup from Halt every 1 s to 12 hours-ideal for scheduled sensor sampling. |
| Flexible memory protection | Read/write protection per Flash sector and EEPROM block; prevents accidental firmware overwrite or data corruption during field updates. |
| Integrated analog subsystem | 12-bit ADC (1 Msps), 12-bit DAC (buffered), 2 ultra-low-power comparators (one rail-to-rail); enables closed-loop analog control without external components. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered water/gas meters performing hourly pressure/flow readings and daily RF transmission. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-triggered wake-up, low-power RF interface timing, and secure data logging. Use Value: 350 nA Halt mode extends CR2032 battery life beyond 12 years; hardware touch interface enables tamper-proof keypad entry. |
Use Scenario: Wearable ECG patch acquiring biopotential signals, processing baseline drift, and transmitting alerts via BLE. IC Role / Device Role / Timing Role: Analog front-end controller handling 12-bit ADC sampling, real-time digital filtering, and synchronized DAC-based reference generation. Use Value: 12-bit ADC with internal reference and temp sensor enables clinical-grade accuracy; SWIM debug allows in-system firmware validation without probe access. |
| Industrial Wireless Sensor Node | Home Automation Touch Panel |
|
Use Scenario: LoRaWAN node monitoring temperature/humidity/vibration in factory equipment with event-driven reporting. IC Role / Device Role / Timing Role: Event coordinator triggering ADC conversion on comparator threshold breach, timestamping with RTC, and preparing packet payload. Use Value: Dual comparators with wakeup capability eliminate continuous polling; 1.3 µA Active-Halt mode ensures sub-µA average current between events. |
Use Scenario: Wall-mounted HVAC control panel with slider, buttons, and status LEDs powered by USB or 3.3 V rail. IC Role / Device Role / Timing Role: Capacitive touch processor driving 12-key interface and PWM dimming for status indicators. Use Value: Hardware-accelerated 16-channel touch engine handles proximity detection and linear swipe gestures at <1% CPU load; PA0 drives LEDs directly at 20 mA. |
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 RTC, no DAC, 10-bit ADC, 1.8–3.6 V only, 20-pin TSSOP | Lacks calendar RTC and hardware touch; suitable only for simple timer-based wake-up, not time-stamped logging. | Select when cost and footprint are critical and RTC/touch are unnecessary. |
| STM32L011D4P6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, 12-bit ADC, no hardware touch, 1.8–3.6 V | Higher code density and ISR latency but no integrated capacitive sensing engine; requires external library or component for touch. | Choose for complex algorithm needs where 32-bit math outweighs touch integration benefit. |
Compared with STM8L051F3P6, STM8L151K4T6TR adds RTC, DAC, and touch-critical for time-aware sensing. Versus STM32L011D4P6, it trades 32-bit flexibility for lower power and native touch, reducing firmware complexity in human-interface applications.
Availability
STM8L151K4T6TR is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home automation touch panels requiring stable component supply across long product lifecycles.
Supply support for STM8L151K4T6TR 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 family targets energy-constrained applications such as battery-operated meters, wearables, and IoT edge nodes-prioritizing nanowatt sleep modes, integrated analog peripherals, and robust development tooling.
FAQ
What is the minimum operating voltage for STM8L151K4T6TR in Halt mode?
The device maintains full functionality-including RAM retention and RTC operation-at 1.65 V in Halt mode, as specified in Section 9.3.1 of DS6372 Rev 17. Below 1.65 V, the ultra-safe BOR circuit asserts reset to prevent undefined behavior, with five selectable thresholds enabling precise brownout tuning for specific battery chemistries.
Does STM8L151K4T6TR support hardware-accelerated capacitive touch on all GPIOs?
No-only 16 designated channels (mapped to specific pins across PA, PB, PC, and PD ports) are routed to the hardware touch controller. Pin assignment is fixed per device variant and documented in Table 5 of DS6372; unused GPIOs function as standard digital I/O but lack touch sensing capability.
Can the 12-bit DAC output drive a 1 kΩ load without external buffering?
Yes-the integrated output buffer supports rail-to-rail operation with ±10 mA drive capability, verified per Table 52 (DAC output on PB4–PB6) and Figure 132 in DS6372. At 3.3 V supply, it maintains monotonicity and <1 LSB INL up to 100 µA load; for heavier loads, external op-amp buffering is recommended.
Is SWIM debugging compatible with production firmware and secure boot configurations?
SWIM remains fully functional even with read-out protection (ROP) enabled at Level 1, allowing non-intrusive debugging and flash programming. However, ROP Level 2 permanently disables SWIM access after first unlock attempt-intended for final production security. Debugging must be completed before activating ROP Level 2.
STM8L151K4T6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- Series:
- STM8L EnergyLite
- Packaging:
- Tape & Reel (TR)
- 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:
STM8L151K4T6TR FAQ
1.How can I place an order for STM8L151K4T6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K4T6TR 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 STM8L151K4T6TR reliable?
The price and inventory of STM8L151K4T6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K4T6TR is usually 5 days.
3.What payment methods are accepted for STM8L151K4T6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K4T6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K4T6TR?
STM8L151K4T6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K4T6TR 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 STM8L151K4T6TR?
For technical support, including STM8L151K4T6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K4T6TR requirements.
6.How does Aetrix verify that STM8L151K4T6TR is sourced from the original manufacturer or authorized distributors?
All STM8L151K4T6TR 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 STM8L151K4T6TR meets industry standards.
7.What is the process for return or replacement of STM8L151K4T6TR?
All STM8L151K4T6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K4T6TR, 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 STM8L151K4T6TR part is unused and in its original packaging.
Return procedure for STM8L151K4T6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K4T6TR 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…

