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

- Shipping:

Inventory:1,635
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L101G2U6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 Kbytes Flash, 1.5 Kbytes SRAM, and integrated peripherals including two 16-bit timers, USART, SPI, I²C, two comparators, infrared interface, and a beeper timer. It operates from 1.65 V to 3.6 V across –40 °C to +85 °C, with dynamic run current of 150 µA/MHz - optimized for battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L101G2U6 datasheet, STM8L101G2U6 pinout, STM8L101G2U6 application, or STM8L101G2U6 equivalent, key selection criteria include ultra-low-power Halt mode (0.3 µA), SWIM single-wire debug interface, IR remote control support, high-sink LED-driving capability on PA0, and UFQFPN28 package compatibility with space-constrained PCB layouts.
Technical Context
The STM8L101G2U6 implements the CISC-based STM8 core delivering up to 16 MIPS at 16 MHz, with dual internal RC oscillators: a 16 MHz HSI for active operation and a 38 kHz LSI for independent watchdog and auto-wakeup unit (AWU) timing. Its nested interrupt controller supports 29 external sources with software-configurable priority.
Memory architecture includes ECC-protected Flash with in-application programming, 2 Kbytes of emulated data EEPROM, and 1.5 Kbytes of static RAM. Power management integrates three low-power modes - Wait, Active-halt, and Halt - each with distinct clock gating and peripheral retention strategies to minimize energy per wake-event cycle.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit CISC CPU, 16 MIPS @ 16 MHz - enables deterministic real-time control without complex toolchain overhead. |
| Flash Memory | 8 Kbytes with ECC and read/write protection - ensures firmware integrity and secure field updates. |
| SRAM | 1.5 Kbytes static RAM - sufficient for sensor fusion buffers and lightweight RTOS stacks. |
| Low-Power Halt Current | 0.3 µA @ VDD = 1.65–3.6 V - extends coin-cell battery life to multi-year operation in always-on sensing. |
| Operating Voltage | 1.65 V to 3.6 V - supports direct connection to single Li-ion, Li-SOCl₂, or alkaline battery stacks. |
| Temperature Range | –40 °C to +85 °C - qualified for industrial and consumer-grade ambient environments. |
| Communication Interfaces | SPI, I²C (400 kHz multimaster), USART with fractional baud rate generator - enables robust connectivity to sensors, displays, and host controllers. |
| Timers & Peripherals | Two 16-bit general-purpose timers (TIM2/TIM3), one 8-bit timer (TIM4), IR interface, beeper timer, 2× comparators - supports motor control, pulse measurement, and proximity detection. |
Pinout & Package
STM8L101G2U6 is housed in a 28-pin UFQFPN package (4 × 4 mm, 0.5 mm pitch), optimized for compact, high-density PCB layouts. Pin functions are fully defined per ST's DocID15275 Rev 16, Figure 6.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 1.65–3.6 V supply rail; decoupling required within 1 cm of pin for stable low-power operation. |
| VSS | Ground reference | Digital ground return path; must be connected to low-impedance plane to minimize noise coupling into analog peripherals. |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external push-button or supervisor IC assertion. |
| SWIM | Single-wire debug interface | Enables non-intrusive programming and real-time debugging using only one GPIO and no dedicated JTAG pins. |
| PA0 | GPIO / LED driver | High-sink capable (up to 20 mA) - directly drives infrared LEDs or indicator LEDs without external drivers. |
| PA1–PA7, PB0–PB7, PC0–PC7, PD0–PD5 | General-purpose I/Os | 30 total I/Os, all mappable to external interrupts; configurable pull-ups, open-drain, and alternate functions (USART, SPI, I²C, timers). |
| OSC_IN / OSC_OUT | External crystal interface | Supports optional 1–24 MHz crystal for precise timing; not required due to internal 16 MHz/38 kHz RC oscillators. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 0.3 µA consumption enables >10-year battery life in wake-on-event sensor applications. |
| Integrated IR transmitter interface | Dedicated hardware modulation at 30–56 kHz eliminates CPU overhead for remote control signal generation. |
| Hardware beeper timer | Generates 1/2/4 kHz tones without software timing loops - ideal for audible alerts in wearables and medical devices. |
| Error Correction Code (ECC) | On-chip Flash ECC detects and corrects single-bit errors - critical for long-term reliability in unattended deployments. |
| SWIM single-wire interface | Enables full flash programming and breakpoint debugging over one pin - reduces test point count and board area. |
| Programmable high-sink LED driver on PA0 | 20 mA sink capability allows direct drive of IR LEDs or status indicators - eliminates discrete transistor stages. |
Applications
| Smart Utility Metering | Wearable Health Monitor |
|---|---|
|
Use Scenario: Battery-powered gas/water meter with periodic ultrasonic flow reading and RF transmission. IC Role / Device Role / Timing Role: Central controller managing sensor acquisition, data logging, low-power sleep scheduling, and IR/RF wake coordination. Use Value: 0.3 µA Halt current and AWU-driven wake intervals extend 10-year battery life; IR interface enables handheld configuration without opening enclosure. |
Use Scenario: Continuous heart-rate and SpO₂ monitoring patch with optical sensors and Bluetooth LE interface. IC Role / Device Role / Timing Role: Sensor hub aggregating ADC samples, running basic filtering, and triggering BLE events via GPIO wakeup. Use Value: 150 µA/MHz dynamic run efficiency minimizes thermal load on skin-contact device; comparator inputs enable fast photodiode threshold detection. |
| Industrial Wireless Sensor Node | Home Appliance Remote Control |
|
Use Scenario: Temperature/humidity node in factory environment transmitting via sub-GHz transceiver every 5 minutes. IC Role / Device Role / Timing Role: Low-power coordinator handling sensor I²C reads, CRC validation, and transceiver SPI control with precise timing. Use Value: Dual internal oscillators allow simultaneous 16 MHz CPU operation and 38 kHz AWU timing - no external crystals needed for cost-sensitive designs. |
Use Scenario: IR remote for HVAC system with button matrix scanning and NEC protocol encoding. IC Role / Device Role / Timing Role: Dedicated IR signal generator with hardware carrier modulation and programmable pulse widths. Use Value: Integrated IR peripheral offloads 100% of NEC timing-critical waveform generation from CPU - guarantees compliant carrier frequency and duty cycle. |
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 | 4 Kbytes Flash, no IR interface, same UFQFPN20 package - lower memory and peripheral set. | Lacks IR hardware block and beeper timer; suitable only for non-remote-control sensor endpoints. | Select when IR functionality is unnecessary and BOM cost reduction is prioritized over feature headroom. |
| EFM8LB12F32ES1-QFP32 | Silicon Labs 8051 core, 32 Kbytes Flash, 2.25 Kbytes RAM, 0.5 µA deep-sleep - higher memory but different architecture. | Requires porting effort due to 8051 ISA and toolchain; lacks native IR modulation hardware. | Choose only if existing 8051 firmware reuse or larger code footprint justifies migration complexity and added cost. |
Compared with STM8L101G2U6, STM8L051F3P6 trades IR and beeper capability for lower cost and smaller footprint, while EFM8LB12F32ES1 offers more memory but demands architectural rework and lacks hardware IR support - making STM8L101G2U6 optimal for IR-centric, space-constrained, ultra-low-power designs.
Availability
STM8L101G2U6 is available at Aetrix Electronics and suitable for smart utility metering, wearable health monitors, industrial wireless sensor nodes, and home appliance remote controls requiring stable component supply and long-term production continuity.
Supply support for STM8L101G2U6 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 series targets ultra-low-power embedded applications where battery life, small form factor, and peripheral integration outweigh raw performance - especially in metering, wearables, and IoT edge nodes.
FAQ
Does STM8L101G2U6 support external crystal oscillators?
Yes - it features dedicated OSC_IN and OSC_OUT pins compatible with 1–24 MHz parallel-resonant crystals or ceramic resonators. However, the internal 16 MHz HSI and 38 kHz LSI oscillators eliminate the need for external timing components in most ultra-low-power applications, reducing BOM cost and board area.
What is the maximum sink current capability of PA0?
PA0 provides high-sink LED driver capability rated at 20 mA typical (min 15 mA) at VDD = 3.0 V, with VOL ≤ 0.4 V. This allows direct driving of infrared LEDs or visible indicators without external transistors - confirmed in Table 29 of DocID15275 Rev 16.
Can the STM8L101G2U6 perform in-application programming (IAP) of Flash?
Yes - the device supports full in-application programming of Flash memory via its built-in bootloader, enabling firmware updates over USART or SPI without external programmers. The Flash includes write-protection options and ECC for robust field upgrades.
Is the SWIM interface compatible with standard debug probes?
Yes - SWIM is supported by ST-LINK/V2 and ST-LINK/V2-1 debug adapters, as well as third-party tools like Rowley CrossWorks and IAR Embedded Workbench. No additional level-shifting or protocol translation is required - SWIM uses a single bidirectional wire with standard UART-like signaling.
STM8L101G2U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM8L EnergyLite
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, SPI, UART/USART
- Peripherals:
- Infrared, POR, PWM, WDT
- Number of I/O:
- 26
- Program Memory Size:
- 4KB (4K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 1.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.65V ~ 3.6V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L101G2U6 FAQ
1.How can I place an order for STM8L101G2U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L101G2U6 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 STM8L101G2U6 reliable?
The price and inventory of STM8L101G2U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L101G2U6 is usually 5 days.
3.What payment methods are accepted for STM8L101G2U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L101G2U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L101G2U6?
STM8L101G2U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L101G2U6 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 STM8L101G2U6?
For technical support, including STM8L101G2U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L101G2U6 requirements.
6.How does Aetrix verify that STM8L101G2U6 is sourced from the original manufacturer or authorized distributors?
All STM8L101G2U6 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 STM8L101G2U6 meets industry standards.
7.What is the process for return or replacement of STM8L101G2U6?
All STM8L101G2U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L101G2U6, 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 STM8L101G2U6 part is unused and in its original packaging.
Return procedure for STM8L101G2U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L101G2U6 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…

