STM8S003K3 STM8S003F3
Pinout and pin description
1. (HS) high sink capability.
2. (T) True open drain (P-buffer and protection diode to VDD not implemented).
3. [ ] alternate function remapping option (if the same alternate function is shown twice, it
indicates an exclusive choice not a duplication of the function).
Table 5: LQFP32 pin description
Input
Output
Alternate
function
after remap
[option bit]
Main
function
(after reset) function
Default
alternate
Pin
Pin
no.
Type
Ext.
High
name
floating wpu
Speed OD PP
(1)
interrupt sink
1
2
NRST
I/O
I/O
X
Reset
(2)
PA1/ OSCI
X
X
X
X
X
X
O1
O1
X
X
X
X
Port A1
Resonator/
crystal in
3
PA2/ OSCOUT I/O
Port A2
Resonator/
crystal out
4
5
6
7
V
S
Digital ground
SS
VCAP
S
1.8 V regulator capacitor
Digital power supply
V
S
DD
PA3/
TIM2_CH3
[SPI_NSS]
I/O
X
X
X
HS
O3
X
X
Port A3
Timer 2
channel 3
SPI master/
slave select
[AFR1]
8
PF4
PB7
I/O
I/O
I/O
X
X
X
X
X
X
X
X
X
O1
O1
O1
O1
O1
O3
X
X
X
X
X
X
Port F4
Port B7
Port B6
Port B5
Port B4
Port B3
9
X
X
X
X
X
10
11
12
13
PB6
2
(3)
2
PB5/ I C_SDA I/O
T
I C data
2
(3)
2
PB4/ I C_SCL I/O
T
I C clock
PB3/AIN3/
TIM1_ETR
I/O
X
X
HS
HS
X
X
X
X
Analog input 3/
Timer 1
external trigger
14
PB2/AIN2/
I/O
X
X
O3
Port B2
Analog input 2/
Timer 1 -
TIM1_CH3N
inverted
channel 3
DocID018576 Rev 3
19/100