main
History Download
Ray Initial commit: component/stm8s003f3p6 f31a588

STM8S003F3P6

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · TSSOP-20

STM8S003F3P6 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 D4 GPIO with high-sink output, alternate functions: Timer 2 channel 1, BEEP output, UART1 clock.
2 PD5 bidirectional Port D5 GPIO with high-sink output, alternate functions: analog input 5, UART1 transmit data.
3 PD6 bidirectional Port D6 GPIO with high-sink output, alternate functions: analog input 6, UART1 receive data.
4 NRST input Reset input pin with open-drain output capability and internal pull-up resistor.
5 PA1 bidirectional Port A1 GPIO, alternate function: OSCIN (oscillator crystal input).
6 PA2 bidirectional Port A2 GPIO, alternate function: OSCOUT (oscillator crystal output).
7 VSS power_in Digital ground reference.
8 VCAP power_in 1.8 V internal regulator decoupling capacitor pin; requires 470-3300 nF external capacitor with ESR ≤ 15 Ω.
9 VDD power_in Digital power supply; operating voltage 2.95 to 5.5 V.
10 PA3 bidirectional Port A3 GPIO with high-sink output, alternate functions: Timer 2 channel 3, SPI master/slave select (AFR1 remapping).
11 PB5 bidirectional Port B5 true open-drain GPIO, alternate functions: I2C SDA (data), Timer 1 break input (AFR4 remapping).
12 PB4 bidirectional Port B4 true open-drain GPIO, alternate functions: I2C SCL (clock), ADC external trigger (AFR4 remapping).
13 PC3 bidirectional Port C3 GPIO with high-sink output, alternate functions: Timer 1 channel 3, top level interrupt, Timer 1 inverted channel 1.
14 PC4 bidirectional Port C4 GPIO with high-sink output, alternate functions: Timer 1 channel 4, configurable clock output, analog input 2, Timer 1 inverted channel 2.
15 PC5 bidirectional Port C5 GPIO with high-sink output, alternate functions: SPI clock, Timer 2 channel 1 (AFR0 remapping).
16 PC6 bidirectional Port C6 GPIO with high-sink output, alternate functions: SPI MOSI (master out/slave in), Timer 1 channel 1 (AFR0 remapping).
17 PC7 bidirectional Port C7 GPIO with high-sink output, alternate functions: SPI MISO (master in/slave out), Timer 1 channel 2 (AFR0 remapping).
18 PD1 bidirectional Port D1 GPIO with high-sink output, alternate function: SWIM (single-wire interface module) data interface.
19 PD2 bidirectional Port D2 GPIO with high-sink output, alternate functions: analog input 3, Timer 2 channel 3 (AFR1 remapping).
20 PD3 bidirectional Port D3 GPIO with high-sink output, alternate functions: analog input 4, Timer 2 channel 2, ADC external trigger.

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package TSSOP-20
Category Embedded Processors & Controllers
Pins 20

CAD (KiCad official)

  • Symbol: STM8S003F3P6
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: stm8s003f3p6-etched.step / stm8s003f3p6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm8s003f3p6.step / stm8s003f3p6.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STMicroelectronics datasheet (100 pp, sha256 79e0b6f021db8416, 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