Datasheet

DocID15962 Rev 13 13/131
STM8L151xx, STM8L152xx Functional overview
56
3 Functional overview
Figure 1. Medium density STM8L15x device block diagram
1. Legend:
ADC: Analog-to-digital converter
BOR: Brownout reset
DMA: Direct memory access
DAC: Digital-to-analog converter
I²C: Inter-integrated circuit multimaster interface
IWDG: Independent watchdog
LCD: Liquid crystal display
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
16 MHz internal RC
Clock
Clocks
Address, control and data buses
Debug module
SPI1
32 Kbytes
Interrupt controller
2 Kbytes RAM
to core and
peripherals
IWDG
(38 kHz clock)
(SWIM)
Port A
Port B
Port C
I²C1
USART1
Power
VOLT. REG.
Port F
1-16 MHz oscillator
32 kHz oscillator
38 kHz internal RC
LCD driver
4x28
WWDG
STM8 Core
controller
and
CSS
1 Kbyte
Port D
Port E
Beeper
RTC
memoryProgram
Data EEPROM
@V
DD
V
DD18
V
DD1
=1.65 V
V
SS1
SWIM
SCL, SDA,
MOSI, MISO,
SCK, NSS
RX, TX, CK
ADC1_INx
DAC_OUT
COMP1_INP
COMP 1
COMP 2
COMP2_INP
V
DDA
V
SSA
SMB
@V
DDA
/V
SSA
Temp sensor
12-bit ADC1
V
REF+
V
REF-
3.6 V
12-bit DAC
12-bit DAC
NRST
PA[7:0]
PB[7:0]
PC[7:0]
PD[7:0]
PE[7:0]
PF0
BEEP
ALARM, CALIB
SEGx, COMx
POR/PDR
OSC_IN,
OSC_OUT
OSC32_IN,
OSC32_OUT
to
BOR
PVD
PVD_IN
RESET
DMA1
8-bit Timer 4
16-bit Timer 3
16-bit Timer 2
16-bit Timer 1
(4 channels)
2 channels
2 channels
3 channels
COMP2_INM
V
LCD
= 2.5 V
3.6 V
to
LCD booster
Internal reference
voltage
VREFINT out
V
REF+
Infrared interface
IR_TIM
MS32627V1