Datasheet
Figure 6: SDIP 32-pin pinout
8
1
2
3
4
5
6
7
9
10
11
12
13
14
15
16
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
ADC_ETR/TIM2_CH2/(HS) PD3
[BEEP] TIM2_CH1/(HS) PD4
UART2_TX/PD5
UART2_RX/PD6
[TIM1_CH4] TLI/PD7
NRST
OSCIN/PA1
OSCOUT/PA2
VSS
VCAP
VDD
AIN12/PF4
[I2C_SDA] AIN5/PB5 PB4/AIN4[ I2C_SCL]
PB3/AIN3 [TIM1_ETR]
PB2/AIN2 [TIM1_CH3N]
PB1/AIN1 [TIM1_CH2N]
PB0/AIN0 [TIM1_CH1N]
PE5/SPI_NSS
PC1 (HS)/TIM1_CH1/UART2_CK
PC2 (HS)/TIM1_CH2
PC3 (HS)/TIM1_CH3
PC4 (HS)/TIM1_CH4
PC5 (HS)/SPI_SCK
PC6 (HS)/SPI_MOSI
PC7 (HS)/SPI_MISO
PD0 (HS)/TIM3_CH2 [TIM1_BKIN] [CLK_CCO]
PD1 (HS)/SWIM
PD2 (HS)/TIM3_CH1 [TIM2_CH3]
105_ai15057
VDDIO
VDDA
VSSA
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).
Table 6: Pin description for STM8S105 microcontrollers
Alternate
function after
remap
[option bit]
Default alternate
function
Main function
(after reset)
OutputInputTypePin namePin number
PPODSpeedHigh
sink
Ext.
interrupt
wpufloatingSDIP32LQFP32/
UFQFPN32
LQFP44LQFP48
ResetXI/ONRST6111
Resonator/Port A1XXO1XXI/OPA1/
OSC IN
7222
crystal in
Resonator/Port A2XXO1XXXI/OPA2/
OSC
OUT
8333
crystal out
I/O groundSV
SSIO_1
--44
Digital groundSV
SS
9455
1.8 V regulator capacitorSVCAP10566
Digital power supplySV
DD
11677
I/O power supplySV
DDIO_1
12788
DocID14771 Rev 1224/124
STM8S105xxPinout and pin description