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

- Shipping:

Inventory:3,170
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151C4U6 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, two ultra-low-power comparators, RTC with calendar and alarm, and up to 41 I/Os. It operates from 1.65 V to 3.6 V and supports five low-power modes-including Halt mode at 350 nA-making it suitable for battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L151C4U6 datasheet, STM8L151C4U6 pinout, STM8L151C4U6 application, or STM8L151C4U6 equivalent, key selection criteria include verified sub-µA Halt current, factory-trimmed 16 MHz RC oscillator accuracy (±1%), integrated RTC with auto-wakeup, 12-bit ADC linearity (±1 LSB INL), and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151C4U6 implements a Harvard-architecture 3-stage pipelined 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 and 32 kHz LSE), plus internal 16 MHz factory-trimmed RC (±1% over -40°C to +85°C) and 38 kHz low-consumption RC.
Power management includes five configurable low-power modes, programmable voltage detector (PVD), ultra-safe BOR with five thresholds, and per-pin leakage as low as 50 nA. The analog subsystem combines a 12-bit ADC with internal temperature sensor and reference voltage, a buffered 12-bit DAC on PB4–PB6, and two rail-to-rail comparators-one with fixed threshold and wakeup capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Harvard, 3-stage pipeline STM8 CPU; enables deterministic 16 MIPS execution without cache dependency. |
| Max Clock Frequency | 16 MHz; supported by internal 16 MHz RC (±1% over temp/voltage) or external crystal. |
| Flash / EEPROM / RAM | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM; enables firmware updates and data logging without full reset. |
| ADC Performance | 12-bit, 1 Msps, 25 channels; includes internal temp sensor and VREFINT for self-calibration in field deployments. |
| Low-Power Halt Current | 350 nA at 3.0 V, 25°C; measured with RTC active and I/Os in high-impedance; enables >10-year coin-cell operation. |
| DAC Output | 12-bit buffered DAC on PB4/PB5/PB6; monotonic output with ±2 LSB DNL ensures precision analog control in closed-loop systems. |
| RTC Functionality | BCD calendar with alarm, periodic wakeup from Halt; retains time across power cycles using VBAT or LSE crystal. |
Pinout & Package
STM8L151C4U6 is housed in a 48-pin UFQFPN package (7 × 7 mm, 0.5 mm pitch), optimized for space-constrained PCB layouts and thermal performance in compact battery-powered designs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply | 1.65–3.6 V input; powers core, memories, and most peripherals; requires local 100 nF decoupling. |
| VSS | Ground reference | Digital ground plane connection; separate analog ground not required but recommended for ADC/DAC stability. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–3.6 V logic; supports external push-button or supervisor IC. |
| SWIM | Single-wire interface module | Non-intrusive debug and programming port; shares pin with PA1; enables in-circuit flash update without JTAG header. |
| PA0–PA7 | General-purpose I/O bank A | All mappable to interrupt vectors; PA0 supports high-sink LED driver (20 mA); supports capacitive touch sensing. |
| PB0–PB7 | General-purpose I/O bank B | Includes DAC outputs (PB4–PB6); supports USART, SPI, I²C alternate functions; all support wake-up from low-power modes. |
| PC0–PC7 | General-purpose I/O bank C | Supports TIM1, TIM2, ADC, comparator inputs; PC6/PC7 optionally serve as HSE crystal pins (1–16 MHz). |
| PD0–PD7 | General-purpose I/O bank D | Supports TIM3, USART, I²C, beeper; PD0/PD1 are dedicated USART TX/RX; PD2 supports IrDA modulation. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with RTC running-enables decade-long operation on CR2032 cells in metering applications. |
| Factory-trimmed 16 MHz RC oscillator | ±1% accuracy over -40°C to +85°C and 1.65–3.6 V-eliminates need for external crystal in cost-sensitive timing-critical systems. |
| Read-while-write Flash & ECC EEPROM | Simultaneous code execution and data logging; ECC detects/corrects single-bit errors-critical for firmware integrity in unattended devices. |
| Capacitive touch sensing | 16-channel hardware-accelerated CSD supporting touchkey, proximity, linear, and rotary sensors-reduces MCU load and BOM count. |
| SWIM debug interface | Single-pin, non-intrusive programming and real-time variable inspection-enables field firmware updates without debug headers or PCB redesign. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered gas/water meters with hourly pulse logging and tamper detection. IC Role / Device Role / Timing Role: Primary system controller managing pulse counting, RTC timestamping, LCD display, and low-power sleep scheduling. Use Value: 350 nA Halt current extends CR2032 life beyond 12 years; integrated RTC eliminates external timekeeping IC; 12-bit ADC reads pressure transducer signals with <±1 LSB error. |
Use Scenario: Wearable ECG patch recording heart rate and R-R intervals continuously for 72 hours. IC Role / Device Role / Timing Role: Signal acquisition controller handling analog front-end conditioning, ADC sampling, digital filtering, and BLE-ready data buffering. Use Value: 1 Msps 12-bit ADC captures 500 Hz ECG waveforms with 70 dB SNR; ultra-low leakage I/O (<50 nA) prevents signal drift during long-duration measurements. |
| Industrial Wireless Sensor Node | Home Appliance Control Panel |
|
Use Scenario: LoRaWAN-enabled temperature/humidity node deployed in HVAC ducts with 10-year battery life. IC Role / Device Role / Timing Role: System-on-chip managing sensor interfacing (I²C HTS221), RF transceiver control, and deep-sleep coordination. Use Value: Low-power wait mode (3 µA) enables 99.9% duty-cycled operation; 32 kHz LSE RTC triggers precise 15-minute wakeups for sensor polling and transmission. |
Use Scenario: Touch-enabled oven control panel with backlight dimming, buzzer feedback, and safety interlock monitoring. IC Role / Device Role / Timing Role: Human interface processor driving capacitive touch keys, 4×28-segment LCD, beeper timer, and relay drivers. Use Value: Integrated 16-channel CSD reduces external components; beeper timer generates 1/2/4 kHz tones without CPU intervention; 41 GPIOs support direct LED/buzzer/relay drive. |
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 |
|---|---|---|---|
| STM8L051F3P6 | 8 KB Flash, no RTC, no DAC, 12-bit ADC (0.3 Msps), 1.65–3.6 V, 510 nA Halt | Lacks calendar RTC and DAC; suitable only for simpler sensor readout without time-stamping or analog output. | Select when BOM cost is primary constraint and RTC/DAC are unnecessary-requires external RTC for timestamping. |
| EFM8LB12F32ES1 | Silicon Labs 8051 core, 32 KB Flash, 2.25 KB RAM, 12-bit ADC (1 Msps), 200 nA Halt, no EEPROM | No built-in EEPROM or factory-trimmed RC; requires external calibration; lacks SWIM simplicity. | Choose for lower Halt current and higher RAM, but accept added complexity in calibration and toolchain integration. |
Compared with STM8L051F3P6, STM8L151C4U6 adds RTC, DAC, and ECC EEPROM at modest cost premium-justified in time-aware or analog-output applications. Versus EFM8LB12F32ES1, it trades 100 nA lower Halt for proven SWIM debug, factory oscillator trim, and embedded EEPROM reliability.
Availability
STM8L151C4U6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home appliance control panels requiring stable component supply across multi-year production cycles.
Supply support for STM8L151C4U6 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 product line targets energy-constrained applications such as battery-operated meters, wearables, and IoT edge nodes-emphasizing sub-µA sleep currents, integrated peripherals, and robust qualification for extended field deployment.
FAQ
What is the guaranteed minimum operating voltage for STM8L151C4U6 in Halt mode?
The STM8L151C4U6 guarantees operation down to 1.65 V in all low-power modes including Halt, with 350 nA typical current at 3.0 V and 25°C. At 1.65 V, Halt current rises to 500 nA maximum per datasheet Table 26, maintaining full RTC functionality and register retention.
Does STM8L151C4U6 support true hardware AES encryption?
No. The STM8L151C4U6 does not include hardware cryptographic accelerators. It relies on software-based AES implementations; for secure boot or data encryption, external secure elements (e.g., STSAFE-A) or higher-tier MCUs like STM32L5 are required.
Can the internal 16 MHz RC oscillator be used for UART communication without external crystal?
Yes. The factory-trimmed 16 MHz RC oscillator achieves ±1% accuracy over -40°C to +85°C and 1.65–3.6 V, enabling reliable UART communication at 115.2 kbps with less than 1% baud error-no external crystal needed for most industrial serial interfaces.
How many I/O pins support capacitive touch sensing on STM8L151C4U6?
The STM8L151C4U6 supports up to 16 capacitive sensing channels across GPIOs PA0–PA7, PB0–PB7, and PC0–PC1, using its integrated Capacitive Sensing Controller (CSCT). All channels support touchkey, proximity, linear, and rotary configurations with hardware-accelerated scanning.
STM8L151C4U6 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, 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:
STM8L151C4U6 FAQ
1.How can I place an order for STM8L151C4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151C4U6 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 STM8L151C4U6 reliable?
The price and inventory of STM8L151C4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151C4U6 is usually 5 days.
3.What payment methods are accepted for STM8L151C4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151C4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151C4U6?
STM8L151C4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151C4U6 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 STM8L151C4U6?
For technical support, including STM8L151C4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151C4U6 requirements.
6.How does Aetrix verify that STM8L151C4U6 is sourced from the original manufacturer or authorized distributors?
All STM8L151C4U6 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 STM8L151C4U6 meets industry standards.
7.What is the process for return or replacement of STM8L151C4U6?
All STM8L151C4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151C4U6, 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 STM8L151C4U6 part is unused and in its original packaging.
Return procedure for STM8L151C4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151C4U6 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…
