Datasheet
STM8S103Fx UFQFPN20 pinout5.2.2
Figure 6: STM8S103Fx UFQFPN20-pin pinout
2
1
3
4
5
6 7 8
9
11
12
13
14
15
16171819
VCAP
VSS
OSCOUT/PA2
OSCIN/PA1
[SPI_NSS] TIM2_CH3/(HS) PA3
NRST
PD4 (HS)/BEEP / TIM2_CH1/UART1_CK
PD5 (HS)/AIN5/UART1_TX
PD3 (HS)/AIN4/TIM2_CH2/ADC_ETR
PD2 (HS)/AIN3 [TIM2_CH3]
PC4 (HS)/TIM1_CH4/CLK_CCO/AIN2 [TIM1_CH2N]
PC5 (HS)/SPI_SCK [TIM2_CH1]
PC6 (HS)/SPI_MOSI [TIM1_CH1]
PC7 (HS)/SPI_MISO [TIM1_CH2]
PD1(HS)/SWIM
[TIM1_BKIN] I2C_SDA/(T) PB5
10
[TIM1_CH1N] [TLI] TIM1_CH3/(HS) PC3
PD6 (HS)/AIN6/UART1_RX
20
V
DD
[ADC_ETR] I2C_SCL/(T) PB4
1. HS high sink capability.
2. (T) True open drain (P-buffer and protection diode to V
DD
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).
STM8S103Fx TSSOP20/SO20/UFQFPN20 pin description5.2.3
Table 6: STM8S103Fx pin description
Alternate function
after remap [option
bit]
Default
alternate
function
Main
function
(after
reset)
OutputInput
TypePin name
Pin no.
PPODSpeed
High sink
(1)
Ext.
interr.
wpufloatingUFQFPN20TSSOP/SO20
Timer 2 -
channel
Port D4XXO3HSXXXI/OPD4/ BEEP/
TIM2_ CH1/
UART1 _CK
181
1/BEEP output/
UART1 clock
Analog input 5/
UART1 data
transmit
Port D5XXO3HSXXXI/OPD5/ AIN5/
UART1 _TX
192
25/117DocID15441 Rev 9
Pinout and pin descriptionSTM8S103K3 STM8S103F3 STM8S103F2