Pinout and pin description
STM8S003K3 STM8S003F3
5
Pinout and pin description
Table 4: Legend/abbreviations for pinout tables
Type
I= Input, O = Output, S = Power supply
CM = CMOS
Level
Input
Output
HS = High sink
Output speed
O1 = Slow (up to 2 MHz)
O2 = Fast (up to 10 MHz)
O3 = Fast/slow programmability with slow as default state after reset
O4 = Fast/slow programmability with fast as default state after reset
Port and control
configuration
Input
float = floating, wpu = weak pull-up
Output
T = True open drain, OD = Open drain, PP =
Push pull
Reset state
Bold X (pin state after internal reset release).
Unless otherwise specified, the pin state is the same during the reset
phase and after the internal reset release.
5.1
STM8S003K3 LQFP32 pinout and pin description
Figure 3: STM8S003K3 LQFP32 pinout
32 31 30 29 28 27 26 25
24
23
22
21
20
19
18
17
1
2
3
4
5
6
7
8
NRST
OSCIN/PA1
PC7 (HS)/SPI_MISO
PC6 (HS)/SPI_MOSI
OSCOUT/PA2
PC5 (HS)/SPI_SCK
V
PC4 (HS)/TIM1_CH4/CLK_CCO
PC3 (HS)/TIM1_CH3
SS
VCAP
V
PC2 (HS)/TIM1_CH2
DD
[SPI_NSS] TIM2_CH3/(HS)PA3
PF4
PC1 (HS)/TIM1_CH1/UART1_CK
PE5 (HS)/SPI_NSS
9
10 11 12 13 14 15 16
18/99
DocID018576 Rev 2