Overview
The STM8L151G3U3 is an ultra-low-power 8-bit microcontroller from STMicroelectronics, part of the STM8L series. This device features an enhanced STM8 CPU core, providing up to 16 MIPS at 16 MHz, while maintaining the advantages of a CISC architecture with improved code density and a 24-bit linear addressing space. It is designed for low-power operations and includes an integrated debug module with a hardware interface (SWIM) for non-intrusive in-application debugging and ultrafast Flash programming.
The microcontroller incorporates a range of peripherals, including a 12-bit ADC, two comparators, a real-time clock, two 16-bit timers, and one 8-bit timer. It also features standard communication interfaces such as SPI, I²C, and USART. The device is available in a 28-pin UFQFPN package and supports various low-power modes to minimize energy consumption.
Key Specifications
Parameter | Specification |
---|---|
Operating Voltage | 1.65 to 3.6 V (without BOR), 1.8 to 3.6 V (with BOR) |
Operating Temperature | -40°C to 125°C |
Core Frequency | Up to 16 MHz, 16 CISC MIPS peak |
Program Memory | 8 Kbytes Flash |
Data EEPROM | 256 bytes with ECC |
RAM | 1 Kbyte |
Package | 28-UFQFPN |
Number of I/Os | Up to 41 I/Os, all mappable on interrupt vectors |
Communication Interfaces | SPI, I²C, USART |
Timers | Two 16-bit timers, one 8-bit timer |
ADC | 12-bit ADC up to 1 Msps/28 channels |
Key Features
- Advanced STM8 core with Harvard architecture and 3-stage pipeline
- Low power features including 5 low-power modes and ultra-low leakage per I/O (50 nA)
- Fast wakeup from Halt mode (5 μs)
- Integrated debug module with SWIM interface for non-intrusive debugging and ultrafast Flash programming
- Embedded data EEPROM and low-power low-voltage single-supply program Flash memory
- DMA with 4 channels supporting ADC, SPI, I²C, USART, and timers
- Real-time clock with BCD calendar and alarm interrupt
- Two ultra-low-power comparators
- Capacitive sensing channels supporting touchkey, proximity touch, linear touch, and rotary touch sensors
Applications
The STM8L151G3U3 microcontroller is suitable for a variety of low-power applications, including:
- Industrial control systems
- Consumer electronics requiring low power consumption
- Automotive systems where low power and reliability are crucial
- Medical devices that need efficient power management
- IoT devices and smart home appliances
Q & A
- What is the maximum operating frequency of the STM8L151G3U3?
The maximum operating frequency is up to 16 MHz, providing 16 CISC MIPS peak performance.
- What are the operating voltage ranges for the STM8L151G3U3?
The operating voltage ranges are 1.65 to 3.6 V (without BOR) and 1.8 to 3.6 V (with BOR).
- What type of memory does the STM8L151G3U3 have?
The device has 8 Kbytes of Flash program memory, 256 bytes of data EEPROM with ECC, and 1 Kbyte of RAM.
- What communication interfaces are available on the STM8L151G3U3?
The microcontroller features SPI, I²C, and USART communication interfaces.
- How many timers does the STM8L151G3U3 have?
The device includes two 16-bit timers and one 8-bit timer.
- What is the resolution and speed of the ADC on the STM8L151G3U3?
The ADC is a 12-bit ADC capable of up to 1 Msps with 28 channels.
- Does the STM8L151G3U3 support capacitive sensing?
Yes, it supports up to 20 capacitive sensing channels for touchkey, proximity touch, linear touch, and rotary touch sensors.
- What are the low-power modes available on the STM8L151G3U3?
The device features five low-power modes: Wait, Low power run, Low-power wait, Active-halt with RTC, and Halt.
- How does the STM8L151G3U3 support debugging?
The microcontroller includes an integrated debug module with a SWIM interface for non-intrusive in-application debugging and ultrafast Flash programming.
- What is the operating temperature range for the STM8L151G3U3?
The operating temperature range is -40°C to 125°C.