STM8L151G4 STMicroelectronics, STM8L151G4 Datasheet - Page 36
![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
Memory and register map
Table 6.
5.2
Table 7.
1. The VREFINT_Factory_CONV byte represents the 8 LSB of the result of the VREFINT 12-bit ADC conversion performed in
2. The TS_Factory_CONV_V90 byte represents the 8 LSB of the result of the V90 12-bit ADC conversion performed in
Table 8.
36/126
factory. The MSB have a fixed value: 0x6.
factory. The 2 MSB have a fixed value: 0x3.
Flash program memory
0x00 500C
0x00 500D
0x00 500A
0x00 500B
0x00 500E
0x00 5000
0x00 5001
0x00 5002
0x00 5003
0x00 5004
0x00 5005
0x00 5006
0x00 5007
0x00 5008
0x00 5009
0x00 4910
0x00 4911
Address
Address
Memory area
RAM
Flash and RAM boundary addresses
Register map
Factory conversion registers
I/O port hardware register map
Port A
Port B
Port C
Block
Block
-
-
TS_Factory_CONV_
VREFINT_Factory_
Register label
Register label
16 Kbytes
32 Kbytes
PB_ODR
PC_ODR
PC_DDR
PA_ODR
PB_DDR
PA_DDR
PB_CR1
PB_CR2
PC_CR1
PC_CR2
PA_CR1
PA_CR2
2 Kbytes
PB_IDR
PC_IDR
PA_IDR
CONV
Size
V90
Doc ID 15962 Rev 9
(2)
(1)
Port C data output latch register
Port A data output latch register
Port B data output latch register
Temperature sensor output voltage
Port A input pin value register
Port B input pin value register
Port C input pin value register
Internal reference voltage factory
Port C data direction register
Port A data direction register
Port B data direction register
Port A control register 1
Port A control register 2
Port B control register 1
Port B control register 2
Port C control register 1
Port C control register 2
Start address
0x00 0000
0x00 8000
0x00 8000
Register name
Register name
conversion
STM8L151xx, STM8L152xx
End address
0x00 BFFF
0x00 FFFF
0x00 07FF
status
Reset
status
0xXX
0xXX
0xXX
Reset
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x01
0x00
0x00
0x00
0x00
0xXX
0xXX