Datasheet

STM8AF52/62xx, STM8AF51/61xx Pinouts and pin description
Doc ID 14395 Rev 9 33/110
Table 13. STM8A microcontroller family pin description
Pin number
Pin name
Type
Input Output
Main
function
(after
reset)
Default
alternate
function
Alternate
function
after remap
[option bit]
LQFP80
LQFP64
LQFP48
LQFP32/VFQFPN32
floating
wpu
Ext. interrupt
High sink
Speed
OD
PP
1 1 1 1 NRST I/O - X Reset
2222 PA1/OSCIN
(1)
I/O X X—O1X XPort A1
Resonator/
crystal in
3 3 3 3 PA2/OSCOUT I/O X XXO1XXPort A2
Resonator/
crystal out
444- V
SSIO_1
S I/O ground
5554 V
SS
S Digital ground
6 6 6 5 VCAP S 1.8 V regulator capacitor
7776 V
DD
S Digital power supply
8887 V
DDIO_1
S I/O power supply
9 9 9 - PA3/TIM2_CH3 I/O X XXO1XXPort A3
Timer 2 -
channel 3
TIM3_CH1
[AFR1]
10 10 10 - PA4/USART_RX I/O X XXO3XXPort A4
USART
receive
11 11 11 - PA5/USART_TX I/O X XXO3XXPort A5
USART
transmit
12 12 12 - PA6/USART_CK I/O X XXO3XXPort A6
USART
synchronous
clock
13--- PH0 I/OXXHSO3XXPort H0 ——
14--- PH1 I/OX X—HSO3X XPort H1 ——
15--- PH2 I/OX X—O1X XPort H2 ——
16--- PH3 I/OX X—O1X XPort H3 ——
17 13 - - PF7/AIN15 I/O X X—O1X XPort F7
Analog
input 15
18 14 - - PF6/AIN14 I/O X X—O1X XPort F6
Analog
input 14
19 15 - - PF5/AIN13 I/O X X—O1X XPort F5
Analog
input 13
20 16 - 8 PF4/AIN12 I/O X X—O1X XPort F4
Analog
input 12
21 17 - - PF3/AIN11 I/O X X—O1X XPort F3
Analog
input 11