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

- Shipping:

Inventory:3,905
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151G4U6TR 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, RTC with BCD calendar, and up to 28 I/Os in UFQFPN28 package. It targets battery-powered sensor nodes, portable medical devices, and smart metering endpoints requiring sub-µA halt mode (350 nA) and fast wakeup (4.7 µs).
For engineers reviewing the STM8L151G4U6TR datasheet, STM8L151G4U6TR pinout, STM8L151G4U6TR application, or STM8L151G4U6TR equivalent, key selection criteria include verified ultra-low-power operation across five modes (down to 350 nA Halt), integrated analog peripherals (dual comparators, temperature sensor, Vref), and SWIM-based non-intrusive debugging support for rapid firmware iteration.
Technical Context
The STM8L151G4U6TR implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. 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, programmable voltage detector (PVD), ultra-safe BOR with five thresholds, and per-I/O leakage control (50 nA). The RTC operates autonomously in Active-halt mode (1.3 µA) with alarm and auto-wakeup capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution and efficient code density. |
| Max Clock Frequency | 16 MHz; supports real-time control loops and sensor sampling at ≤62.5 ns instruction cycle time. |
| Flash / EEPROM / RAM | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM; ensures robust firmware updates and parameter retention in harsh environments. |
| Halt Mode Current | 350 nA at 1.8–3.6 V; enables multi-year battery life in always-on sensing applications without external wake circuitry. |
| ADC Performance | 12-bit, 1 Msps, 25 channels with internal temp sensor and Vref; supports high-resolution analog monitoring with single-chip integration. |
| DAC Output | 12-bit DAC with output buffer on PB4–PB6; provides precision analog actuation without external signal conditioning. |
| RTC Accuracy | BCD calendar with alarm interrupt and auto-wakeup from Halt; maintains timekeeping during ultra-low-power sleep with <1 ppm drift using 32 kHz LSE. |
Pinout & Package
STM8L151G4U6TR is housed in a 28-pin UFQFPN (4 × 4 mm, 0.5 mm pitch) package with wettable flanks, optimized for space-constrained PCB layouts and automated optical inspection (AOI).
| 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 path; must be connected to low-impedance PCB plane to minimize noise coupling into analog blocks. |
| NRST | Active-low reset input | Asynchronous reset pin with internal pull-up; accepts external push-button or supervisor IC assertion; supports SWIM debug entry. |
| SWIM | Single-wire interface module | Dedicated debug programming pin; enables non-intrusive flash programming and real-time variable inspection without halting CPU. |
| PA0–PA7 | General-purpose I/O bank A | 8-bit bidirectional port with interrupt capability; PA0 supports high-sink LED driver (20 mA); all pins support capacitive touch sensing. |
| PB0–PB7 | General-purpose I/O bank B | 8-bit bidirectional port; PB4–PB6 host DAC outputs; PB5 supports USART TX; all pins mappable to external interrupt vectors. |
| PC0–PC7 | General-purpose I/O bank C | 8-bit bidirectional port; PC0–PC3 support ADC1 inputs; PC5–PC7 support SPI1 (SCK/MISO/MOSI); all pins support wake-from-Halt. |
| PD0–PD3 | General-purpose I/O bank D | 4-bit bidirectional port; PD0–PD1 support I2C (SCL/SDA); PD2 supports USART RX; PD3 supports beeper timer output. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with RTC running; eliminates need for external real-time clock IC in energy-harvesting designs. |
| Flexible clock sources | Integrated 16 MHz RC (±2% @ 25°C) + 32 kHz LSE oscillator; reduces BOM count and PCB footprint vs. discrete crystal solutions. |
| On-chip analog subsystem | 12-bit ADC (25 ch), 12-bit DAC (3 ch), 2 ultra-low-power comparators, temp sensor, Vref; enables full sensor-to-actuator signal chain in one die. |
| Capacitive touch support | Up to 16 channels with hardware-accelerated acquisition; supports touchkey, proximity, and rotary touch without external controller or firmware overhead. |
| Memory protection | Read/write protection zones for Flash and EEPROM; prevents accidental overwrites during field firmware updates or debug sessions. |
Applications
| Wireless Sensor Node | Portable Medical Monitor |
|---|---|
Use Scenario: Battery-powered environmental sensor collecting temperature, humidity, and motion data for BLE transmission every 5 minutes. IC Role / Device Role / Timing Role: Central MCU managing sensor polling, ADC conversion, RTC-triggered wakeup, and low-power radio interface coordination. Use Value: 350 nA Halt current extends CR2032 battery life beyond 5 years; integrated 32 kHz RTC eliminates external timing component. |
Use Scenario: Handheld pulse oximeter requiring clinical-grade analog accuracy, low-noise signal acquisition, and USB/UART diagnostics. IC Role / Device Role / Timing Role: Signal acquisition controller handling photodiode current amplification, ADC sampling, and real-time SpO₂ calculation. Use Value: 12-bit ADC with internal reference and temperature sensor enables ratiometric correction; 1.3 µA Active-halt mode supports instant-on functionality. |
| Smart Utility Meter | Industrial Asset Tracker |
Use Scenario: Tamper-resistant electricity meter logging kWh consumption, voltage sag/swell events, and grid frequency at 1-second intervals. IC Role / Device Role / Timing Role: Energy measurement engine interfacing with metrology ADC, EEPROM for secure log storage, and RTC for timestamping. Use Value: ECC-protected EEPROM ensures data integrity over 10+ year lifetime; PVD and BOR prevent corruption during brown-out conditions. |
Use Scenario: GPS-enabled tracker reporting location every 6 hours via NB-IoT, operating from primary lithium thionyl chloride cell. IC Role / Device Role / Timing Role: System supervisor managing GPS power sequencing, cellular modem handshaking, and deep-sleep scheduling. Use Value: Fast 4.7 µs wakeup from Halt minimizes active time of power-hungry RF modules; SWIM debug enables remote firmware patching. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L151K4T6 | LQFP32 package (32-pin, 7×7 mm); adds 2 more I/Os and 1 extra ADC channel vs. G4U6TR's UFQFPN28. | Better suited for designs needing higher I/O count and board-level routing flexibility; larger footprint increases PCB area by ~3×. | Select when additional GPIOs or ADC inputs are required and space permits larger package. |
| STM32L011K4U6 | 32-bit ARM Cortex-M0+, 32 KB Flash, 8 KB RAM, same UFQFPN28 package; higher performance but 2.5× higher active current (195 µA/MHz vs. 130 µA/MHz). | Preferred for applications needing RTOS support, cryptographic acceleration, or complex connectivity stacks where power budget allows. | Choose when 32-bit processing, larger memory, or ARM ecosystem compatibility outweighs ultra-low-power advantage. |
Compared with STM8L151K4T6, the G4U6TR saves board space and cost in compact designs; versus STM32L011K4U6, it delivers superior µA/MHz efficiency for simple deterministic control tasks with minimal firmware overhead.
Availability
STM8L151G4U6TR is available at Aetrix Electronics and suitable for wireless sensor nodes, portable medical monitors, and smart utility meters requiring stable component supply throughout extended product lifecycles.
Supply support for STM8L151G4U6TR 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 automotive semiconductors.
The STM8L ultra-low-power MCU family targets energy-constrained applications including battery-operated IoT endpoints, portable healthcare devices, and industrial monitoring systems where sub-µA sleep and fast wakeup are critical.
FAQ
What is the maximum operating temperature range for STM8L151G4U6TR?
The STM8L151G4U6TR is qualified for operation from –40 °C to +85 °C ambient temperature. This rating is validated per ST's industrial qualification standards and applies across all low-power modes and peripheral configurations specified in DS6372 Rev 17.
Does STM8L151G4U6TR support in-system programming via SWIM?
Yes - the device supports full in-system programming and non-intrusive debugging through the single-wire SWIM interface using standard ST-LINK/V2 or compatible debug probes. No bootloader firmware is required; programming occurs directly via VDD, NRST, and SWIM pins.
Can the 12-bit DAC output drive a 1 kΩ load without external buffering?
No - the DAC output buffer is specified for loads ≥5 kΩ (per Table 52, DS6372 Rev 17). Driving a 1 kΩ load causes gain error >1 LSB and linearity degradation; an external op-amp buffer is required for low-impedance analog outputs.
How many capacitive sensing channels are supported in hardware?
The STM8L151G4U6TR supports up to 16 capacitive sensing channels using its built-in touch sensing controller (TSC), enabling touchkey, linear slider, rotary wheel, and proximity detection without CPU intervention or external components.
STM8L151G4U6TR 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:
- 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 18x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151G4U6TR FAQ
1.How can I place an order for STM8L151G4U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151G4U6TR 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 STM8L151G4U6TR reliable?
The price and inventory of STM8L151G4U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151G4U6TR is usually 5 days.
3.What payment methods are accepted for STM8L151G4U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151G4U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151G4U6TR?
STM8L151G4U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151G4U6TR 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 STM8L151G4U6TR?
For technical support, including STM8L151G4U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151G4U6TR requirements.
6.How does Aetrix verify that STM8L151G4U6TR is sourced from the original manufacturer or authorized distributors?
All STM8L151G4U6TR 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 STM8L151G4U6TR meets industry standards.
7.What is the process for return or replacement of STM8L151G4U6TR?
All STM8L151G4U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151G4U6TR, 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 STM8L151G4U6TR part is unused and in its original packaging.
Return procedure for STM8L151G4U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151G4U6TR 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…

