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

- Shipping:

Inventory:2,734
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151C8T7 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 64 KB Flash, 2 KB data EEPROM, RTC with ±0.5 ppm accuracy, 12-bit ADC (1 Msps, 28 channels), dual 12-bit DACs, and LCD controller supporting 8×40 segments - deployed in battery-powered smart meters, portable medical sensors, and industrial IoT edge nodes requiring sub-µA sleep current.
For engineers reviewing the STM8L151C8T7 datasheet, STM8L151C8T7 pinout, STM8L151C8T7 application, or STM8L151C8T7 equivalent, key selection criteria include active-halt mode current (1.4 µA), fast wake-up time (4.7 µs), 67 GPIOs with capacitive touch support, and LQFP48 package compatibility for space-constrained designs.
Technical Context
The STM8L151C8T7 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates dual clock domains: high-speed (1–16 MHz HSE/16 MHz HSI) and low-power (32 kHz LSE/38 kHz LSI), managed by a Clock Security System to detect oscillator failure.
Its power architecture supports five distinct low-power modes - including Active-halt with full RTC operation and 400 nA Halt - enabled by programmable BOR thresholds, PVD, and per-pin leakage control (50 nA/I/O). The RTC includes BCD calendar, alarm interrupt, and anti-tamper detection.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS @ 16 MHz - enables deterministic real-time control without cache complexity. |
| Memory | 64 KB Flash + 2 KB ECC-protected data EEPROM + 4 KB RAM - supports firmware updates with RWW and robust data logging. |
| Low-Power Modes | Active-halt (1.4 µA), Low-power wait (3 µA), Halt (400 nA) - extends 10-year battery life in metering and sensor applications. |
| ADC/DAC | 12-bit ADC up to 1 Msps, 28 channels, internal temp sensor; dual 12-bit DACs with output buffer - enables precision analog monitoring and waveform generation. |
| RTC Accuracy | ±0.5 ppm digital calibration with 32 kHz crystal - meets IEC 62053-21 Class 0.2a timing requirements for smart energy meters. |
| GPIO & Touch | Up to 67 I/Os, all mappable to interrupts; 16-channel capacitive sensing - supports touchkey, rotary, and proximity interfaces without external ICs. |
| Supply Range | 1.65–3.6 V (no BOR), 1.8–3.6 V (with BOR); -40 to +125 °C operating range - suitable for wide-temperature industrial deployments. |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with exposed thermal pad; 48-pin quad flat leaded configuration optimized for reflow assembly and thermal dissipation in compact PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domain: VDD powers digital/analog blocks; separate VDDA/VSSA pins ensure clean ADC/DAC reference. |
| NRST | Reset input | Active-low reset with programmable BOR threshold and Schmitt trigger - ensures reliable startup under brownout conditions. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/O | 67 total GPIOs; all support external interrupt, alternate functions (USART, SPI, I²C), and capacitive sensing inputs. |
| OSC_IN / OSC_OUT | External crystal interface | Supports 32 kHz LSE (RTC) and 1–16 MHz HSE (system clock) - enables precise timing and high-speed operation. |
| SWIM | Single-wire interface module | Non-intrusive debugging and programming via dedicated pin - eliminates need for JTAG header in production firmware updates. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm, tamper detection, and ±0.5 ppm calibration - eliminates external RTC IC in metering and alarm systems. |
| Dual 12-bit DACs | Independent buffered outputs on PB4/PB5/PB6 - enables simultaneous analog stimulus generation for sensor calibration and actuator control. |
| Capacitive Sensing | 16-channel hardware-accelerated CS block - supports touchkey, linear slider, and rotary encoder with <5 µs conversion time. |
| Memory Protection | Flexible read/write protection + ECC on EEPROM - prevents unauthorized firmware access and ensures data integrity over 100k write cycles. |
| Fast Wake-up | 4.7 µs from Halt mode - allows rapid response to external events while maintaining sub-µA average current in duty-cycled systems. |
Applications
| Smart Energy Metering | Portable Medical Sensor |
|---|---|
|
Use Scenario: Electricity/water/gas meter with pulse counting, tariff switching, and secure data logging. IC Role / Device Role / Timing Role: Primary system controller managing metrology ADC, RTC timestamping, EEPROM data storage, and IR/RS-485 communication. Use Value: Active-halt mode (1.4 µA) enables >10-year battery backup; ±0.5 ppm RTC meets IEC 62053-21 Class 0.2a accuracy. |
Use Scenario: Wearable ECG or temperature patch transmitting biometric data via BLE gateway. IC Role / Device Role / Timing Role: Signal acquisition hub interfacing analog front-end, driving OLED/LCD display, and managing low-duty-cycle wireless transmission. Use Value: 12-bit ADC (1 Msps) captures high-fidelity biosignals; 16-channel capacitive sensing enables touch-based user interface. |
| Industrial Wireless Sensor Node | Home Automation Controller |
|
Use Scenario: Battery-powered vibration/temperature/humidity node in predictive maintenance systems. IC Role / Device Role / Timing Role: Edge processing unit performing sensor fusion, wake-on-event detection, and data preprocessing before RF transmission. Use Value: 67 GPIOs support multi-sensor interfacing; low-power wait (3 µA) extends field deployment to 5+ years on coin cell. |
Use Scenario: Zigbee/Z-Wave thermostat or lighting controller with local UI and scheduling logic. IC Role / Device Role / Timing Role: Central coordinator managing LCD display, capacitive buttons, real-time scheduling, and serial communication with radio module. Use Value: Integrated LCD controller (8×40) drives segment displays without external driver; beeper timer (1/2/4 kHz) provides audible feedback. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L152C8T7 | Includes LCD controller with 4×44 segment support; identical core, memory, and peripherals otherwise. | Required only when driving larger LCDs (e.g., 4-line alphanumeric displays); adds no value for non-LCD use cases. | Select STM8L152C8T7 only if LCD segment count exceeds 8×40 or requires step-up converter for high-contrast operation. |
| STM32L051K8U6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, lower active current (119 µA/MHz), but no integrated LCD or capacitive sensing. | Better for complex firmware (RTOS, crypto), worse for direct LCD/touch integration; requires external components for same analog features. | Choose STM32L051K8U6 when migrating to 32-bit software ecosystem or needing higher compute throughput; retain STM8L151C8T7 for cost-sensitive, LCD/touch-integrated designs. |
Compared with STM8L152C8T7, the STM8L151C8T7 saves BOM cost and PCB area where LCD is unused; versus STM32L051K8U6, it delivers superior analog integration and lower system-level component count for metering and sensor UIs.
Availability
STM8L151C8T7 is available at Aetrix Electronics and suitable for smart metering, portable diagnostics, and industrial sensor nodes requiring stable component supply across extended product lifecycles.
Supply support for STM8L151C8T7 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 devices, sensors, and analog ICs for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU family targets battery-operated and energy-harvesting applications demanding sub-µA sleep currents, integrated analog peripherals, and long-term supply stability - with STM8L151C8T7 optimized for cost-sensitive, space-constrained metering and sensing.
FAQ
What is the maximum operating frequency and corresponding power consumption of the STM8L151C8T7?
The STM8L151C8T7 operates at up to 16 MHz using its internal 16 MHz factory-trimmed RC oscillator or external crystal. At 16 MHz and 3.0 V, typical active-mode current is 200 µA/MHz + 330 µA (i.e., ~3.53 mA), verified per DS6948 Rev 11 Table 20. This includes core, flash, and peripheral power with all clocks enabled.
Does the STM8L151C8T7 support hardware-accelerated capacitive touch sensing?
Yes - it integrates a dedicated 16-channel capacitive sensing controller supporting touchkey, linear slider, rotary encoder, and proximity detection. Each channel uses hardware charge-transfer measurement with <5 µs conversion time and built-in noise filtering, eliminating need for external touch ICs or software-based polling.
How does the RTC maintain accuracy across temperature and voltage variations?
The RTC achieves ±0.5 ppm accuracy via digital calibration against a 32 kHz external crystal (LSE), with compensation applied in firmware using factory-stored trim values. It operates independently in Active-halt mode with full calendar/alarm functionality, and includes anti-tamper detection to invalidate timekeeping upon physical intrusion.
What debug interface does the STM8L151C8T7 use, and is JTAG supported?
The device uses SWIM (Single-Wire Interface Module) for non-intrusive debugging and programming via a single dedicated pin (PD3). JTAG is not supported; SWIM enables full flash read/write, breakpoint setting, and register inspection at run-time without halting the CPU, compatible with ST-LINK/V2 and third-party debuggers.
STM8L151C8T7 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:
- 41
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 2K x 8
- RAM Size:
- 4K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 25x12b; D/A 2x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151C8T7 FAQ
1.How can I place an order for STM8L151C8T7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151C8T7 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 STM8L151C8T7 reliable?
The price and inventory of STM8L151C8T7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151C8T7 is usually 5 days.
3.What payment methods are accepted for STM8L151C8T7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151C8T7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151C8T7?
STM8L151C8T7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151C8T7 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 STM8L151C8T7?
For technical support, including STM8L151C8T7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151C8T7 requirements.
6.How does Aetrix verify that STM8L151C8T7 is sourced from the original manufacturer or authorized distributors?
All STM8L151C8T7 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 STM8L151C8T7 meets industry standards.
7.What is the process for return or replacement of STM8L151C8T7?
All STM8L151C8T7 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151C8T7, 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 STM8L151C8T7 part is unused and in its original packaging.
Return procedure for STM8L151C8T7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151C8T7 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…

