← Commit history

Initial commit: component/stc8g1k08-38i-sop16

Ray ·5d3e3c09b9 ·
2 files changed +92
README.mdadded+58
@@ -0,0 +1,58 @@+# STC8G1K08-38I-SOP16++**STC Micro** · Microcontrollers (MCU/MPU/SOC) · SOP-16++STC8G1K08-38I-SOP16 from STC Micro, in a SOP-16. 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 | P1.0/RxD2/CCP1/ADC0 | bidirectional | Standard I/O port P1.0. Muxed: UART2 receive (RxD2), PCA CCP1 capture/compare/PWM, ADC channel 0 analog input. On power-up P1.0 defaults to high-impedance input. |+| 2 | P1.1/TxD2/CCP0/ADC1 | bidirectional | Standard I/O port P1.1. Muxed: UART2 transmit (TxD2), PCA CCP0 capture/compare/PWM, ADC channel 1 analog input. |+| 3 | P1.6/XTALO/MCLKO_2/RxD_3/ADC6 | bidirectional | Standard I/O port P1.6. Muxed: external crystal oscillator output XTALO, master clock divided output MCLKO_2, UART1 alternate receive RxD_3, ADC channel 6 analog input. |+| 4 | P1.7/XTALI/TxD_3/ADC7 | bidirectional | Standard I/O port P1.7. Muxed: external crystal oscillator input XTALI, UART1 alternate transmit TxD_3, ADC channel 7 analog input. |+| 5 | P5.4/nRST/MCLKO | bidirectional | Standard I/O port P5.4. Muxed with active-low reset input nRST (RSTCFG configures reset function) and master-clock output MCLKO. When configured as nRST, an internal 4K pull-up remains enabled; when used as GPIO, the 4K pull-up stays on for ~6.5 ms at power-up before auto-disabling. |+| 6 | VCC/AVCC/ADC_VRef+ | power_in | Main digital supply, analog supply, and ADC positive reference. Operating voltage range for the -38I speed grade per datasheet electricals. If external ADC reference is used, ADC_VRef+ must be tied to a valid reference (2.4 V to VCC); do not leak. |+| 7 | P5.5 | bidirectional | Standard I/O port P5.5. No alternate functions listed for this pin. |+| 8 | GND/AGND | power_in | Digital and analog ground return. |+| 9 | P3.0/RxD/ADC8/INT4 | bidirectional | Standard I/O port P3.0. Muxed: UART1 receive (RxD), ADC channel 8 analog input, external interrupt INT4. Powers up in weak pull-up quasi-bidirectional mode. |+| 10 | P3.1/TxD/ADC9 | bidirectional | Standard I/O port P3.1. Muxed: UART1 transmit (TxD), ADC channel 9 analog input. Powers up in weak pull-up quasi-bidirectional mode. |+| 11 | P3.2/INT0/ADC10/SCL_4/SCLK_4 | bidirectional | Standard I/O port P3.2. Muxed: external interrupt INT0, ADC channel 10, I2C alternate clock SCL_4, SPI alternate clock SCLK_4. |+| 12 | P3.3/INT1/ADC11/SDA_4/MISO_4 | bidirectional | Standard I/O port P3.3. Muxed: external interrupt INT1, ADC channel 11, I2C alternate data SDA_4, SPI alternate MISO_4. |+| 13 | P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4 | bidirectional | Standard I/O port P3.4. Muxed: Timer 0 external clock (T0), Timer 1 clock output (T1CLKO), ADC channel 12, PCA alternate external pulse input ECI_2, analog comparator output CMPO, SPI alternate MOSI_4. |+| 14 | P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4 | bidirectional | Standard I/O port P3.5. Muxed: Timer 1 external clock (T1), Timer 0 clock output (T0CLKO), ADC channel 13, PCA alternate CCP0_2 capture/compare/PWM, SPI alternate slave-select SS_4. |+| 15 | P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP- | bidirectional | Standard I/O port P3.6. Muxed: external interrupt INT2, UART1 alternate receive RxD_2, ADC channel 14, PCA alternate CCP1_2 capture/compare/PWM, analog comparator negative input CMP-. |+| 16 | P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+ | bidirectional | Standard I/O port P3.7. Muxed: external interrupt INT3, UART1 alternate transmit TxD_2, PCA CCP2 and alternate CCP2_2 capture/compare/PWM, analog comparator positive input CMP+. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STC Micro |+| Package | SOP-16 |+| Category | MCU |+| Pins | 16 |++## Ordering variants++- `STC8G1K08-38I-SOP1638I-SOP16`+- `STC8G1K08-38I-SOP1638I-TSSOP20`+- `STC8G1K08-38I-SOP1638I-QFN20`++## CAD (KiCad official)++- Symbol: `STC8G1K08-38I-SOP16`+- Footprint: `Package_SO:SOIC-16_3.9x9.9mm_P1.27mm`+- 3D model: SOP-16 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STC Micro datasheet](docs/stc8g1k08-38i-sop16-datasheet.pdf) (1240 pp, sha256 `7d5e82c9f651aa92`, retrieved 2026-08-17, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **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/stc8g1k08-38i-sop16-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "stc8g1k08-38i-sop16",+  "version": "0.1.0",+  "type": "component",+  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-16. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "mcu",+    "stc8g1k08-38i-sop16"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stc8g1k08-38i-sop16.kicad_sym",+    "stc8g1k08-38i-sop16.kicad_mod",+    "stc8g1k08-38i-sop16.glb",+    "stc8g1k08-38i-sop16.step",+    "stc8g1k08-38i-sop16.lbr",+    "docs/hero.png",+    "docs/stc8g1k08-38i-sop16-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file