component
STM8S103F3P6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
Initial commit: component/stm8s103f3p6
8d727ec
STM8S103F3P6
STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · TSSOP-20
STM8S103F3P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PD4 | bidirectional | Port D bit 4, high sink I/O multiplexed with Timer 2 channel 1, BEEP output, or UART1 clock, rated for up to 10 mA sink current. |
| 2 | PD5 | bidirectional | Port D bit 5, high sink I/O multiplexed with analog input 5 or UART1 transmit data output. |
| 3 | PD6 | bidirectional | Port D bit 6, high sink I/O multiplexed with analog input 6 or UART1 receive data input. |
| 4 | NRST | input | Active-low reset input with internal weak pull-up of 30-80 kΩ, input filtered to 75 ns. |
| 5 | PA1 | bidirectional | Port A bit 1, multiplexed with crystal oscillator input (1-16 MHz) or GPIO, automatically configured as input with weak pull-up in halt mode. |
| 6 | PA2 | bidirectional | Port A bit 2, multiplexed with crystal oscillator output for external resonator or GPIO. |
| 7 | VSS | power_in | Digital ground reference (0 V), must be connected to external power supply negative terminal. |
| 8 | VCAP | passive | Voltage regulator stabilization capacitor pin, requires external 470 nF to 3.3 µF capacitor with ESR <0.3 Ω and ESL <15 nH. |
| 9 | VDD | power_out | Digital power supply input voltage, operating range 2.95-5.5 V, must be connected to external power supply positive terminal. |
| 10 | PA3 | bidirectional | Port A bit 3, high sink I/O multiplexed with Timer 2 channel 3 or SPI slave select output. |
| 11 | PB5 | tri_state | Port B bit 5, true open-drain I/O without P-buffer or protection diode, multiplexed with I2C data line or Timer 1 break input. |
| 12 | PB4 | tri_state | Port B bit 4, true open-drain I/O without P-buffer or protection diode, multiplexed with I2C clock line or ADC external trigger. |
| 13 | PC3 | bidirectional | Port C bit 3, high sink I/O multiplexed with Timer 1 channel 3, top-level interrupt, or Timer 1 inverted channel 1. |
| 14 | PC4 | bidirectional | Port C bit 4, high sink I/O multiplexed with configurable clock output, Timer 1 channel 4, analog input 2, or Timer 1 inverted channel 2. |
| 15 | PC5 | bidirectional | Port C bit 5, high sink I/O multiplexed with SPI clock or Timer 2 channel 1 output. |
| 16 | PC6 | bidirectional | Port C bit 6, high sink I/O multiplexed with SPI master out/slave in or Timer 1 channel 1. |
| 17 | PC7 | bidirectional | Port C bit 7, high sink I/O multiplexed with SPI master in/slave out or Timer 1 channel 2. |
| 18 | PD1 | bidirectional | Port D bit 1, high sink I/O with internal pull-up during reset phase, primary function is single-wire interface module (SWIM) debug pin. |
| 19 | PD2 | bidirectional | Port D bit 2, high sink I/O multiplexed with analog input 3 or Timer 2 channel 3. |
| 20 | PD3 | bidirectional | Port D bit 3, high sink I/O multiplexed with analog input 4, Timer 2 channel 2, or ADC external trigger input. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | TSSOP-20 |
| Category | Embedded Processors & Controllers |
| Pins | 20 |
CAD (KiCad official)
- Symbol:
STM8S103F3P6 - Footprint:
Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm - 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files:
stm8s103f3p6-etched.step/stm8s103f3p6-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm8s103f3p6.step/stm8s103f3p6.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (118 pp, sha256
28b66f540088b188, retrieved 2026-09-23, tier: lcsc) - Extractor: parts-factory
2.0.0/extract_pins 0.2, primaryclaude-haiku-4-5-20251001(text), consensusclaude-sonnet-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).
# STM8S103F3P6
**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20
STM8S103F3P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PD4 | bidirectional | Port D bit 4, high sink I/O multiplexed with Timer 2 channel 1, BEEP output, or UART1 clock, rated for up to 10 mA sink current. |
| 2 | PD5 | bidirectional | Port D bit 5, high sink I/O multiplexed with analog input 5 or UART1 transmit data output. |
| 3 | PD6 | bidirectional | Port D bit 6, high sink I/O multiplexed with analog input 6 or UART1 receive data input. |
| 4 | NRST | input | Active-low reset input with internal weak pull-up of 30-80 kΩ, input filtered to 75 ns. |
| 5 | PA1 | bidirectional | Port A bit 1, multiplexed with crystal oscillator input (1-16 MHz) or GPIO, automatically configured as input with weak pull-up in halt mode. |
| 6 | PA2 | bidirectional | Port A bit 2, multiplexed with crystal oscillator output for external resonator or GPIO. |
| 7 | VSS | power_in | Digital ground reference (0 V), must be connected to external power supply negative terminal. |
| 8 | VCAP | passive | Voltage regulator stabilization capacitor pin, requires external 470 nF to 3.3 µF capacitor with ESR <0.3 Ω and ESL <15 nH. |
| 9 | VDD | power_out | Digital power supply input voltage, operating range 2.95-5.5 V, must be connected to external power supply positive terminal. |
| 10 | PA3 | bidirectional | Port A bit 3, high sink I/O multiplexed with Timer 2 channel 3 or SPI slave select output. |
| 11 | PB5 | tri_state | Port B bit 5, true open-drain I/O without P-buffer or protection diode, multiplexed with I2C data line or Timer 1 break input. |
| 12 | PB4 | tri_state | Port B bit 4, true open-drain I/O without P-buffer or protection diode, multiplexed with I2C clock line or ADC external trigger. |
| 13 | PC3 | bidirectional | Port C bit 3, high sink I/O multiplexed with Timer 1 channel 3, top-level interrupt, or Timer 1 inverted channel 1. |
| 14 | PC4 | bidirectional | Port C bit 4, high sink I/O multiplexed with configurable clock output, Timer 1 channel 4, analog input 2, or Timer 1 inverted channel 2. |
| 15 | PC5 | bidirectional | Port C bit 5, high sink I/O multiplexed with SPI clock or Timer 2 channel 1 output. |
| 16 | PC6 | bidirectional | Port C bit 6, high sink I/O multiplexed with SPI master out/slave in or Timer 1 channel 1. |
| 17 | PC7 | bidirectional | Port C bit 7, high sink I/O multiplexed with SPI master in/slave out or Timer 1 channel 2. |
| 18 | PD1 | bidirectional | Port D bit 1, high sink I/O with internal pull-up during reset phase, primary function is single-wire interface module (SWIM) debug pin. |
| 19 | PD2 | bidirectional | Port D bit 2, high sink I/O multiplexed with analog input 3 or Timer 2 channel 3. |
| 20 | PD3 | bidirectional | Port D bit 3, high sink I/O multiplexed with analog input 4, Timer 2 channel 2, or ADC external trigger input. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | TSSOP-20 |
| Category | Embedded Processors & Controllers |
| Pins | 20 |
## CAD (KiCad official)
- Symbol: `STM8S103F3P6`
- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`
- 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files: `stm8s103f3p6-etched.step` / `stm8s103f3p6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8s103f3p6.step` / `stm8s103f3p6.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [STMicroelectronics datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708320988516352) (118 pp, sha256 `28b66f540088b188`, retrieved 2026-09-23, tier: lcsc)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
- **CAD:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/stm8s103f3p6-datasheet.pdf)