Pinout and pin description
STM8S003K3 STM8S003F3
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).
5.2.2
STM8S003F3 UFQFPN20 pinout
Figure 5: STM8S003F3 UFQFPN20-pin pinout
20 19 18 17
16
15
14
13
1
2
3
4
5
NRST
PD1(HS)/SWIM
OSCIN/PA1
PC7(HS)/SPI_MISO[TIM1_CH2]
PC6(HS)/SPI_MOSI [TIM1_CH1]
PC5 (HS)/SPI_SCK [TIM2_CH1]
PC4(HS)/TIM1_CH4/CLK_CCO/AIN2/[TIM1_CH2N]
OSCOUT/PA2
V
SS
12
11
VCAP
6
7
8
9
10
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).
5.2.3
STM8S003F3 TSSOP20/UFQFPN20 pin description
Table 6: STM8S003F3 pin description
Pin no.
Input
Output
Main
Alternate
function after
remap [option
bit]
Default
alternate
function
function
(after
Speed OD PP
High
Pin name
Type
Ext.
interr.
TSSOP20 UFQFPN20
floating wpu
sink
(1)
reset)
1
18
PD4/ BEEP/
TIM2_ CH1/
UART1 _CK
I/O
X
X
X
HS
O3
X
X
Port
D4
Timer 2 -
channel
1/BEEP
output/
22/99
DocID018576 Rev 2