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

- Shipping:

Inventory:2,564
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151C2T6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 KB Flash, 256 bytes data EEPROM, RTC, 12-bit ADC (1 Msps), two ultra-low-power comparators, and multiple timers-including two 16-bit general-purpose timers and one beeper timer. It operates from 1.65–3.6 V across –40 to +85 °C and targets battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L151C2T6 datasheet, STM8L151C2T6 pinout, STM8L151C2T6 application, or STM8L151C2T6 equivalent, key selection criteria include ultra-low leakage per I/O (50 nA), fast Halt-mode wakeup (5 µs), BCD calendar RTC with ±0.5 ppm digital calibration, and support for up to 20 capacitive sensing channels.
Technical Context
The STM8L151C2T6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates a clock security system, programmable voltage detector (PVD), and dual oscillator support-16 MHz factory-trimmed RC and 32 kHz LSE-with automatic failover.
Its low-power architecture includes five distinct modes: Wait, Low-power Run, Low-power Wait, Active-halt with RTC, and Halt. The RTC operates independently in Active-halt mode using the LSE crystal, enabling periodic wakeups while consuming only 0.3 µA typical current.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Harvard, 3-stage pipeline STM8 CPU delivering 16 MIPS at 16 MHz |
| Flash / EEPROM | 8 KB Flash with ECC; 256 bytes data EEPROM with ECC for robust non-volatile storage |
| ADC | 12-bit SAR ADC with 28 channels, 1 Msps sampling rate, internal reference and temperature sensor |
| RTC Accuracy | ±0.5 ppm after digital calibration; maintains BCD calendar and alarm in Active-halt mode |
| Low-Power Modes | 5 modes including Halt (0.3 µA typ) and Active-halt with RTC (0.9 µA typ @ 32 kHz LSE) |
| I/O Leakage | 50 nA per I/O in Halt mode-critical for multi-year battery operation in remote sensors |
| Wakeup Time | 5 µs from Halt to full execution-enables rapid response to external events without power penalty |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with 41 user-configurable I/Os, all mappable to interrupt vectors. Includes dedicated pins for LSE/LSI/HSE oscillators, SWIM debug interface, and NRST with integrated pull-up.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDDA for analog peripherals, VDD for digital core-enables noise isolation |
| NRST | Active-low reset input | Supports external reset and internal BOR/POR; configurable as GPIO after boot |
| SWIM | Single-wire interface for debug | Enables non-intrusive programming and real-time debugging without dedicated JTAG pins |
| OSC_IN / OSC_OUT | LSE crystal connection | Drives 32.768 kHz crystal for RTC; includes LSE security system to detect oscillator failure |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/Os | 41 total I/Os; each supports interrupt, alternate functions (USART/I2C/SPI), and capacitive sensing |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm, auto-wakeup, and ±0.5 ppm accuracy-eliminates need for external RTC IC |
| Capacitive Sensing | 20-channel hardware-accelerated touch sensing supporting touchkey, proximity, linear, and rotary interfaces |
| Flexible Clock System | Three internal oscillators (16 MHz RC, 38 kHz RC, 128 kHz RC) plus dual external crystal support (HSE/LSE) |
| DMA Controller | 4 peripheral-to-memory channels + 1 memory-to-memory channel-reduces CPU load during ADC/SPI transfers |
| Memory Protection | Programmable read/write protection for Flash and EEPROM-prevents unauthorized firmware access or corruption |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pulse logging and tamper detection. IC Role / Device Role / Timing Role: Main controller managing metrology ADC, RTC-based timestamping, and ultrasonic flow sensing interface. Use Value: 0.9 µA Active-halt current extends 10-year battery life; 5 µs wakeup enables immediate response to flow anomalies. |
Use Scenario: Wearable ECG patch requiring continuous analog acquisition and Bluetooth LE event-triggered transmission. IC Role / Device Role / Timing Role: Signal acquisition hub-digitizing analog leads via 12-bit ADC, filtering in firmware, and waking radio on R-peak detection. Use Value: 50 nA I/O leakage prevents parasitic drain; built-in temperature sensor enables on-chip calibration of analog front-end drift. |
| Industrial Wireless Sensor Node | Home Automation Touch Panel |
Use Scenario: LoRaWAN node monitoring temperature/humidity/vibration in HVAC ducts with 6-month battery cycle. IC Role / Device Role / Timing Role: Data aggregator-reading analog sensors, running FFT on vibration data, and scheduling RF transmissions via RTC alarm. Use Value: Dual comparators enable zero-power threshold detection; 28-channel ADC supports multi-sensor fusion without external mux. |
Use Scenario: Wall-mounted light/dimmer control panel with slider, button, and proximity wake. IC Role / Device Role / Timing Role: Capacitive touch controller-scanning 12 keys and 2 sliders using hardware-accelerated CSD engine. Use Value: 20-channel CSD eliminates external touch IC; low-power run mode sustains 100 Hz scan rate at <10 µA average current. |
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 DMA, TSSOP20 (20-pin) package only | Suitable for simpler timer/control tasks without calendar or sensor fusion | Select when cost and footprint are critical and RTC/cap-sense are unnecessary |
| STM32L011K4T6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, same LQFP32 package option | Higher code density and interrupt latency tolerance; requires different toolchain | Choose for future-proofing, RTOS use, or when >8 KB code space is needed |
Compared with STM8L051F3P6, the STM8L151C2T6 adds RTC, DMA, and capacitive sensing-justifying its use in time-aware sensor nodes. Against STM32L011K4T6, it offers lower interrupt latency and simpler firmware development at the cost of 32-bit ecosystem advantages.
Availability
STM8L151C2T6 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 STM8L151C2T6 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, 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, fast wakeups, and integrated analog peripherals.
FAQ
What is the maximum operating frequency and corresponding power supply range?
The STM8L151C2T6 achieves a maximum CPU frequency of 16 MHz. It supports this speed across the full operating voltage range of 1.65 V to 3.6 V when the Brown-out Reset (BOR) is disabled. With BOR enabled, the minimum supply rises to 1.8 V to ensure reliable reset behavior under voltage transients.
Does the device support hardware-accelerated capacitive sensing, and how many channels are available?
Yes, the STM8L151C2T6 integrates a dedicated capacitive sensing controller supporting up to 20 channels. It enables touchkey, proximity, linear, and rotary touch interfaces without external components, using charge-transfer measurement with automatic baseline compensation and noise filtering.
How does the RTC maintain accuracy over temperature and voltage variations?
The RTC uses a 32.768 kHz external LSE crystal and includes digital calibration capable of compensating for ±0.5 ppm error. Calibration coefficients are stored in option bytes and applied in real time, ensuring BCD calendar accuracy across –40 to +85 °C and 1.65–3.6 V supply range.
Can the SWIM interface be used for both programming and real-time debugging?
Yes, the single-wire SWIM interface supports full-speed on-chip programming, non-intrusive real-time debugging, and memory inspection-even while the application runs. It requires only one pin (SWIM) and ground, eliminating the need for multi-pin debug headers in space-constrained designs.
STM8L151C2T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-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:
- 40
- Program Memory Size:
- 4KB (4K 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 28x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151C2T6 FAQ
1.How can I place an order for STM8L151C2T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151C2T6 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 STM8L151C2T6 reliable?
The price and inventory of STM8L151C2T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151C2T6 is usually 5 days.
3.What payment methods are accepted for STM8L151C2T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151C2T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151C2T6?
STM8L151C2T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151C2T6 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 STM8L151C2T6?
For technical support, including STM8L151C2T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151C2T6 requirements.
6.How does Aetrix verify that STM8L151C2T6 is sourced from the original manufacturer or authorized distributors?
All STM8L151C2T6 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 STM8L151C2T6 meets industry standards.
7.What is the process for return or replacement of STM8L151C2T6?
All STM8L151C2T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151C2T6, 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 STM8L151C2T6 part is unused and in its original packaging.
Return procedure for STM8L151C2T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151C2T6 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…

