← Commit history

Initial commit: component/stm8s103f3p6

Ray ·8d727ec802 ·
2 files changed +269
README.mdadded+56
@@ -0,0 +1,56 @@+# 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)
page.jsonadded+213
@@ -0,0 +1,213 @@+{+  "slug": "stm8s103f3p6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm8s103f3p6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm8s103f3p6.kicad_sym",+    "stm8s103f3p6.kicad_mod",+    "stm8s103f3p6.glb",+    "stm8s103f3p6.step",+    "stm8s103f3p6.lbr",+    "docs/hero.png",+    "docs/stm8s103f3p6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM8S103F3P6",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708320988516352",+    "parts": {+      "symbol": "stm8s103f3p6.kicad_sym",+      "footprint": "stm8s103f3p6.kicad_mod",+      "model_3d": "stm8s103f3p6-etched.glb",+      "model_3d_plain": "stm8s103f3p6.glb",+      "model_3d_step": "stm8s103f3p6-etched.step",+      "model_3d_step_plain": "stm8s103f3p6.step",+      "lbr": "stm8s103f3p6.lbr"+    },+    "distributor_links": {+      "lcsc": "C55961"+    },+    "pins": [+      {+        "number": "1",+        "name": "PD4",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "2",+        "name": "PD5",+        "type": "bidirectional",+        "description": "Port D bit 5, high sink I/O multiplexed with analog input 5 or UART1 transmit data output."+      },+      {+        "number": "3",+        "name": "PD6",+        "type": "bidirectional",+        "description": "Port D bit 6, high sink I/O multiplexed with analog input 6 or UART1 receive data input."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "input",+        "description": "Active-low reset input with internal weak pull-up of 30-80 kΩ, input filtered to 75 ns."+      },+      {+        "number": "5",+        "name": "PA1",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "6",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Port A bit 2, multiplexed with crystal oscillator output for external resonator or GPIO."+      },+      {+        "number": "7",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital ground reference (0 V), must be connected to external power supply negative terminal."+      },+      {+        "number": "8",+        "name": "VCAP",+        "type": "passive",+        "description": "Voltage regulator stabilization capacitor pin, requires external 470 nF to 3.3 µF capacitor with ESR <0.3 Ω and ESL <15 nH."+      },+      {+        "number": "9",+        "name": "VDD",+        "type": "power_out",+        "description": "Digital power supply input voltage, operating range 2.95-5.5 V, must be connected to external power supply positive terminal."+      },+      {+        "number": "10",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Port A bit 3, high sink I/O multiplexed with Timer 2 channel 3 or SPI slave select output."+      },+      {+        "number": "11",+        "name": "PB5",+        "type": "tri_state",+        "description": "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."+      },+      {+        "number": "12",+        "name": "PB4",+        "type": "tri_state",+        "description": "Port B bit 4, true open-drain I/O without P-buffer or protection diode, multiplexed with I2C clock line or ADC external trigger."+      },+      {+        "number": "13",+        "name": "PC3",+        "type": "bidirectional",+        "description": "Port C bit 3, high sink I/O multiplexed with Timer 1 channel 3, top-level interrupt, or Timer 1 inverted channel 1."+      },+      {+        "number": "14",+        "name": "PC4",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "15",+        "name": "PC5",+        "type": "bidirectional",+        "description": "Port C bit 5, high sink I/O multiplexed with SPI clock or Timer 2 channel 1 output."+      },+      {+        "number": "16",+        "name": "PC6",+        "type": "bidirectional",+        "description": "Port C bit 6, high sink I/O multiplexed with SPI master out/slave in or Timer 1 channel 1."+      },+      {+        "number": "17",+        "name": "PC7",+        "type": "bidirectional",+        "description": "Port C bit 7, high sink I/O multiplexed with SPI master in/slave out or Timer 1 channel 2."+      },+      {+        "number": "18",+        "name": "PD1",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "19",+        "name": "PD2",+        "type": "bidirectional",+        "description": "Port D bit 2, high sink I/O multiplexed with analog input 3 or Timer 2 channel 3."+      },+      {+        "number": "20",+        "name": "PD3",+        "type": "bidirectional",+        "description": "Port D bit 3, high sink I/O multiplexed with analog input 4, Timer 2 channel 2, or ADC external trigger input."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 118,+        "cost_usd": 0.8949,+        "at": "2026-09-23T12:09:08"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708320988516352",+        "pages": 118,+        "sha256": "28b66f540088b188",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 20,+        "described": 20,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file