← Commit history

Initial commit: component/stm8s207k6t6c

Ray ·448029c446 ·
2 files changed +368
README.mdadded+68
@@ -0,0 +1,68 @@+# STM8S207K6T6C++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM8S207K6T6C from STMicroelectronics, in a LQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | NRST | bidirectional | Reset pin with internal pull-up 30-80 kΩ; filtered input pulse < 75 ns ignored; output reset pulse minimum 15 µs; VIL max 0.3×VDD, VIH min 0.7×VDD. |+| 2 | PA1/OSCIN | bidirectional | Port A bit 1; primary alternate function is HSE crystal/resonator oscillator input accepting 1-24 MHz; configurable as external user clock input via OPT4.EXTCLK. |+| 3 | PA2/OSCOUT | bidirectional | Port A bit 2; primary alternate function is HSE crystal/resonator oscillator output; unused when external user clock mode is selected. |+| 4 | VSS | power_in | Digital ground reference; all VSS and VSSA must be within 50 mV of each other. |+| 5 | VCAP | passive | External decoupling capacitor pin for the on-chip 1.8 V main voltage regulator; requires 470-3300 nF with ESR ≤ 0.3 Ω and ESL ≤ 15 nH at 1 MHz. |+| 6 | VDD | power_in | Digital core power supply; operating range 2.95-5.5 V; total source current maximum 60 mA. |+| 7 | VDDIO | power_in | I/O power supply for all I/O ports on the 32-pin package (single VDDIO); operating range 2.95-5.5 V; total I/O output current sum maximum 100 mA source / 80 mA sink. |+| 8 | PF4/AIN12 | bidirectional | Port F bit 4; default alternate function is ADC2 analog input channel 12; input voltage range 0 to VDDA; O1 output speed (up to 2 MHz). |+| 9 | VDDA | power_in | Analog power supply for ADC2; operating range 3-5.5 V; must be connected even when ADC not used. |+| 10 | VSSA | power_in | Analog ground for ADC2; all ground pins must be within 50 mV of each other. |+| 11 | PB5/AIN5 | bidirectional | Port B bit 5; default alternate function ADC2 analog input 5 (0 to VDDA); remappable to I2C_SDA via AFR6 option bit. |+| 12 | PB4/AIN4 | bidirectional | Port B bit 4; default alternate function ADC2 analog input 4 (0 to VDDA); remappable to I2C_SCL via AFR6 option bit. |+| 13 | PB3/AIN3 | bidirectional | Port B bit 3; default alternate function ADC2 analog input 3 (0 to VDDA); remappable to TIM1_ETR external trigger input via AFR5 option bit. |+| 14 | PB2/AIN2 | bidirectional | Port B bit 2; default alternate function ADC2 analog input 2 (0 to VDDA); remappable to TIM1_CH3N complementary output via AFR5 option bit. |+| 15 | PB1/AIN1 | bidirectional | Port B bit 1; default alternate function ADC2 analog input 1 (0 to VDDA); remappable to TIM1_CH2N complementary output via AFR5 option bit. |+| 16 | PB0/AIN0 | bidirectional | Port B bit 0; default alternate function ADC2 analog input 0 (0 to VDDA); remappable to TIM1_CH1N complementary output via AFR5 option bit. |+| 17 | PE5/SPI_NSS | bidirectional | Port E bit 5; default alternate function SPI master/slave select input/output; O1 output speed (up to 2 MHz). |+| 18 | PC1/TIM1_CH1 | bidirectional | Port C bit 1 with high-sink capability; default alternate function TIM1 capture/compare channel 1; O3 output speed (fast/slow programmable, slow after reset). |+| 19 | PC2/TIM1_CH2 | bidirectional | Port C bit 2 with high-sink capability; default alternate function TIM1 capture/compare channel 2; O3 output speed (fast/slow programmable, slow after reset). |+| 20 | PC3/TIM1_CH3 | bidirectional | Port C bit 3 with high-sink capability; default alternate function TIM1 capture/compare channel 3; O3 output speed (fast/slow programmable, slow after reset). |+| 21 | PC4/TIM1_CH4 | bidirectional | Port C bit 4 with high-sink capability; default alternate function TIM1 capture/compare channel 4; O3 output speed (fast/slow programmable, slow after reset). |+| 22 | PC5/SPI_SCK | bidirectional | Port C bit 5 with high-sink capability; default alternate function SPI clock up to 10 Mbit/s (fMASTER/2 master, 6 MHz slave); O3 output speed. |+| 23 | PC6/SPI_MOSI | bidirectional | Port C bit 6 with high-sink capability; default alternate function SPI master-out/slave-in data line; O3 output speed. |+| 24 | PC7/SPI_MISO | bidirectional | Port C bit 7 with high-sink capability; default alternate function SPI master-in/slave-out data line; O3 output speed. |+| 25 | PD0/TIM3_CH2 | bidirectional | Port D bit 0 with high-sink capability; default alternate function TIM3 channel 2; remappable to TIM1_BKIN [AFR3] or CLK_CCO configurable clock output [AFR2] (AFR2 takes priority); O3 output speed. |+| 26 | PD1/SWIM | bidirectional | Port D bit 1 with high-sink capability; default alternate function SWIM single-wire interface module for debug and programming at up to 145 bytes/ms; input pull-up active during reset phase and after reset release; O4 output speed (fast after reset). |+| 27 | PD2/TIM3_CH1 | bidirectional | Port D bit 2 with high-sink capability; default alternate function TIM3 channel 1; remappable to TIM2_CH3 via AFR1 option bit; O3 output speed. |+| 28 | PD3/TIM2_CH2 | bidirectional | Port D bit 3 with high-sink capability; default alternate function TIM2 channel 2; remappable to ADC_ETR external trigger via AFR0 option bit; O3 output speed. |+| 29 | PD4/TIM2_CH1 | bidirectional | Port D bit 4 with high-sink capability; default alternate function TIM2 channel 1; remappable to BEEP output (1/2/4 kHz) via AFR7 option bit; O3 output speed. |+| 30 | PD5/UART3_TX | bidirectional | Port D bit 5; default alternate function UART3 data transmit up to 1 Mbit/s with LIN 2.1 master/slave capability; O1 output speed. |+| 31 | PD6/UART3_RX | bidirectional | Port D bit 6; default alternate function UART3 data receive up to 1 Mbit/s; pin default state is controlled by ROM bootloader (pulled up during bootloader activation, returned to floating before bootloader exit); O1 output speed. |+| 32 | PD7/TLI | bidirectional | Port D bit 7; default alternate function top-level external interrupt (TLI) on dedicated vector; AFR4 remap to TIM1_CH4 is reserved on 32-pin package and must be kept 0; O1 output speed. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM8S207K6T6C`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm8s207k6t6c-etched.step` / `stm8s207k6t6c-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8s207k6t6c.step` / `stm8s207k6t6c.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/8588899450232586240) (117 pp, sha256 `7adeaa849cf9e22f`, retrieved 2026-09-26, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (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/stm8s207k6t6c-datasheet.pdf)
page.jsonadded+300
@@ -0,0 +1,300 @@+{+  "slug": "stm8s207k6t6c",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm8s207k6t6c",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm8s207k6t6c.kicad_sym",+    "stm8s207k6t6c.kicad_mod",+    "stm8s207k6t6c.glb",+    "stm8s207k6t6c.step",+    "stm8s207k6t6c.lbr",+    "docs/hero.png",+    "docs/stm8s207k6t6c-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM8S207K6T6C",+    "manufacturer": "STMicroelectronics",+    "package": "LQFP-32(7x7)",+    "pin_count": 32,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588899450232586240",+    "parts": {+      "symbol": "stm8s207k6t6c.kicad_sym",+      "footprint": "stm8s207k6t6c.kicad_mod",+      "model_3d": "stm8s207k6t6c-etched.glb",+      "model_3d_plain": "stm8s207k6t6c.glb",+      "model_3d_step": "stm8s207k6t6c-etched.step",+      "model_3d_step_plain": "stm8s207k6t6c.step",+      "lbr": "stm8s207k6t6c.lbr"+    },+    "distributor_links": {+      "lcsc": "C1337636",+      "digikey": "497-8510-ND",+      "mouser": "511-STM8S207K6T6C"+    },+    "distributor_check": {+      "checked_at": "2026-09-26T22:35:23Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-8510-ND",+        "status": "found",+        "lifecycle": "Active"+      },+      "mouser": {+        "pn": "511-STM8S207K6T6C",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Reset pin with internal pull-up 30-80 kΩ; filtered input pulse < 75 ns ignored; output reset pulse minimum 15 µs; VIL max 0.3×VDD, VIH min 0.7×VDD."+      },+      {+        "number": "2",+        "name": "PA1/OSCIN",+        "type": "bidirectional",+        "description": "Port A bit 1; primary alternate function is HSE crystal/resonator oscillator input accepting 1-24 MHz; configurable as external user clock input via OPT4.EXTCLK."+      },+      {+        "number": "3",+        "name": "PA2/OSCOUT",+        "type": "bidirectional",+        "description": "Port A bit 2; primary alternate function is HSE crystal/resonator oscillator output; unused when external user clock mode is selected."+      },+      {+        "number": "4",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital ground reference; all VSS and VSSA must be within 50 mV of each other."+      },+      {+        "number": "5",+        "name": "VCAP",+        "type": "passive",+        "description": "External decoupling capacitor pin for the on-chip 1.8 V main voltage regulator; requires 470-3300 nF with ESR ≤ 0.3 Ω and ESL ≤ 15 nH at 1 MHz."+      },+      {+        "number": "6",+        "name": "VDD",+        "type": "power_in",+        "description": "Digital core power supply; operating range 2.95-5.5 V; total source current maximum 60 mA."+      },+      {+        "number": "7",+        "name": "VDDIO",+        "type": "power_in",+        "description": "I/O power supply for all I/O ports on the 32-pin package (single VDDIO); operating range 2.95-5.5 V; total I/O output current sum maximum 100 mA source / 80 mA sink."+      },+      {+        "number": "8",+        "name": "PF4/AIN12",+        "type": "bidirectional",+        "description": "Port F bit 4; default alternate function is ADC2 analog input channel 12; input voltage range 0 to VDDA; O1 output speed (up to 2 MHz)."+      },+      {+        "number": "9",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply for ADC2; operating range 3-5.5 V; must be connected even when ADC not used."+      },+      {+        "number": "10",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground for ADC2; all ground pins must be within 50 mV of each other."+      },+      {+        "number": "11",+        "name": "PB5/AIN5",+        "type": "bidirectional",+        "description": "Port B bit 5; default alternate function ADC2 analog input 5 (0 to VDDA); remappable to I2C_SDA via AFR6 option bit."+      },+      {+        "number": "12",+        "name": "PB4/AIN4",+        "type": "bidirectional",+        "description": "Port B bit 4; default alternate function ADC2 analog input 4 (0 to VDDA); remappable to I2C_SCL via AFR6 option bit."+      },+      {+        "number": "13",+        "name": "PB3/AIN3",+        "type": "bidirectional",+        "description": "Port B bit 3; default alternate function ADC2 analog input 3 (0 to VDDA); remappable to TIM1_ETR external trigger input via AFR5 option bit."+      },+      {+        "number": "14",+        "name": "PB2/AIN2",+        "type": "bidirectional",+        "description": "Port B bit 2; default alternate function ADC2 analog input 2 (0 to VDDA); remappable to TIM1_CH3N complementary output via AFR5 option bit."+      },+      {+        "number": "15",+        "name": "PB1/AIN1",+        "type": "bidirectional",+        "description": "Port B bit 1; default alternate function ADC2 analog input 1 (0 to VDDA); remappable to TIM1_CH2N complementary output via AFR5 option bit."+      },+      {+        "number": "16",+        "name": "PB0/AIN0",+        "type": "bidirectional",+        "description": "Port B bit 0; default alternate function ADC2 analog input 0 (0 to VDDA); remappable to TIM1_CH1N complementary output via AFR5 option bit."+      },+      {+        "number": "17",+        "name": "PE5/SPI_NSS",+        "type": "bidirectional",+        "description": "Port E bit 5; default alternate function SPI master/slave select input/output; O1 output speed (up to 2 MHz)."+      },+      {+        "number": "18",+        "name": "PC1/TIM1_CH1",+        "type": "bidirectional",+        "description": "Port C bit 1 with high-sink capability; default alternate function TIM1 capture/compare channel 1; O3 output speed (fast/slow programmable, slow after reset)."+      },+      {+        "number": "19",+        "name": "PC2/TIM1_CH2",+        "type": "bidirectional",+        "description": "Port C bit 2 with high-sink capability; default alternate function TIM1 capture/compare channel 2; O3 output speed (fast/slow programmable, slow after reset)."+      },+      {+        "number": "20",+        "name": "PC3/TIM1_CH3",+        "type": "bidirectional",+        "description": "Port C bit 3 with high-sink capability; default alternate function TIM1 capture/compare channel 3; O3 output speed (fast/slow programmable, slow after reset)."+      },+      {+        "number": "21",+        "name": "PC4/TIM1_CH4",+        "type": "bidirectional",+        "description": "Port C bit 4 with high-sink capability; default alternate function TIM1 capture/compare channel 4; O3 output speed (fast/slow programmable, slow after reset)."+      },+      {+        "number": "22",+        "name": "PC5/SPI_SCK",+        "type": "bidirectional",+        "description": "Port C bit 5 with high-sink capability; default alternate function SPI clock up to 10 Mbit/s (fMASTER/2 master, 6 MHz slave); O3 output speed."+      },+      {+        "number": "23",+        "name": "PC6/SPI_MOSI",+        "type": "bidirectional",+        "description": "Port C bit 6 with high-sink capability; default alternate function SPI master-out/slave-in data line; O3 output speed."+      },+      {+        "number": "24",+        "name": "PC7/SPI_MISO",+        "type": "bidirectional",+        "description": "Port C bit 7 with high-sink capability; default alternate function SPI master-in/slave-out data line; O3 output speed."+      },+      {+        "number": "25",+        "name": "PD0/TIM3_CH2",+        "type": "bidirectional",+        "description": "Port D bit 0 with high-sink capability; default alternate function TIM3 channel 2; remappable to TIM1_BKIN [AFR3] or CLK_CCO configurable clock output [AFR2] (AFR2 takes priority); O3 output speed."+      },+      {+        "number": "26",+        "name": "PD1/SWIM",+        "type": "bidirectional",+        "description": "Port D bit 1 with high-sink capability; default alternate function SWIM single-wire interface module for debug and programming at up to 145 bytes/ms; input pull-up active during reset phase and after reset release; O4 output speed (fast after reset)."+      },+      {+        "number": "27",+        "name": "PD2/TIM3_CH1",+        "type": "bidirectional",+        "description": "Port D bit 2 with high-sink capability; default alternate function TIM3 channel 1; remappable to TIM2_CH3 via AFR1 option bit; O3 output speed."+      },+      {+        "number": "28",+        "name": "PD3/TIM2_CH2",+        "type": "bidirectional",+        "description": "Port D bit 3 with high-sink capability; default alternate function TIM2 channel 2; remappable to ADC_ETR external trigger via AFR0 option bit; O3 output speed."+      },+      {+        "number": "29",+        "name": "PD4/TIM2_CH1",+        "type": "bidirectional",+        "description": "Port D bit 4 with high-sink capability; default alternate function TIM2 channel 1; remappable to BEEP output (1/2/4 kHz) via AFR7 option bit; O3 output speed."+      },+      {+        "number": "30",+        "name": "PD5/UART3_TX",+        "type": "bidirectional",+        "description": "Port D bit 5; default alternate function UART3 data transmit up to 1 Mbit/s with LIN 2.1 master/slave capability; O1 output speed."+      },+      {+        "number": "31",+        "name": "PD6/UART3_RX",+        "type": "bidirectional",+        "description": "Port D bit 6; default alternate function UART3 data receive up to 1 Mbit/s; pin default state is controlled by ROM bootloader (pulled up during bootloader activation, returned to floating before bootloader exit); O1 output speed."+      },+      {+        "number": "32",+        "name": "PD7/TLI",+        "type": "bidirectional",+        "description": "Port D bit 7; default alternate function top-level external interrupt (TLI) on dedicated vector; AFR4 remap to TIM1_CH4 is reserved on 32-pin package and must be kept 0; O1 output speed."+      }+    ],+    "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-4-6",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 117,+        "cost_usd": 1.36,+        "at": "2026-09-26T22:35:03"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588899450232586240",+        "pages": 117,+        "sha256": "7adeaa849cf9e22f",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 32,+        "described": 32,+        "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