STMicroelectronics STM8L152C8U6
- Part No.:
- STM8L152C8U6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 48-UFQFN Exposed Pad
- Datasheet:
-
STM8L152C8U6.pdf
- Description:
- IC MCU 8BIT 64KB FLASH 48UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:3,773
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152C8U6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 64 KB Flash, 2 KB data EEPROM, RTC, LCD controller (8×40/4×44), dual 12-bit DACs, 12-bit ADC (1 Msps, 28 channels), two USARTs, I²C, SPI, and up to 48 GPIOs - deployed in battery-powered industrial sensors and portable medical devices.
For engineers reviewing the STM8L152C8U6 datasheet, STM8L152C8U6 pinout, STM8L152C8U6 application, or STM8L152C8U6 equivalent, key selection criteria include ultra-low-power operation (400 nA Halt mode), integrated LCD driver with step-up converter, dual DAC output buffering, RTC digital calibration (±0.5 ppm), and capacitive touch sensing support for human-interface designs.
Technical Context
The STM8L152C8U6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates a clock security system, three crystal oscillator options (32 kHz LSE, 1–16 MHz HSE, and factory-trimmed 16 MHz/38 kHz RC), and independent BOR with five programmable thresholds.
Its analog subsystem includes two ultra-low-power comparators (one rail-to-rail, one with fixed threshold), a temperature sensor, internal reference voltage, and dual 12-bit DACs supporting simultaneous buffered outputs on PB4–PB6 - all operating down to 1.65 V supply without BOR.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Harvard, 3-stage pipeline STM8 CPU; enables deterministic interrupt latency and efficient code density for resource-constrained firmware. |
| Max Operating Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining sub-200 µA/MHz active power consumption. |
| Flash / EEPROM | 64 KB Flash with RWW and ECC; 2 KB data EEPROM with error correction - supports robust field firmware updates and parameter storage. |
| Low-Power Modes | Halt (400 nA), Active-halt with RTC (1.4 µA), Low-power wait (3 µA); enables multi-year battery life in always-on sensing nodes. |
| ADC / DAC | 12-bit ADC, 1 Msps, 28 channels + internal temp sensor/Vref; dual 12-bit DACs with output buffers - suitable for closed-loop analog control and waveform generation. |
| LCD Controller | Supports 8×40 or 4×44 segments with integrated step-up converter; eliminates external bias supply in portable display applications. |
| Capacitive Sensing | 16-channel CSG peripheral supporting touchkey, proximity, linear/rotary touch - enables intuitive UI without external ICs. |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with 48 pins; RoHS-compliant, moisture sensitivity level 3 (MSL3).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Primary 1.65–3.6 V supply rail; powers core, memories, and most peripherals - requires local 100 nF decoupling. |
| VSS | Ground reference | Digital ground return; must be connected to low-impedance PCB plane to maintain ADC/DAC accuracy and noise immunity. |
| NRST | Active-low reset input | Asynchronous reset pin with internal pull-up; accepts external push-button or supervisor IC assertion; supports SWIM debugging entry. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/O | Up to 48 mappable GPIOs with interrupt capability; 50 nA ultra-low leakage per I/O enables long-term standby with wake-on-pin-change. |
| OSC_IN / OSC_OUT | HSE crystal oscillator interface | Connects to 1–16 MHz quartz crystal; used for precise timing, USB-free communication sync, or high-accuracy RTC calibration source. |
| LCD_COM0–LCD_COM3 / LCD_SEG0–LCD_SEG39 | LCD segment/common drivers | Direct drive for 4×44 or 8×40 LCD panels; integrated charge pump generates required bias voltage from single VDD supply. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 400 nA typical current draw with RAM retention and fast 4.7 µs wake-up - ideal for intermittent-sensing IoT endpoints. |
| Dual buffered 12-bit DACs | Simultaneous analog outputs on PB4/PB5/PB6 with rail-to-rail swing and <1 LSB INL - enables dual-channel signal generation or motor phase control. |
| RTC with digital calibration | BCD calendar with alarm, ±0.5 ppm accuracy over temperature via software-adjustable trim - eliminates external TCXO in time-critical logging. |
| Capacitive touch sensing (CSG) | Hardware-accelerated 16-channel sensing engine supporting proximity, linear slider, and rotary encoder - reduces MCU load and firmware complexity. |
| SWIM debug interface | Single-wire non-intrusive programming and real-time debugging using dedicated SWIM pin - enables in-system firmware updates without JTAG header. |
Applications
| Smart Utility Meter | Portable ECG Monitor |
|---|---|
Use Scenario: Battery-operated gas/water meter with pulse counting, tamper detection, and LCD display. IC Role / Device Role / Timing Role: Main system controller managing metrology interface, anti-tamper logic, RTC timestamping, and 4×44 segment LCD drive. Use Value: Integrated LCD controller and 1.4 µA Active-halt RTC mode enable >10-year battery life without external bias or timing ICs. |
Use Scenario: Handheld electrocardiogram device acquiring analog leads, processing waveform, and displaying real-time trace. IC Role / Device Role / Timing Role: Signal acquisition hub running ADC at 1 Msps, buffering data in 4 KB RAM, driving OLED/LCD via SPI/segment interface. Use Value: Dual DACs generate precise pacing signals or calibration references; 12-bit ADC with internal Vref ensures clinical-grade measurement stability. |
| Industrial Wireless Sensor Node | Home Appliance Control Panel |
Use Scenario: LoRaWAN-enabled temperature/humidity node with capacitive touch buttons and battery telemetry. IC Role / Device Role / Timing Role: Sensor fusion processor aggregating I²C HTS221 data, managing RF transceiver UART, and executing touch-key scan. Use Value: 16-channel CSG peripheral replaces discrete touch IC; ultra-low leakage I/O preserves battery during 15-minute sleep cycles. |
Use Scenario: Microwave oven or washing machine front panel with LED indicators, buzzer feedback, and rotary encoder UI. IC Role / Device Role / Timing Role: Human interface manager handling beeper timer (1/2/4 kHz), PWM-controlled LEDs, and capacitive rotary dial input. Use Value: Dedicated beeper timer and hardware CSG eliminate external timers and touch controllers - reducing BOM cost and board space. |
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 |
|---|---|---|---|
| STM8L052C6T6 | 32 KB Flash, 1 KB EEPROM, no LCD controller, no DAC, 12-bit ADC only (10 channels) | Suitable for simpler sensor nodes without display or analog output needs | Select when LCD/DAC functionality is unnecessary and cost/BOM reduction is prioritized over feature set. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, no LCD controller, but includes AES crypto and ultra-low-power UART wakeup | Better suited for secure wireless edge nodes requiring encryption or higher compute throughput | Choose when firmware complexity demands 32-bit toolchain support, cryptographic services, or future scalability beyond 8-bit architecture. |
Compared with STM8L052C6T6, the STM8L152C8U6 adds LCD drive, dual DACs, and enhanced RTC - justifying its use in display-rich, analog-intensive designs; versus STM32L053R8T6, it trades 32-bit capability for lower power in deep-sleep states and simpler firmware development.
Availability
STM8L152C8U6 is available at Aetrix Electronics and suitable for smart utility meters, portable medical monitors, industrial wireless sensor nodes, and home appliance control panels requiring stable component supply across multi-year production cycles.
Supply support for STM8L152C8U6 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 ICs, sensors, and automotive semiconductors since 1987.
The STM8L ultra-low-power MCU product line targets battery-operated and energy-harvesting applications where sub-microamp sleep current, integrated analog peripherals, and long-term reliability are critical design requirements.
FAQ
Does STM8L152C8U6 support in-application programming (IAP) of Flash memory?
Yes. The device supports read-while-write (RWW) Flash operation, enabling firmware updates without halting application execution. IAP is implemented via the built-in bootloader accessed over USART or through user firmware using the Flash programming interface with proper option byte configuration and write-protection disable sequence.
What is the maximum allowed crystal load capacitance for the 32 kHz LSE oscillator?
The LSE oscillator supports external 32.768 kHz crystals with load capacitance of 6 pF to 12.5 pF, as specified in Section 9.3.2 of DS6948 Rev 11. Using a 12.5 pF crystal with matching PCB trace capacitance ensures reliable startup and ±20 ppm frequency stability across -40°C to +85°C.
Can the STM8L152C8U6 drive a 4×44 segment LCD without external components?
Yes. The integrated LCD controller includes a programmable step-up converter that generates the required bias voltage from the main VDD supply (1.65–3.6 V), eliminating need for external charge pumps or voltage doublers - confirmed in Section 3.6 and Table 45 of the datasheet.
Is SWIM debugging supported in all low-power modes?
No. SWIM debugging remains active only in Run, Wait, and Low-power run modes. It is disabled in Low-power wait, Active-halt, and Halt modes to preserve ultra-low current - requiring wake-up via interrupt or reset before resuming debug session, as detailed in Section 3.19 and Table 26.
STM8L152C8U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- 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:
- 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L152C8U6 FAQ
1.How can I place an order for STM8L152C8U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152C8U6 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 STM8L152C8U6 reliable?
The price and inventory of STM8L152C8U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152C8U6 is usually 5 days.
3.What payment methods are accepted for STM8L152C8U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152C8U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152C8U6?
STM8L152C8U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152C8U6 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 STM8L152C8U6?
For technical support, including STM8L152C8U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152C8U6 requirements.
6.How does Aetrix verify that STM8L152C8U6 is sourced from the original manufacturer or authorized distributors?
All STM8L152C8U6 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 STM8L152C8U6 meets industry standards.
7.What is the process for return or replacement of STM8L152C8U6?
All STM8L152C8U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152C8U6, 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 STM8L152C8U6 part is unused and in its original packaging.
Return procedure for STM8L152C8U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152C8U6 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…
