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

- Shipping:

Inventory:1,499
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152C4T6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 16 MHz STM8 core, 16 KB Flash, 1 KB Data EEPROM with ECC, RTC, LCD controller (4×28 segments), 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, two ultra-low-power comparators, and multiple low-power modes down to 350 nA in Halt. It targets battery-powered metering, portable medical devices, and smart sensors requiring long runtime and integrated display.
For engineers reviewing the STM8L152C4T6 datasheet, STM8L152C4T6 pinout, STM8L152C4T6 application, or STM8L152C4T6 equivalent, key selection criteria include verified 1.65–3.6 V operation, sub-µA RTC-active halt mode, LCD segment drive capability, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L152C4T6 implements a Harvard-architecture 3-stage pipeline STM8 core delivering 16 CISC MIPS at 16 MHz, with up to 40 external interrupt sources and fast 4.7 µs wakeup from Halt mode. Its clock system integrates dual crystal oscillators (1–16 MHz HSE, 32 kHz LSE), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC with clock security system.
Power management includes five configurable low-power modes: Wait (195 µA/MHz + 440 µA), Low Power Run (5.1 µA), Low Power Wait (3 µA), Active-Halt with full RTC (1.3 µA), and Halt (350 nA). I/O leakage is specified at ≤50 nA per pin, enabling reliable operation in energy-constrained systems.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard, 3-stage pipeline, 16 CISC MIPS peak at 16 MHz |
| Memory | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM |
| ADC | 12-bit, 1 Msps, 25 channels including temperature sensor and internal reference |
| DAC | 12-bit, buffered output on PB4–PB6, monotonicity guaranteed |
| Low-Power Modes | Halt: 350 nA @ 3.0 V; Active-Halt w/ RTC: 1.3 µA @ 3.0 V; Low Power Run: 5.1 µA @ 1.8 V |
| LCD Controller | Supports up to 4×28 segments with integrated step-up converter for single-supply operation |
| Operating Voltage | 1.65 V to 3.6 V - enables direct coin-cell (CR2032) or single Li-ion battery operation |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with 41 user-configurable I/Os, all mappable to interrupt vectors. Includes dedicated LCD segment/common pins (SEG0–SEG31, COM0–COM3), SWIM debug interface (PD3), and dual crystal oscillator inputs (OSC_IN/OSC_OUT, OSC32_IN/OSC32_OUT).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| PB4–PB6 | DAC Output Channels | Buffered 12-bit analog outputs supporting rail-to-rail operation; used for sensor biasing or analog waveform generation |
| PA0 | High-Sink LED Driver | Capable of sinking up to 20 mA - supports direct LED drive without external transistor |
| PD3 | SWIM Debug Interface | Single-wire interface for non-intrusive programming and real-time debugging; no JTAG header required |
| PC1–PC4 | LCD Segment Drivers | Drive up to 28 LCD segments directly; compatible with static or multiplexed displays |
| PC5–PC7 | LCD Common Outputs | Provide up to 4 common outputs for 4×28 segment configuration; integrated charge pump enables >3 V LCD bias |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-Low-Power RTC | BCD calendar with alarm and auto-wakeup from Halt; operates independently using 32 kHz LSE crystal |
| Capacitive Sensing | 16-channel CSG peripheral supporting touchkey, proximity, linear, and rotary sensing without external components |
| DMA Controller | 4-channel DMA supporting ADC, DAC, SPI, I²C, USART, and timers - reduces CPU load during data transfers |
| Programmable Voltage Detector | Configurable threshold (2.0–2.9 V) with interrupt and reset options - enables precise brownout response |
| Memory Protection | Flexible read/write protection for Flash and EEPROM; prevents accidental overwrite or unauthorized access |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered water/gas meters with LCD display, tamper detection, and daily consumption logging. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based timestamping, LCD refresh, and secure EEPROM storage. Use Value: 350 nA Halt current extends CR2032 battery life beyond 10 years; integrated LCD driver eliminates external bias IC. |
Use Scenario: Handheld pulse oximeters with OLED/LCD display, optical sensor interface, and Bluetooth LE connectivity. IC Role / Device Role / Timing Role: Signal acquisition hub performing ADC sampling of photodiode signals, temperature compensation, and display control. Use Value: 12-bit ADC with internal reference and temperature sensor enables accurate SpO₂ calculation; low-power modes reduce thermal drift during measurement. |
| Industrial Wireless Sensor Nodes | Smart Home Thermostats |
Use Scenario: LoRaWAN-enabled environmental nodes measuring temperature, humidity, and CO₂ with multi-year battery life. IC Role / Device Role / Timing Role: Central MCU coordinating sensor polling, data preprocessing, RTC-triggered transmission windows, and sleep scheduling. Use Value: Active-Halt mode (1.3 µA) maintains RTC accuracy while minimizing power; 16-channel capacitive sensing supports button-free UI. |
Use Scenario: Line-powered thermostats with backlit LCD, touch-sensitive controls, and HVAC actuator interface. IC Role / Device Role / Timing Role: Human interface manager handling capacitive touch input, LCD segment driving, and relay/valve control timing. Use Value: Integrated LCD controller drives 4×28 segments with internal step-up converter - simplifies BOM and layout; PA0 high-sink capability drives backlight LEDs directly. |
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 |
|---|---|---|---|
| STM8L152C6T6 | 32 KB Flash, 2 KB RAM - identical peripherals and low-power specs | Required when firmware exceeds 16 KB or additional RAM buffers needed for communication stacks | Select C6T6 only if code size or RAM usage justifies higher cost and footprint |
| STM32L011K4T6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, no LCD controller, lower active current (160 µA/MHz) | Suitable for non-LCD applications prioritizing processing headroom over display integration | Choose when migrating to ARM ecosystem or needing richer peripheral set (e.g., AES, RNG) without LCD requirement |
Compared with STM8L152C4T6, the C6T6 offers scalable memory without altering power or peripheral behavior, while the STM32L011K4T6 trades LCD capability for 32-bit performance and modern toolchain support - making it viable only where display functionality is absent or delegated externally.
Availability
STM8L152C4T6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, and industrial wireless sensor nodes requiring stable component supply and long-term lifecycle assurance.
Supply support for STM8L152C4T6 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, specializing in microcontrollers, power management, sensors, and automotive ICs.
The STM8L ultra-low-power MCU product line targets energy-critical applications such as battery-operated instrumentation, smart meters, and wearable health devices - emphasizing sub-µA sleep modes, integrated analog peripherals, and robust operation across extended temperature ranges.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L152C4T6 operates at up to 16 MHz with typical active current of 195 µA/MHz plus 440 µA base consumption - totaling ~3.56 mA at 16 MHz and 3.0 V. This value is measured with all peripherals disabled and includes core, flash, and RAM activity per the DS6372 Rev 17 electrical characteristics table (Section 9.3.3).
Does the device support hardware-accelerated capacitive touch sensing?
Yes - the STM8L152C4T6 integrates a dedicated Capacitive Sensing GPIO (CSG) peripheral supporting up to 16 channels. It enables touchkey, proximity, linear, and rotary touch sensing without external components or CPU intervention, with built-in noise filtering and automatic calibration.
Can the internal 12-bit DAC drive external loads directly?
The 12-bit DAC features an integrated output buffer capable of sourcing/sinking ±5 mA, allowing direct connection to op-amp inputs, sensor bias networks, or low-current actuators. However, for loads exceeding 5 mA or requiring rail-to-rail swing, an external buffer amplifier is recommended per Section 9.3.13 of the datasheet.
Is SWIM debugging supported in all low-power modes?
SWIM debugging remains active in Run, Wait, and Low Power Run modes but is disabled in Low Power Wait, Active-Halt, and Halt modes. To debug ultra-low-power behavior, developers must use event-triggered breakpoints or log critical state transitions to RAM before entering deeper sleep states.
STM8L152C4T6 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, LCD, POR, PWM, WDT
- Number of I/O:
- 41
- 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 25x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L152C4T6 FAQ
1.How can I place an order for STM8L152C4T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152C4T6 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 STM8L152C4T6 reliable?
The price and inventory of STM8L152C4T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152C4T6 is usually 5 days.
3.What payment methods are accepted for STM8L152C4T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152C4T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152C4T6?
STM8L152C4T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152C4T6 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 STM8L152C4T6?
For technical support, including STM8L152C4T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152C4T6 requirements.
6.How does Aetrix verify that STM8L152C4T6 is sourced from the original manufacturer or authorized distributors?
All STM8L152C4T6 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 STM8L152C4T6 meets industry standards.
7.What is the process for return or replacement of STM8L152C4T6?
All STM8L152C4T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152C4T6, 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 STM8L152C4T6 part is unused and in its original packaging.
Return procedure for STM8L152C4T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152C4T6 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…

