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
NRST
OSCIN/PA1
OSCOUT/PA2
VSS
VCAP
20 19 18 17 16
1
15
2
14
3
13
4
12
5
11
6 7 8 9 10
PD1(HS)/SWIM
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]
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
Pin no.
Pin name
TSSOP20 UFQFPN20
Table 6: STM8S003F3 pin description
Input
Output
Type
floating
wpu
Ext.
interr.
High
sink
(1)
Speed OD
PP
Main
function
(after
reset)
Default
alternate
function
Alternate
function after
remap [option
bit]
1
18
PD4/ BEEP/ I/O X
X X HS
O3 X X Port Timer 2 -
TIM2_ CH1/
D4
channel
UART1 _CK
1/BEEP
output/
22/100
DocID018576 Rev 3