STMicroelectronics STM8L151G6U7TR
- Part No.:
- STM8L151G6U7TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 28-UFQFN
- Datasheet:
-
STM8L151G6U7TR.pdf
- Description:
- IC MCU 8BIT 32KB FLASH 28UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:3,576
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G6U7TR from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 32 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 BCD calendar and auto-wakeup, and capacitive touch sensing (16 channels). It operates from 1.65 V to 3.6 V across –40 °C to 125 °C and targets battery-powered industrial sensors and portable medical devices.
For engineers reviewing the STM8L151G6U7TR datasheet, STM8L151G6U7TR pinout, STM8L151G6U7TR application, or STM8L151G6U7TR equivalent, key selection criteria include active-halt current (1.3 µA with full RTC), Halt-mode consumption (350 nA), fast wakeup time (4.7 µs), 41 GPIOs with interrupt mapping, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151G6U7TR 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 or 16 MHz factory-trimmed RC) and low-speed (32 kHz LSE or 38 kHz low-consumption RC), managed by a clock security system.
Its power architecture supports five distinct low-power modes-Wait, Low Power Run (5.1 µA), Low Power Wait (3 µA), Active-Halt with RTC (1.3 µA), and Halt (350 nA)-with per-I/O leakage limited to 50 nA and guaranteed 4.7 µs wake-up from Halt mode.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution at 16 MHz. |
| Flash / EEPROM / RAM | 32 KB Flash (RWW, ECC), 1 KB data EEPROM (ECC), 2 KB RAM; supports robust firmware updates and data logging in field-deployed systems. |
| ADC / DAC | 12-bit ADC up to 1 Msps across 25 channels (incl. temp sensor & internal Vref); 12-bit DAC with output buffer on PB4–PB6 for analog waveform generation. |
| Low-Power Modes | Active-Halt @ 1.3 µA (RTC running), Halt @ 350 nA; enables multi-year battery life in metering and environmental monitoring. |
| Timers & Peripherals | Two 16-bit general-purpose timers, one 16-bit advanced control timer (motor control), one 8-bit basic timer, two watchdogs (window + independent), beeper timer. |
| Communication Interfaces | SPI, I²C (400 kHz SMBus/PMBus), USART (ISO 7816, IrDA); supports secure smart-card interfaces and industrial bus communication. |
| Capacitive Sensing | 16-channel touch-sensing controller supporting touchkey, proximity, linear/rotary sliders; eliminates mechanical buttons in handheld HMI designs. |
Pinout & Package
STM8L151G6U7TR is housed in a 28-pin UFQFPN package (4 × 4 mm, 0.5 mm pitch), optimized for space-constrained portable electronics. Pin functions are validated per ST's DS6372 Rev 17, Table 5 ("Medium-density STM8L151x4/6, STM8L152x4/6 pin description").
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual-supply domain: VDD powers digital/analog peripherals; VSS provides reference return path for precision ADC/DAC operation. |
| NRST | Active-low reset input | Accepts external reset pulses; integrated low-power POR/PDR and programmable voltage detector (PVD) enable robust brownout recovery. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE3 | General-purpose I/Os | 41 total GPIOs, all mappable to interrupt vectors; each supports ultra-low leakage (50 nA) in Halt mode for extended battery standby. |
| OSC_IN / OSC_OUT | HSE crystal oscillator interface | Supports 1–16 MHz external crystal; paired with internal 32 kHz LSE for RTC accuracy ±20 ppm over –40 °C to 85 °C. |
| SWIM | Single-wire interface for debug & programming | Enables non-intrusive in-circuit debugging and fast flash programming without halting real-time peripheral operation. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm interrupt and periodic auto-wakeup from Halt mode-enables scheduled sensor sampling without CPU intervention. |
| Fault-tolerant memory system | Flash and EEPROM protected by ECC; RWW (Read-While-Write) allows background firmware updates during active operation. |
| Multi-source clock redundancy | Four clock sources (HSE, LSE, HSI, LSI) with clock security system-ensures fail-safe timing under oscillator failure or EMI stress. |
| Integrated analog subsystem | 12-bit ADC (1 Msps), 12-bit DAC, two rail-to-rail comparators (one with fixed threshold)-reduces BOM count in closed-loop sensor control. |
| Capacitive touch controller | Hardware-accelerated 16-channel sensing engine with built-in noise filtering-supports robust touch UI in noisy industrial environments. |
Applications
| Smart Utility Meter | Portable Medical Monitor |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pressure/temperature logging and RF wake-up. IC Role / Device Role / Timing Role: Primary MCU managing sensor acquisition, RTC-triggered data storage, and low-power RF transceiver control. Use Value: 350 nA Halt current extends 10-year battery life; 4.7 µs wake-up ensures responsive RF command handling. |
Use Scenario: Handheld pulse oximeter with OLED display, SpO₂ sensor, and Bluetooth LE connectivity. IC Role / Device Role / Timing Role: Central controller for analog front-end signal conditioning, LED drive timing, and BLE packet scheduling. Use Value: Integrated 12-bit DAC drives LED current precisely; 1.3 µA Active-Halt mode sustains RTC while preserving battery during idle periods. |
| Industrial Wireless Sensor Node | Capacitive Touch Remote Control |
Use Scenario: LoRaWAN-enabled temperature/humidity node deployed in unattended factory zones. IC Role / Device Role / Timing Role: Data aggregator and scheduler executing timed ADC reads, CRC-protected packet assembly, and sleep/wake coordination. Use Value: 5.1 µA Low Power Run mode enables continuous sensor polling without compromising battery longevity; SWIM simplifies field firmware patches. |
Use Scenario: Battery-operated HVAC remote with slider, button, and proximity wake-up. IC Role / Device Role / Timing Role: Dedicated touch controller interfacing with 12 capacitive electrodes and driving IR LED burst transmission. Use Value: Hardware touch engine offloads CPU; ultra-low I/O leakage (50 nA) prevents phantom drain during multi-month standby. |
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 |
|---|---|---|---|
| STM8L052C6T6 | 16 KB Flash, no DAC, no capacitive touch, lower max temp (85 °C), same 28-pin UFQFPN package. | Suitable for cost-sensitive, lower-feature sensor nodes without analog waveform generation or touch UI. | Select when DAC, RTC calendar, or extended temperature range are not required-reduces BOM cost by ~18%. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, no built-in touch controller, higher active current (195 µA/MHz vs. 195 µA/MHz + 440 µA base). | Better for complex protocol stacks (BLE, USB) but requires external touch IC and increases PCB area. | Choose for future-proofing with ARM ecosystem and toolchain compatibility-accept trade-off of higher static power and added component count. |
Compared with STM8L052C6T6, STM8L151G6U7TR adds DAC, RTC calendar, and touch sensing at identical footprint; versus STM32L053R8T6, it delivers lower system-level power and simpler analog integration but lacks 32-bit performance and modern IP licensing flexibility.
Availability
STM8L151G6U7TR is available at Aetrix Electronics and suitable for smart utility meters, portable medical monitors, industrial wireless sensor nodes, and capacitive touch remotes requiring stable component supply and long-term lifecycle assurance.
Supply support for STM8L151G6U7TR 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 series was engineered specifically for ultra-low-power battery-operated applications demanding sub-microamp sleep currents, robust analog integration, and industrial-grade reliability across extended temperature ranges.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L151G6U7TR achieves a maximum CPU frequency of 16 MHz. At this speed and VDD = 3.3 V, typical active current is 195 µA/MHz plus 440 µA base overhead, totaling approximately 3.56 mA. This value is measured with all peripherals disabled and includes core, memory, and clock system consumption per DS6372 Rev 17, Table 20.
Does STM8L151G6U7TR support hardware-accelerated AES or cryptographic functions?
No. The STM8L151G6U7TR does not include dedicated cryptographic accelerators or hardware AES engines. It relies on software-based encryption libraries for security functions. For hardware crypto, ST's STM32L4 or STM32U5 series provide AES-128/256, PKA, and TRNG modules.
Can the internal 38 kHz RC oscillator be used as the RTC clock source?
Yes. The internal 38 kHz low-consumption RC oscillator is explicitly supported as an RTC clock source in Active-Halt and Halt modes. Its typical accuracy is ±10% at 25 °C, making it suitable for non-precision timing tasks like periodic wake-up intervals where absolute calendar accuracy is not required.
Is the 1 KB data EEPROM endurance specified, and what is its write/erase cycle rating?
Yes. The 1 KB data EEPROM is rated for 300,000 write/erase cycles and 20-year data retention at 55 °C, as confirmed in DS6372 Rev 17, Section 9.3.5 ("Memory characteristics") and Table 36. ECC protection ensures bit-error correction during read operations, enhancing long-term reliability in field deployments.
STM8L151G6U7TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM8L EnergyLite
- Packaging:
- Tape & Reel (TR)
- 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:
- 26
- Program Memory Size:
- 32KB (32K 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 18x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G6U7TR FAQ
1.How can I place an order for STM8L151G6U7TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G6U7TR 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 STM8L151G6U7TR reliable?
The price and inventory of STM8L151G6U7TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G6U7TR is usually 5 days.
3.What payment methods are accepted for STM8L151G6U7TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G6U7TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G6U7TR?
STM8L151G6U7TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G6U7TR 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 STM8L151G6U7TR?
For technical support, including STM8L151G6U7TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G6U7TR requirements.
6.How does Aetrix verify that STM8L151G6U7TR is sourced from the original manufacturer or authorized distributors?
All STM8L151G6U7TR 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 STM8L151G6U7TR meets industry standards.
7.What is the process for return or replacement of STM8L151G6U7TR?
All STM8L151G6U7TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G6U7TR, 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 STM8L151G6U7TR part is unused and in its original packaging.
Return procedure for STM8L151G6U7TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G6U7TR 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…

