Datasheet
Functional overview STM8L151x2, STM8L151x3
14/112 Doc ID 018780 Rev 4
3 Functional overview
Figure 1. Low density STM8L151xx device block diagram
1. Legend:
ADC: Analog-to-digital converter
BOR: Brownout reset
DMA: Direct memory access
I²C: Inter-integrated circuit multimaster interface
IWDG: Independent watchdog
POR/PDR: Power on reset / power down reset
RTC: Real-time clock
SPI: Serial peripheral interface
SWIM: Single wire interface module
USART: Universal synchronous asynchronous receiver transmitter
WWDG: Window watchdog
2. There is no TIM1 on STM8L151x2, STM8L151x3 devices.
MS18275V2
Clock
controller
and CSS
Clocks
Address, control and data buses
8-Kbyte
1-Kbyte RAM
to core and
peripherals
IWDG
(38 kHz clock)
Port A
Port B
Port C
Power
VOLT. REG.
WWDG
256-byte
Port D
Port E
Beeper
RTC
memoryProgram
Data EEPROM
@V
DD
V
DD18
V
DD
=1.65 V
V
SS
SWIM
SCL, SDA,
SPI1_MOSI, SPI1_MISO,
SPI1_SCK, SPI1_NSS
USART1_RX, USART1_TX,
USART1_CK
ADC1_INx
COMP1_INP
COMP 1
COMP 2
COMP2_INP
V
DDA,
V
SSA
SMB
@V
DDA
/V
SSA
Temp sensor
12-bit ADC1
V
DDREF
3.6 V
NRST
PA[7:0]
PB[7:0]
PC[7:0]
PD[7:0]
PE[7:0]
PF0
BEEP
ALARM, CALIB,
POR/PDR
OSC_IN,
OSC_OUT
OSC32_IN,
OSC32_OUT
to
BOR
PVD
PVD_IN
RESET
DMA1 (4 channels)
2 channels
2 channels
COMP2_INM
Internal reference
voltage
VREFINT out
IR_TIM
1-16 MHz oscillator
16 MHz internal RC
32 kHz oscillator
STM8 Core
16-bit Timer 2
38 kHz internal RC
Interrupt controller
16-bit Timer 3
Debug module
(SWIM)
8-bit Timer 4
Infrared interface
SPI1
I²C1
USART1
V
SSREF
Port F
up to
(2)
(2)
(2)