STM8L151G4 STMicroelectronics, STM8L151G4 Datasheet - Page 27
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STM8L151G4
Manufacturer Part Number
STM8L151G4
Description
8-bit ultra-low-power MCU, up to 32 KB Flash, 1 KB Data EEPROM
Manufacturer
STMicroelectronics
Datasheet
1.STM8L151G4.pdf
(126 pages)
Specifications of STM8L151G4
Temp. Range
- 40 °C to 85, 105 or 125 °C
5 Low Power Modes
Wait, Low power run (5.1 μA), Low power wait (3 μA), Active-halt with full RTC (1.3 μA), Halt (350 nA)
Consumption
195 μA/MHz+440μA
Ultralow Leakage Per I/0
50 nA
Fast Wakeup From Halt
4.7 μs
Lcd
up to 4x28 segments w/ step-up converter
4 Channels; Supported Peripherals
ADC, DAC, SPI, I2C, USART, timers
2 Watchdogs
1 Window, 1 Independent
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
STM8L151G4U3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Company:
Part Number:
STM8L151G4U6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
STM8L151G4U6
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
STM8L151G4U6TR
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
STM8L151G4U6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
STM8L151G4Y6TR
Manufacturer:
ST
Quantity:
20 000
STM8L151xx, STM8L152xx
Table 5.
2
3
4
5
6
-
number
Pin
1
2
3
4
-
-
1 C3 NRST/PA1
2 B4
3 C4
4 D3
-
-
-
-
Table 4.
Medium density STM8L15x pin description
Type
Level
Port and control
configuration
Reset state
PA2/OSC_IN/
[USART1_TX]
[SPI1_MISO]
PA3/OSC_OUT/[USART1
_RX]
PA4/TIM2_BKIN/
LCD_COM0
COMP1_INP
PA4/TIM2_BKIN/
[TIM2_ETR]
LCD_COM0
ADC1_IN2/COMP1_INP
PA5/TIM3_BKIN/
LCD_COM1
COMP1_INP
(4)
/[SPI1_MOSI]
Pin name
(1)
Legend/abbreviation for table 5
(4)
(2)
(2)
(2)
(4)
(4)
/
/ADC1_IN2/
/
/ADC1_IN1/
/
I= input, O = output, S = power supply
FT
TT
Output
Input
Output
Bold X (pin state after reset release).
Unless otherwise specified, the pin state is the same during the reset phase (i.e.
“under reset”) and after internal reset release (i.e. at reset state).
(4)
I/O
I/O
I/O
I/O
I/O
I/O
Five-volt tolerant
3.6 V tolerant
HS = high sink/source (20 mA)
float = floating, wpu = weak pull-up
T = true open drain, OD = open drain, PP = push pull
Doc ID 15962 Rev 9
TT
TT
TT
(3)
(3)
(3)
X
X
X
X
X
Input
X
X
X
X
X
X
X
X
X
X
X
HS
HS X
HS X
HS X
HS X
HS X
Output
X Reset
X Port A2
X Port A3
X Port A4
X Port A4
X Port A5
PA1
HSE oscillator input /
[USART1 transmit] /
[SPI1 master in- slave
out] /
HSE oscillator output /
[USART1 receive]/ [SPI1
master out/slave in]/
Timer 2 - break input /
LCD COM 0 / ADC1
input 2 / Comparator 1
positive input
Timer 2 - break input /
[Timer 2 - external
trigger] / LCD_COM 0 /
ADC1 input 2 /
Comparator 1 positive
input
Timer 3 - break input /
LCD_COM 1 / ADC1
input 1/
Comparator 1 positive
input
Default alternate
Pin description
function
27/126