component
STM8S005K6T6CTR
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
Also listed as STM8S005K6T6C
← Commit history
README.mdadded+68@@ -0,0 +1,68 @@+# STM8S005K6T6CTR++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM8S005K6T6CTR 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 | input | Reset input pin with internal weak pull-up (30-80 kΩ), slow speed (O1 ≤2 MHz), filtered pulse width ≤75 ns. |+| 2 | PA1/OSCIN | input | Port A bit 1 / high-speed external crystal oscillator input (1-16 MHz) with leakage current ±1 µA. |+| 3 | PA2/OSCOUT | output | Port A bit 2 / high-speed external crystal oscillator output (1-16 MHz), slow speed (O1 ≤2 MHz). |+| 4 | VSS | power_in | Digital ground reference pin, must be connected to external power supply. |+| 5 | VCAP | passive | External capacitor connection (470 nF to 3.3 µF, ESR ≤0.3 Ω, ESL <15 nH) for 1.8 V internal voltage regulator stabilization. |+| 6 | VDD | power_in | Digital power supply pin (2.95-5.5 V), must be connected to external power supply. |+| 7 | VDDIO | power_in | I/O power supply pin (2.95-5.5 V) for input/output port voltage reference. |+| 8 | PF4/AIN12 | bidirectional | Port F bit 4 / analog input channel 12 (0-VDDA), 10-bit ADC conversion, not selectable in scan mode or watchdog. |+| 9 | VDDA | power_in | Analog power supply pin (2.75-VDDA V), must be connected to external power supply for ADC. |+| 10 | VSSA | power_in | Analog ground reference pin for ADC, must be connected to external ground. |+| 11 | PB5/AIN5 | bidirectional | Port B bit 5 / analog input channel 5 (0-VDDA), I2C SDA alternate function (AFR6), slow speed (O1 ≤2 MHz). |+| 12 | PB4/AIN4 | bidirectional | Port B bit 4 / analog input channel 4 (0-VDDA), I2C SCL alternate function (AFR6), slow speed (O1 ≤2 MHz). |+| 13 | PB3/AIN3 | bidirectional | Port B bit 3 / analog input channel 3 (0-VDDA), TIM1 external trigger alternate function (AFR5), slow speed (O1 ≤2 MHz). |+| 14 | PB2/AIN2 | bidirectional | Port B bit 2 / analog input channel 2 (0-VDDA), TIM1 CH3N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz). |+| 15 | PB1/AIN1 | bidirectional | Port B bit 1 / analog input channel 1 (0-VDDA), TIM1 CH2N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz). |+| 16 | PB0/AIN0 | bidirectional | Port B bit 0 / analog input channel 0 (0-VDDA), TIM1 CH1N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz). |+| 17 | PE5/SPI_NSS | bidirectional | Port E bit 5 / SPI master/slave select (NSS) chip select pin, slow speed (O1 ≤2 MHz). |+| 18 | PC1/TIM1_CH1/UART2_CK | bidirectional | Port C bit 1 / TIM1 channel 1 PWM/capture output / UART2 synchronous clock, high sink (16 mA), fast/slow programmable (O3). |+| 19 | PC2/TIM1_CH2 | bidirectional | Port C bit 2 / TIM1 channel 2 PWM/capture output, high sink (16 mA), fast/slow programmable (O3). |+| 20 | PC3/TIM1_CH3 | bidirectional | Port C bit 3 / TIM1 channel 3 PWM/capture output, high sink (16 mA), fast/slow programmable (O3). |+| 21 | PC4/TIM1_CH4 | bidirectional | Port C bit 4 / TIM1 channel 4 PWM/capture output, high sink (16 mA), fast/slow programmable (O3). |+| 22 | PC5/SPI_SCK | bidirectional | Port C bit 5 / SPI clock (SCK) pin, high sink (16 mA), fast/slow programmable (O3). |+| 23 | PC6/SPI_MOSI | bidirectional | Port C bit 6 / SPI master out/slave in (MOSI) data pin, high sink (16 mA), fast/slow programmable (O3). |+| 24 | PC7/SPI_MISO | bidirectional | Port C bit 7 / SPI master in/slave out (MISO) data pin, high sink (16 mA), fast/slow programmable (O3). |+| 25 | PD0/TIM3_CH2 | bidirectional | Port D bit 0 / TIM3 channel 2 PWM/capture, TIM1 break input (AFR3) or configurable clock output (AFR2) alternate functions, high sink, fast/slow programmable (O3). |+| 26 | PD1/SWIM | bidirectional | Port D bit 1 / SWIM single-wire debug/programming interface data pin with internal pull-up after reset, high sink, fast/slow programmable default fast (O4). |+| 27 | PD2/TIM3_CH1 | bidirectional | Port D bit 2 / TIM3 channel 1 PWM/capture output, TIM2 channel 3 alternate function (AFR1), high sink, fast/slow programmable (O3). |+| 28 | PD3/TIM2_CH2 | bidirectional | Port D bit 3 / TIM2 channel 2 PWM/capture output, ADC external trigger alternate function (AFR0), high sink, fast/slow programmable (O3). |+| 29 | PD4/TIM2_CH1 | bidirectional | Port D bit 4 / TIM2 channel 1 PWM/capture output, beeper output alternate function (AFR7) 1-4 kHz, high sink, fast/slow programmable (O3). |+| 30 | PD5/UART2_TX | bidirectional | Port D bit 5 / UART2 data transmit (TX) pin, full duplex 1 Mbit/s SCI communication, slow speed (O1 ≤2 MHz). |+| 31 | PD6/UART2_RX | bidirectional | Port D bit 6 / UART2 data receive (RX) pin, full duplex 1 Mbit/s SCI communication, slow speed (O1 ≤2 MHz). |+| 32 | PD7/TLI | input | Port D bit 7 / top-level external interrupt input pin, TIM1 channel 4 alternate function (AFR4), slow speed (O1 ≤2 MHz). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM8S005K6T6CTR`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm8s005k6t6ctr-etched.step` / `stm8s005k6t6ctr-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8s005k6t6ctr.step` / `stm8s005k6t6ctr.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/8589864427039461376) (100 pp, sha256 `9db816856b93bc4a`, retrieved 2026-09-24, 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/stm8s005k6t6ctr-datasheet.pdf)
page.jsonadded+287@@ -0,0 +1,287 @@+{+ "slug": "stm8s005k6t6ctr",+ "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",+ "stm8s005k6t6ctr",+ "factory-2.0.0",+ "extractor-text"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "stm8s005k6t6ctr.kicad_sym",+ "stm8s005k6t6ctr.kicad_mod",+ "stm8s005k6t6ctr.glb",+ "stm8s005k6t6ctr.step",+ "stm8s005k6t6ctr.lbr",+ "docs/hero.png",+ "docs/stm8s005k6t6ctr-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "component": {+ "mpn": "STM8S005K6T6CTR",+ "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/8589864427039461376",+ "parts": {+ "symbol": "stm8s005k6t6ctr.kicad_sym",+ "footprint": "stm8s005k6t6ctr.kicad_mod",+ "model_3d": "stm8s005k6t6ctr-etched.glb",+ "model_3d_plain": "stm8s005k6t6ctr.glb",+ "model_3d_step": "stm8s005k6t6ctr-etched.step",+ "model_3d_step_plain": "stm8s005k6t6ctr.step",+ "lbr": "stm8s005k6t6ctr.lbr"+ },+ "distributor_links": {+ "lcsc": "C967653"+ },+ "pins": [+ {+ "number": "1",+ "name": "NRST",+ "type": "input",+ "description": "Reset input pin with internal weak pull-up (30-80 kΩ), slow speed (O1 ≤2 MHz), filtered pulse width ≤75 ns."+ },+ {+ "number": "2",+ "name": "PA1/OSCIN",+ "type": "input",+ "description": "Port A bit 1 / high-speed external crystal oscillator input (1-16 MHz) with leakage current ±1 µA."+ },+ {+ "number": "3",+ "name": "PA2/OSCOUT",+ "type": "output",+ "description": "Port A bit 2 / high-speed external crystal oscillator output (1-16 MHz), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "4",+ "name": "VSS",+ "type": "power_in",+ "description": "Digital ground reference pin, must be connected to external power supply."+ },+ {+ "number": "5",+ "name": "VCAP",+ "type": "passive",+ "description": "External capacitor connection (470 nF to 3.3 µF, ESR ≤0.3 Ω, ESL <15 nH) for 1.8 V internal voltage regulator stabilization."+ },+ {+ "number": "6",+ "name": "VDD",+ "type": "power_in",+ "description": "Digital power supply pin (2.95-5.5 V), must be connected to external power supply."+ },+ {+ "number": "7",+ "name": "VDDIO",+ "type": "power_in",+ "description": "I/O power supply pin (2.95-5.5 V) for input/output port voltage reference."+ },+ {+ "number": "8",+ "name": "PF4/AIN12",+ "type": "bidirectional",+ "description": "Port F bit 4 / analog input channel 12 (0-VDDA), 10-bit ADC conversion, not selectable in scan mode or watchdog."+ },+ {+ "number": "9",+ "name": "VDDA",+ "type": "power_in",+ "description": "Analog power supply pin (2.75-VDDA V), must be connected to external power supply for ADC."+ },+ {+ "number": "10",+ "name": "VSSA",+ "type": "power_in",+ "description": "Analog ground reference pin for ADC, must be connected to external ground."+ },+ {+ "number": "11",+ "name": "PB5/AIN5",+ "type": "bidirectional",+ "description": "Port B bit 5 / analog input channel 5 (0-VDDA), I2C SDA alternate function (AFR6), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "12",+ "name": "PB4/AIN4",+ "type": "bidirectional",+ "description": "Port B bit 4 / analog input channel 4 (0-VDDA), I2C SCL alternate function (AFR6), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "13",+ "name": "PB3/AIN3",+ "type": "bidirectional",+ "description": "Port B bit 3 / analog input channel 3 (0-VDDA), TIM1 external trigger alternate function (AFR5), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "14",+ "name": "PB2/AIN2",+ "type": "bidirectional",+ "description": "Port B bit 2 / analog input channel 2 (0-VDDA), TIM1 CH3N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "15",+ "name": "PB1/AIN1",+ "type": "bidirectional",+ "description": "Port B bit 1 / analog input channel 1 (0-VDDA), TIM1 CH2N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "16",+ "name": "PB0/AIN0",+ "type": "bidirectional",+ "description": "Port B bit 0 / analog input channel 0 (0-VDDA), TIM1 CH1N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "17",+ "name": "PE5/SPI_NSS",+ "type": "bidirectional",+ "description": "Port E bit 5 / SPI master/slave select (NSS) chip select pin, slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "18",+ "name": "PC1/TIM1_CH1/UART2_CK",+ "type": "bidirectional",+ "description": "Port C bit 1 / TIM1 channel 1 PWM/capture output / UART2 synchronous clock, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "19",+ "name": "PC2/TIM1_CH2",+ "type": "bidirectional",+ "description": "Port C bit 2 / TIM1 channel 2 PWM/capture output, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "20",+ "name": "PC3/TIM1_CH3",+ "type": "bidirectional",+ "description": "Port C bit 3 / TIM1 channel 3 PWM/capture output, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "21",+ "name": "PC4/TIM1_CH4",+ "type": "bidirectional",+ "description": "Port C bit 4 / TIM1 channel 4 PWM/capture output, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "22",+ "name": "PC5/SPI_SCK",+ "type": "bidirectional",+ "description": "Port C bit 5 / SPI clock (SCK) pin, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "23",+ "name": "PC6/SPI_MOSI",+ "type": "bidirectional",+ "description": "Port C bit 6 / SPI master out/slave in (MOSI) data pin, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "24",+ "name": "PC7/SPI_MISO",+ "type": "bidirectional",+ "description": "Port C bit 7 / SPI master in/slave out (MISO) data pin, high sink (16 mA), fast/slow programmable (O3)."+ },+ {+ "number": "25",+ "name": "PD0/TIM3_CH2",+ "type": "bidirectional",+ "description": "Port D bit 0 / TIM3 channel 2 PWM/capture, TIM1 break input (AFR3) or configurable clock output (AFR2) alternate functions, high sink, fast/slow programmable (O3)."+ },+ {+ "number": "26",+ "name": "PD1/SWIM",+ "type": "bidirectional",+ "description": "Port D bit 1 / SWIM single-wire debug/programming interface data pin with internal pull-up after reset, high sink, fast/slow programmable default fast (O4)."+ },+ {+ "number": "27",+ "name": "PD2/TIM3_CH1",+ "type": "bidirectional",+ "description": "Port D bit 2 / TIM3 channel 1 PWM/capture output, TIM2 channel 3 alternate function (AFR1), high sink, fast/slow programmable (O3)."+ },+ {+ "number": "28",+ "name": "PD3/TIM2_CH2",+ "type": "bidirectional",+ "description": "Port D bit 3 / TIM2 channel 2 PWM/capture output, ADC external trigger alternate function (AFR0), high sink, fast/slow programmable (O3)."+ },+ {+ "number": "29",+ "name": "PD4/TIM2_CH1",+ "type": "bidirectional",+ "description": "Port D bit 4 / TIM2 channel 1 PWM/capture output, beeper output alternate function (AFR7) 1-4 kHz, high sink, fast/slow programmable (O3)."+ },+ {+ "number": "30",+ "name": "PD5/UART2_TX",+ "type": "bidirectional",+ "description": "Port D bit 5 / UART2 data transmit (TX) pin, full duplex 1 Mbit/s SCI communication, slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "31",+ "name": "PD6/UART2_RX",+ "type": "bidirectional",+ "description": "Port D bit 6 / UART2 data receive (RX) pin, full duplex 1 Mbit/s SCI communication, slow speed (O1 ≤2 MHz)."+ },+ {+ "number": "32",+ "name": "PD7/TLI",+ "type": "input",+ "description": "Port D bit 7 / top-level external interrupt input pin, TIM1 channel 4 alternate function (AFR4), slow speed (O1 ≤2 MHz)."+ }+ ],+ "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": [+ "extractor flagged: GPIO pins (PA, PB, PC, PD, PE, PF) are classified as bidirectional since they are configurable as in; PD5/UART2_TX and PD6/UART2_RX could also be classified as output and input respectively when used in"+ ],+ "pages_sent": 100,+ "cost_usd": 0.9117,+ "at": "2026-09-24T08:32:35"+ },+ "datasheet": {+ "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589864427039461376",+ "pages": 100,+ "sha256": "9db816856b93bc4a",+ "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]"+ }+}