main
Ray Publish 0.1.0 80d273a 2d ago
{
  "slug": "ch559t",
  "version": "0.1.0",
  "type": "component",
  "description": "WCH(Jiangsu Qin Heng) Microcontroller Units (MCUs/MPUs/SOCs), SSOP-20-208mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ch559t",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ch559t.kicad_sym",
    "ch559t.kicad_mod",
    "ch559t.glb",
    "ch559t.step",
    "ch559t.lbr",
    "docs/hero.png",
    "docs/ch559t-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ch559t-hero.glb",
    "ch559t-hero.overlay.json",
    "ch559t-etched.glb"
  ],
  "component": {
    "mpn": "CH559T",
    "manufacturer": "WCH(Jiangsu Qin Heng)",
    "package": "SSOP-20-208mil",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/c41a4fde9a2fbe6af689fa0ceae309cc.pdf",
    "parts": {
      "symbol": "ch559t.kicad_sym",
      "footprint": "ch559t.kicad_mod",
      "model_3d": "ch559t-hero.glb",
      "model_3d_plain": "ch559t-etched.glb",
      "model_3d_step": "ch559t-etched.step",
      "model_3d_step_plain": "ch559t.step",
      "lbr": "ch559t.lbr"
    },
    "distributor_links": {
      "lcsc": "C85215"
    },
    "distributor_check": {
      "checked_at": "2026-10-24T00:07:31Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.2/AIN2/PWM3/CAP3",
        "type": "bidirectional",
        "description": "P1.2 GPIO with ADC analog input AIN2 and Timer3 PWM3 output/CAP3 capture input (selectable to P4.2 by bTMR3_PIN_X)."
      },
      {
        "number": "2",
        "name": "P1.4/AIN4/SCS",
        "type": "bidirectional",
        "description": "P1.4 GPIO with ADC analog input AIN4 and SPI0 chip-select input SCS."
      },
      {
        "number": "3",
        "name": "P1.5/AIN5/MOSI",
        "type": "bidirectional",
        "description": "P1.5 GPIO with ADC analog input AIN5 and SPI0 MOSI (master output/slave input)."
      },
      {
        "number": "4",
        "name": "P1.6/AIN6/MISO",
        "type": "bidirectional",
        "description": "P1.6 GPIO with ADC analog input AIN6 and SPI0 MISO (master input/slave output)."
      },
      {
        "number": "5",
        "name": "P1.7/AIN7/SCK",
        "type": "bidirectional",
        "description": "P1.7 GPIO with ADC analog input AIN7 and SPI0 serial clock SCK."
      },
      {
        "number": "6",
        "name": "P5.7/RST",
        "type": "input",
        "description": "P5.7 state input pin that serves as the configurable external reset input RST."
      },
      {
        "number": "7",
        "name": "P3.2/LED0/INT0",
        "type": "bidirectional",
        "description": "P3.2 GPIO with LED data0 output and external interrupt 0 input INT0."
      },
      {
        "number": "8",
        "name": "P3.4/LEDC/T0",
        "type": "bidirectional",
        "description": "P3.4 GPIO with LED clock output LEDC and Timer0 external input T0."
      },
      {
        "number": "9",
        "name": "P4.6/XI/SCS_",
        "type": "bidirectional",
        "description": "P4.6 GPIO with crystal oscillator input XI and mapped SPI0 chip select SCS_."
      },
      {
        "number": "10",
        "name": "P4.7/XO/SCK_",
        "type": "bidirectional",
        "description": "P4.7 GPIO with crystal oscillator output XO and mapped SPI0 clock SCK_."
      },
      {
        "number": "11",
        "name": "P2.5/TNOW/PWM2/T2EX_/CAP2_",
        "type": "bidirectional",
        "description": "P2.5 GPIO with UART1 transmit indicator TNOW, PWM2 output and mapped T2EX_/CAP2_ inputs."
      },
      {
        "number": "12",
        "name": "P2.6/RXD1",
        "type": "bidirectional",
        "description": "P2.6 GPIO with UART1 serial data input RXD1."
      },
      {
        "number": "13",
        "name": "P2.7/TXD1",
        "type": "bidirectional",
        "description": "P2.7 GPIO with UART1 serial data output TXD1."
      },
      {
        "number": "14",
        "name": "P5.1/DP",
        "type": "bidirectional",
        "description": "P5.1 pin used as USB D+ (DP) signal with controllable internal pull-down resistor."
      },
      {
        "number": "15",
        "name": "P5.0/DM",
        "type": "bidirectional",
        "description": "P5.0 pin used as USB D- (DM) signal with controllable internal pull-down resistor."
      },
      {
        "number": "16",
        "name": "P0.3/TXD_",
        "type": "bidirectional",
        "description": "P0.3 open-drain bidirectional port pin (optional internal pull-up) with mapped UART0 TXD_."
      },
      {
        "number": "17",
        "name": "P0.2/RXD_",
        "type": "bidirectional",
        "description": "P0.2 open-drain bidirectional port pin (optional internal pull-up) with mapped UART0 RXD_."
      },
      {
        "number": "18",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "19",
        "name": "VIN5",
        "type": "power_in",
        "description": "5V external power input of the internal 5V->3.3V LDO; requires an external 0.1uF decoupling capacitor, and is connected to the supply when it is below 3.6V."
      },
      {
        "number": "20",
        "name": "VDD33",
        "type": "power_in",
        "description": "Internal voltage regulator output and 3.3V working power input; an external 3.3uF decoupling capacitor is required when supply is greater than 3.6V."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Datasheet describes package as SSOP-20 5.30mm / 209mil, while the hint says 208mil; pinout is the sa; P5.x pin descriptions (RST, DP, DM) are on pages not provided; types and descriptions are inferred f"
        ],
        "pages_sent": 20,
        "cost_usd": 0.2169,
        "at": "2026-10-24T00:07:01"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/c41a4fde9a2fbe6af689fa0ceae309cc.pdf",
        "pages": 93,
        "sha256": "f3f1d22954ee4bb3",
        "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"
    },
    "models_3d": [
      {
        "file": "ch559t.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.8,
          7.2,
          2.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c9a01a276d0b4d9561efd58f2fcee56f52c1b6ab464ea7a0380cab4e87a924e6",
        "checked": "2026-10-24",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ch559t-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.8,
          7.2,
          2.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ae19bec3e9f1a9a0272999513556773d3e21b21262c2cf56c29e4ef6582bb69b",
        "checked": "2026-10-24",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}