STMicroelectronics

STM8L151G2U6 - 8-Bit 16MHz 4KB MCU | STMicroelectronics

MPN: STM8L151G2U6 ✓ Active
1.8 V to 3.6 V Vdss 28-UFQFPN (4 x 4 mm) Package 16 MHz Speed 4 KB (4K x 8) Memory
MOQ: 1 |

STM8L151G2U6 Overview

The STMicroelectronics STM8L151G2U6 is an 8-bit STM8L EnergyLite microcontroller with a 16 MHz clock, 4 KB of Flash program memory, and a 28-pin UFQFPN package measuring 4 x 4 mm. The device is designed for compact embedded-control systems where low power consumption, a small footprint, and integrated serial peripherals are important. Its operating voltage is listed from 1.8 V to 3.6 V, supporting battery-powered and low-voltage industrial equipment.

The STM8L151 family belongs to the 8-bit microcontroller hierarchy: MCU, embedded microcontroller, low-power microcontroller, and semiconductor. This positioning places it between simple logic controllers and more capable 32-bit application processors. It is suitable for sensing, control, communication, and actuator-management functions where a dedicated 8-bit core can provide adequate performance without the cost, power, and board area of a higher-end processor.

The STM8L151G2U6 combines a 16 MHz core with 4 KB of Flash memory and 41 I/O ports according to the product listing information. The STM8L151x4 and STM8L151x6 family documentation also identifies standard communication interfaces including SPI, I2C, and USART, along with an 8-bit timer. These peripherals support common embedded-system tasks such as sensor acquisition, external memory access, industrial serial links, and simple control loops. The exact peripheral counts and pin-level functions for the STM8L151G2U6 must be confirmed against the manufacturer pinout and datasheet before layout is released.

Typical applications include compact environmental sensors, battery-powered condition-monitoring devices, LED-control modules, small motor-control boards, and low-power industrial instrumentation. The 1.8 V to 3.6 V supply range allows operation from single-cell energy-storage systems when the downstream regulator and cell chemistry are compatible. The 4 x 4 mm UFQFPN package also supports dense board layouts, although its fine pitch and exposed-pad requirements demand careful PCB design and assembly planning.

For a new design, treat the STM8L151G2U6 as a low-power, compact, 8-bit control solution rather than a high-performance application processor. Confirm startup behavior, clock configuration, peripheral assignments, flash endurance requirements, and the exposed-pad connection in the manufacturer documentation. This page summarizes the verified device identity, package, memory, speed, voltage, and lifecycle information while highlighting the engineering checks that matter before schematic capture and PCB release.

Drop-in alternatives for STM8L151G2U6 — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with STM8L151G2U6 (same form factor and footprint) — differing in Package, Product Type, Supply Voltage Range.

STMicroelectronics
Package: 28-pin UFQFPN
Product Type: 8-bit ultra-low-power microcontroller
Supply Voltage Range: 1.65 V to 3.6 V
Compare with STM8L151G2U6 →

No drop-in alternatives available for this product.

Request Alternatives

STM8L151G2U6 Maximum Ratings & Electrical Characteristics

Product Type 8-bit Microcontroller
Product Series STM8L EnergyLite
Maximum Clock Frequency 16 MHz
Flash Memory 4 KB (4K x 8)
Supply Voltage Range 1.8 V to 3.6 V
I/O Port Count 41 ports
Package 28-UFQFPN (4 x 4 mm)
Core Architecture 8-bit
Program Memory Type Flash
Communication Interfaces SPI, I2C, and USART
Timer Type 8-bit timer
Lifecycle Stage Active
Mounting Type Surface Mount

STM8L151G2U6 28-ufqfpn (4 x 4 mm) Pin Configuration Guide

