← Commit history

Initial commit: component/stc8g1k08a-36i-sop8

Ray ·87034ab987 ·
2 files changed +83
README.mdadded+49
@@ -0,0 +1,49 @@+# STC8G1K08A-36I-SOP8++**STC Micro** · Microcontrollers (MCU/MPU/SOC) · SOP-8++STC8G1K08A-36I-SOP8 from STC Micro, in a SOP-8. 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 | P5.4/nRST/MCLKO/INT2/T0/T1CLKO/RxD_3/MOSI/SCL_2/ADC4/CCP2/CCP2_2 | bidirectional | Standard GPIO P5.4. Alternate functions: nRST (active-low external reset input), MCLKO (master clock divided output), INT2 (external interrupt 2), T0 (timer-0 external clock input), T1CLKO (timer-1 divided clock output), UART1 RxD_3, SPI MOSI, I2C SCL_2, ADC4 analog input, and PCA CCP2/CCP2_2 capture/compare/PWM. When configured as the reset pin an internal 4k pull-up is permanently enabled; when configured as a normal IO the internal 4k pull-up is asserted for ~6.5 ms after power-up before being released. |+| 2 | VCC/AVCC | power_in | Main digital supply (VCC) and ADC analog supply (AVCC) combined on this pin. Place a 10 µF bulk and 0.1 µF decoupling capacitor between VCC and GND close to the device. |+| 3 | P5.5/INT3/T1/T0CLKO/TxD_3/SS/SDA_2/ADC5/ECI/ECI_2/CCP2_3 | bidirectional | Standard GPIO P5.5. Alternate functions: INT3 (external interrupt 3), T1 (timer-1 external clock input), T0CLKO (timer-0 divided clock output), UART1 TxD_3, SPI SS (slave select input, output when master), I2C SDA_2, ADC5 analog input, PCA ECI/ECI_2 external pulse input, and PCA CCP2_3 capture/compare/PWM. Powers up in high-impedance input mode. |+| 4 | GND/AGND | power_in | Combined digital ground (GND) and ADC analog ground (AGND) return. |+| 5 | P3.0/RxD/INT4/ADC0 | bidirectional | Standard GPIO P3.0. Alternate functions: UART1 RxD receive input, INT4 external interrupt 4, and ADC0 analog input. Powers up in weak pull-up / quasi-bidirectional mode. Do not hold P3.0, P3.1 and P3.2 low simultaneously at power-up unless entering the USB-ISP download mode. |+| 6 | P3.1/TxD/ADC1/ECI_3/CCP0_2 | bidirectional | Standard GPIO P3.1. Alternate functions: UART1 TxD transmit output, ADC1 analog input, PCA ECI_3 external pulse input, and PCA CCP0_2 capture/compare/PWM. Powers up in weak pull-up / quasi-bidirectional mode. |+| 7 | P3.2/INT0/SCLK/SCL/RxD_2/ADC2/CCP0/CCP0_3 | bidirectional | Standard GPIO P3.2. Alternate functions: INT0 external interrupt 0, SPI SCLK clock, I2C SCL clock, UART1 RxD_2, ADC2 analog input, and PCA CCP0/CCP0_3 capture/compare/PWM. Powers up in high-impedance input mode. Momentarily switches to quasi-bidirectional at power-up when P3.0 and P3.1 are both low, so the boot ROM can sample it for the USB-ISP entry decision. |+| 8 | P3.3/INT1/MISO/SDA/TxD_2/ADC3/CCP1/CCP1_2/CCP1_3 | bidirectional | Standard GPIO P3.3. Alternate functions: INT1 external interrupt 1, SPI MISO, I2C SDA data line, UART1 TxD_2, ADC3 analog input, and PCA CCP1/CCP1_2/CCP1_3 capture/compare/PWM. Powers up in high-impedance input mode. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STC Micro |+| Package | SOP-8 |+| Category | MCU |+| Pins | 8 |++## Ordering variants++- `STC8G1K08A-36I-SOP8`+- `STC8G1K08A-36I-SOP8STC8G1K08A-36I-DFN8`+- `STC8G1K08A-36I-SOP8STC8G1K08A-36I-DIP8`++## CAD (KiCad official)++- Symbol: `STC8G1K08A-36I-SOP8`+- Footprint: `Package_SO:SOIC-8_3.9x4.9mm_P1.27mm`+- 3D model: SOP-8 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STC Micro datasheet](docs/stc8g1k08a-36i-sop8-datasheet.pdf) (1240 pp, sha256 `7d5e82c9f651aa92`, retrieved 2026-08-17, tier: lcsc)+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/stc8g1k08a-36i-sop8-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "stc8g1k08a-36i-sop8",+  "version": "0.1.0",+  "type": "component",+  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-8. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "mcu",+    "stc8g1k08a-36i-sop8"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stc8g1k08a-36i-sop8.kicad_sym",+    "stc8g1k08a-36i-sop8.kicad_mod",+    "stc8g1k08a-36i-sop8.glb",+    "stc8g1k08a-36i-sop8.step",+    "stc8g1k08a-36i-sop8.lbr",+    "docs/hero.png",+    "docs/stc8g1k08a-36i-sop8-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file