Datasheet

DocID17943 Rev 6 37/134
STM8L15xx8, STM8L15xR6 Pin description
61
20 16 -
PG2/LCD_SEG30
(3)
/
USART3_CK
I/O FT
(5)
X XXHSXXPort G2
LCD segment 30/
USART 3 synchronous clock
21 17 -
PG3/LCD SEG 31
(3)
/
[TIM3_ETR]
I/O FT
(5)
X XXHSXXPort G3
LCD segment 31/
[Timer 3 - trigger]
33 PH4/USART2_RX I/O FT
(5)
X XXHSXXPort H4 USART2 receive
34 PH5/USART2_TX I/O FT
(5)
X XXHSXXPort H5 USART2 transmit
35
PH6/USART2_CK/
TIM5_CH1
I/O FT
(5)
X XXHSXXPort H6
USART2 synchronous
clock/ Timer 5 - channel 1
36 PH7/TIM5_CH2 I/O FT
(5)
X XXHSXXPort H7 Timer 5 - channel 2
-9V
SS
/V
SSA
/V
REF-
S
I/O ground / Analog ground voltage /
ADC1 negative voltage reference
13 9 - V
SSA
/V
REF-
S
Analog ground voltage /
ADC1 negative voltage reference
37 29 - V
DD3
S IOs supply voltage
38 30 - V
SS3
S IOs ground voltage
511
PA0
(8)
/[USART1_CK]
(2)
/
SWIM/BEEP/IR_TIM
(9)
I/O X X XHSX XPort A0
[USART1 synchronous
clock]
(2)
/ SWIM input and
output / Beep output / Infra-
red Timer output
68 56 40 V
SS2
IOs ground voltage
67 55 39 V
DD2
IOs supply voltage
48 - - V
SS4
IOs ground voltage
47 - - V
DD4
IOs supply voltage
1. At power-up, the PA1/NRST pin is a reset input pin with pull-up. To be used as a general purpose pin (PA1), it can be
configured only as output push-pull, not as output open-drain nor as a general purpose input. Refer to Section Configuring
NRST/PA1 pin as general purpose output in the STM8L15xx and STM8L16xx reference manual (RM0031).
2. [ ] Alternate function remapping option (if the same alternate function is shown twice, it indicates an exclusive choice not a
duplication of the function).
3. Available on STM8L152xx devices only.
4. A pull-up is applied to PB0 and PB4 during the reset phase. These two pins are input floating after reset release.
Table 5. High density and medium+ density STM8L15x pin description (continued)
Pin
number
Pin name
Type
I/O level
Input Output
Main function
(after reset)
Default alternate function
LQFP80
LQFP64
UFQFPN48 and LQFP48
floating
wpu
Ext. interrupt
High sink/source
OD
PP