Pin configuration for STM8L151G2U6 (28-ufqfpn (4 x 4 mm) package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.

28-ufqfpn (4 x 4 mm) package pinout diagram for STM8L151G2U6

No detailed pinout data available for STM8L151G2U6.

Refer to the datasheet for full pin configuration.

Typical Applications

STM8L151G2U6 is suitable for 6 applications: Battery-Powered Environmental Sensors, Smart Building Control Nodes, LED Lighting and Display Control, Low-Power Industrial Condition Monitoring, Portable Measurement and Calibration Devices, Small Motor and Actuator Control.

🧩

Battery-Powered Environmental Sensors

The STM8L151G2U6 fits compact environmental sensors that combine periodic measurement, local filtering, and serial reporting. Its 1.8 V to 3.6 V operating range supports low-voltage energy-storage architectures, while the 16 MHz core is ample for controlling sensors and conditioning digital outputs. The 4 KB Flash capacity can hold the measurement routine, threshold logic, and a compact communications state machine. Use the integrated I2C or SPI interface where the sensor supports it, and select a low-power operating mode to reduce consumption between samples. The exact pin multiplexing and low-power current limits must be confirmed from the manufacturer documentation before finalizing the board.

🏭

Smart Building Control Nodes

The STM8L151G2U6 is appropriate for compact building-control nodes that monitor inputs and operate relays, indicators, or actuators. Its 41 I/O ports provide a broad connection base for digital sensors and discrete controls, while SPI, I2C, and USART allow local sensors and communication modules to share the processor. The 28-pin UFQFPN package reduces board area in wall-control and room-sensor housings. Design the supply for 1.8 V to 3.6 V operation, include a suitable interface for external programming and diagnostics, and reserve decoupling close to the supply pins. Firmware should include debounce and fail-safe behavior before the node is connected to mains-connected equipment.

💡

LED Lighting and Display Control

The STM8L151G2U6 can serve as the control MCU for addressable or multiplexed LED fixtures where compactness and simple timing are priorities. The 16 MHz clock supports deterministic update routines, and the available serial interfaces can connect to LED drivers or a host controller. The 4 KB Flash footprint is suitable for a focused lighting state machine rather than a complex graphics application. Account for the inductive or capacitive drive network separately and provide suitable current headroom without forcing excess dissipation into the MCU. Firmware should handle open LEDs, resets, and power transitions gracefully so that the lighting load cannot cause an unintended system restart.

🏭

Low-Power Industrial Condition Monitoring

The STM8L151G2U6 works well in small industrial monitoring modules that track digital status, sensor events, and local thresholds. Its low-voltage supply range supports compact isolated or battery-assisted installations, while USART can provide a simple field-service link and I2C or SPI can connect to higher-bandwidth sensors. The device is most appropriate when the node performs local control rather than continuous signal analysis. Use the 4 KB Flash allowance to prioritize a boot-safe state machine, event counters, and diagnostics. Protect communication and sensor inputs according to the industrial environment, and validate watchdog, reset, and brownout behavior as part of the production test plan.

📱

Portable Measurement and Calibration Devices

The STM8L151G2U6 can act as the local controller in a compact handheld measurement accessory that records operating conditions or calibrates a sensor module. Its 16 MHz performance supports responsive control logic and serial command handling, while the 4 x 4 mm package preserves space for a display, keypad, and battery compartment. The 1.8 V to 3.6 V supply range can align with efficient regulator stages and low-voltage cells. Treat the MCU as the supervisory element rather than the primary analog front end. Confirm ADC, timer, and peripheral availability for the exact suffix, and provide calibration storage and error handling within the confirmed memory resources.

🔧

Small Motor and Actuator Control

The STM8L151G2U6 is suitable for small actuator controllers where an 8-bit MCU can manage timing, limit inputs, and low-current drive logic. The 16 MHz clock provides adequate control-loop capability for simple position, speed, or sequence management, and the available timers and serial interfaces simplify coordination with sensors or a higher-level controller. The MCU should not directly drive motors unless its specified pin current and thermal limits are met; use appropriate transistor or MOSFET drive stages and protect the board from inductive transients. Verify timer resources, pin assignments, and watchdog behavior in the manufacturer documentation before committing to this architecture.

What is the STM8L151G2U6?
The STM8L151G2U6 is an active STMicroelectronics STM8L EnergyLite 8-bit microcontroller operating at up to 16 MHz with 4 KB of Flash memory. It is supplied in a 28-pin UFQFPN package measuring 4 x 4 mm. According to the STMicroelectronics STM8L151 family datasheet, the family includes SPI, I2C, USART, and 8-bit timer resources, making it appropriate for compact low-voltage sensing and control systems.
What is the operating voltage of the STM8L151G2U6?
The STM8L151G2U6 operates from 1.8 V to 3.6 V according to its published specifications. This range supports low-voltage embedded systems and is compatible with energy-storage designs when the cell regulation and power architecture are appropriate. Check the manufacturer's electrical characteristics for the exact operating conditions associated with each clock, peripheral, and low-power mode before finalizing the supply design.
How much Flash memory does the STM8L151G2U6 have?
The STM8L151G2U6 contains 4 KB of Flash program memory, organized as 4K x 8. This is suitable for compact firmware that coordinates sensors, controls outputs, and uses the integrated serial interfaces. Exact RAM and EEPROM capacity should be checked in the STMicroelectronics family datasheet and device-specific ordering information before estimating application memory requirements.
What package does the STM8L151G2U6 use?
The STM8L151G2U6 uses a 28-pin UFQFPN package measuring 4 x 4 mm. Its small land pattern is useful for space-constrained products but requires a land grid designed for the exposed pad and fine-pitch leads. Use the manufacturer package drawing and PCB footprint rather than inferring dimensions from the generic package name.
What peripherals are available on the STM8L151G2U6?
The STM8L151 family documentation identifies SPI, I2C, USART, and an 8-bit timer among the standard resources. These interfaces support sensors, displays, converters, serial modules, and basic timing functions. Exact signal availability, alternate-function mappings, and peripheral counts depend on the selected package and device suffix, so consult the pin-description table for the STM8L151G2U6.
Where can I download the STM8L151G2U6 datasheet PDF?
The STM8L151G2U6 datasheet can be downloaded from the STMicroelectronics document link on this page. The linked document covers the STM8L151x4 and STM8L151x6 low-power device families, including features, peripherals, package information, and electrical characteristics. Use the device-specific ordering table to confirm the precise flash size and package assignment.
Where can I find the STM8L151G2U6 pinout?
The STM8L151G2U6 pin assignment is defined by the manufacturer's STM8L151 family datasheet and its 28-pin UFQFPN package drawing. The family datasheet is available through the datasheet link on this page. Assign PCB nets directly from the official pin-description table because alternate functions, reset pins, supply pins, and exposed-pad connections must not be guessed.
Is the STM8L151G2U6 suitable for low-power sensor designs?
The STM8L151G2U6 is suitable for low-power sensor designs because it is an STM8L EnergyLite microcontroller with a 1.8 V to 3.6 V supply range and integrated serial interfaces. Its 16 MHz performance and 4 KB Flash capacity are appropriate for compact acquisition and control tasks. The actual battery life depends on the selected sleep mode, sensor current, wake-up rate, and duty cycle.
What is the best drop-in replacement for the STM8L151G2U6?
No verified drop-in replacement can be identified from the available cross-reference information because it does not establish a pin-for-pin match in the 28-pin UFQFPN footprint. The STM8L101G2U6, STM8L101G3U6A, PIC16F1825, MSP430FR5969, and RL78/G11 are related functional candidates, but their packages, pinouts, memories, and peripherals differ. Any substitution requires a footprint and firmware-impact review.
Can the STM8L101G2U6 replace the STM8L151G2U6?
The STM8L101G2U6 is not confirmed as a drop-in replacement for the STM8L151G2U6. A comparison source lists the devices as related STM8L options, but it does not establish identical pin assignment, electrical limits, or software behavior. Because a true drop-in replacement requires the same 28-pin UFQFPN footprint and pin-to-pin compatibility, review the official data for both devices before considering a substitution.
What can replace the STM8L151G2U6?
The STM8L151G2U6 can be replaced only after a device-specific compatibility review. Cross-reference information identifies the STM8L101G2U6, STM8L101G3U6A, PIC16F1825, MSP430FR5969, and RL78/G11 as functionally similar options, but none is established here as pin-to-pin compatible. Compare package geometry, supply voltage, clock speed, memory, peripherals, interrupt mapping, and application firmware before selecting a substitute.
STM8L151G2U6 vs STM8L151K6U6 - which is better for a compact design?
The STM8L151G2U6 is the better fit when the design requires the listed 28-pin UFQFPN footprint, 16 MHz operation, and 4 KB of Flash. The STM8L151K6U6 is listed as a 32-pin UFQFPN device with 32 KB of Flash, so it is not footprint-compatible with the 28-pin target. Choose the K6U6 only when the PCB and firmware are deliberately designed around its larger package and greater memory.
When should I choose the STM8L151G2U6 over a larger 32-bit MCU?
Choose the STM8L151G2U6 when an application needs modest control logic, compactness, low-voltage operation, and serial peripheral connectivity rather than high processor performance or large memory. Its 4 KB Flash limit must be checked carefully against bootloader and application requirements. A 32-bit MCU remains preferable when intensive computation, extensive networking, complex graphics, or substantial code storage dominates the design.
Is the STM8L151G2U6 in stock and what is its lead time?
Current stock and lead time should be requested through the Request a Quote form on this page. The verified listing shows that the exact STM8L151G2U6 is offered by multiple channels, but the information does not provide a dependable quantity-break schedule for the exact suffix. The Request a Quote form allows the current availability, order quantity, and production lead time to be confirmed for your specific purchase.
Where can I buy the STM8L151G2U6 online?
The STM8L151G2U6 can be requested through the Request a Quote form on this page. The form is the appropriate route for current pricing, stock, manufacturer order quantities, and lead time for the exact 28-UFQFPN device. Ensure any quotation identifies the complete STM8L151G2U6 MPN so that package suffix, temperature grade, and orderable configuration are not accidentally changed.
What is the price of the STM8L151G2U6?
The current price for the STM8L151G2U6 is displayed through the Request a Quote form on this page. Pricing can vary with order quantity, stock position, and the exact manufacturer order code, so a stale starting price should not be used for budgeting. Submit the required quantity and application details to obtain a current quotation for the 28-pin UFQFPN device.
Is the STM8L151G2U6 active?
The STM8L151G2U6 is listed with an active lifecycle stage by the product documentation. Active status means it remains a current family member rather than an obsolete or end-of-life device. Production availability can still change by package suffix and regional market, so confirm the exact orderable MPN and current lifecycle information through the Request a Quote process.
What are the key specifications of the STM8L151G2U6 that engineers should know?
The key STM8L151G2U6 specifications are a 16 MHz maximum clock, 4 KB of Flash, a 1.8 V to 3.6 V supply range, 41 I/O ports, and a 28-pin 4 x 4 mm UFQFPN package. The STM8L151 family also provides SPI, I2C, USART, and an 8-bit timer. These figures define its suitability for compact low-voltage control and communication designs.

Engineering reference data for STM8L151G2U6 — comparison, design guidance, and compliance information.

Selection Guide

Choose the STM8L151G2U6 when the design needs a compact, low-voltage 8-bit controller with 4 KB of Flash, 16 MHz performance, and integrated SPI, I2C, USART, and timer resources. It is a strong fit for sensor nodes, compact building-control products, simple actuator controllers, and monitoring modules whose firmware can fit the defined program-memory limit. The STM8L101G2U6 and STM8L101G3U6A merit evaluation for related STMicroelectronics functionality, but they should not be treated as drop-in parts without verifying their pinouts. The STM8L151K6U6 is preferable when more Flash is needed, although its 32-pin package requires a different footprint. The PIC16F1825, MSP430FR5969, and RL78/G11 are architectural alternatives rather than confirmed drop-in replacements. For any substitution, compare memory, timers, communications, supply conditions, package geometry, interrupt mapping, and firmware dependencies before changing the PCB.

Key Differentiators

  • Compact 8-bit control with integrated serial connectivity (vs STM8L101G2U6)
  • Lower flash-oriented resource envelope for focused firmware (vs STM8L151K6U6)
  • Small-footprint low-voltage MCU option (vs PIC16F1825)

Design Notes

Use the official 28-pin UFQFPN land pattern and the manufacturer exposed-pad guidance rather than creating the footprint from the 4 x 4 mm body size alone. Place input and output decoupling capacitors close to the corresponding supply pins, connect the exposed pad according to the package drawing, and inspect the assembly land pattern for the required thermal-via arrangement. Fine-pitch manufacturing capability and solder-paste volume should be reviewed with the assembler before release.

Design the supply path for the documented 1.8 V to 3.6 V operating range and account for startup current as well as average consumption. Place bulk and high-frequency bypass capacitance near the device, keep return-current paths compact, and confirm that the regulator can support the MCU and its connected peripherals without excessive droop. For battery designs, measure the complete firmware duty cycle because the MCU's contribution depends on the selected low-power mode and peripheral activity.

Do not assume that another STM8 or competitor MCU is a drop-in replacement. A usable substitute must match the 28-pin UFQFPN footprint, supply limits, clock requirements, memory map, peripheral functions, interrupt behavior, and programming workflow. Treat STM8L101 variants, PIC16F1825, MSP430FR5969, and RL78/G11 as functional candidates rather than confirmed replacements until each parameter and pin assignment has been reviewed against the official documentation.

Compliance Information

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Lead Free
Unknown
Halogen Free
Unknown
Conflict Minerals
Unknown

The verified product information identifies the device as active but does not state specific RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals status.

Data verified on: 2026-11-04 — data verified and curated by XAIPART's component engineering team

Related Searches

STM8L151G2U6 datasheet STM8L151G2U6 pinout STM8L151G2U6 datasheet pdf STM8L151G2U6 equivalent STM8L151G2U6 replacement STM8L151G2U6 cross reference STM8L151G2U6 footprint STM8L151G2U6 16MHz 4KB STM8L151G2U6 UFQFPN STM8L151G2U6 price STM8L151G2U6 stock STMicroelectronics STM8L151G2U6 STM8L151G2U6 vs STM8L151K6U6 STM8L151G2U6 low power sensor STM8L151G2U6 28 pin pinout

Related Components & Terms

STMicroelectronics STM8L151G2U6 STM8L151x4 STM8L151x6 STM8L EnergyLite 8-bit microcontroller embedded microcontroller low-power MCU STM8L101G2U6 STM8L101G3U6A STM8L151K6U6 PIC16F1825 MSP430FR5969 RL78/G11 SPI I2C USART 8-bit timer 16 MHz clock 4 KB Flash 1.8 V to 3.6 V supply 28-pin UFQFPN QFN family surface mount SMD
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details