main
Ray Publish 0.1.0 dc9df9f 8d ago
{
  "slug": "ht66f3197",
  "version": "0.1.0",
  "type": "component",
  "description": "Holtek Semicon Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ht66f3197",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ht66f3197.kicad_sym",
    "ht66f3197.kicad_mod",
    "ht66f3197.glb",
    "ht66f3197.step",
    "ht66f3197.lbr",
    "docs/hero.png",
    "docs/ht66f3197-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ht66f3197-hero.glb",
    "ht66f3197-hero.overlay.json",
    "ht66f3197-etched.glb"
  ],
  "component": {
    "mpn": "HT66F3197",
    "manufacturer": "Holtek Semicon",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756508665795100672",
    "parts": {
      "symbol": "ht66f3197.kicad_sym",
      "footprint": "ht66f3197.kicad_mod",
      "model_3d": "ht66f3197-hero.glb",
      "model_3d_plain": "ht66f3197-etched.glb",
      "model_3d_step": "ht66f3197-etched.step",
      "model_3d_step_plain": "ht66f3197.step",
      "lbr": "ht66f3197.lbr"
    },
    "distributor_links": {
      "lcsc": "C2930567"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T01:42:26Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB1/PTPI/PTP",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with PTM capture input (PTPI) and PTM output (PTP)."
      },
      {
        "number": "2",
        "name": "PB2/PTCK/PTPB",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with PTM clock input (PTCK) and PTM inverted output (PTPB)."
      },
      {
        "number": "3",
        "name": "PB3/CTP",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with CTM output (CTP)."
      },
      {
        "number": "4",
        "name": "PB4/CTCK/CTPB",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with CTM clock input (CTCK) and CTM inverted output (CTPB)."
      },
      {
        "number": "5",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive power supply; operating range 1.8V to 5.5V depending on system clock frequency."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "8",
        "name": "PB6/OSC1",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with HXT oscillator pin OSC1."
      },
      {
        "number": "9",
        "name": "PB7/OSC2",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with HXT oscillator pin OSC2."
      },
      {
        "number": "10",
        "name": "PA5/SCK/SCL",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with SPI serial clock (SCK) and I2C clock line (SCL)."
      },
      {
        "number": "11",
        "name": "PA1/INT0/SCS",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with external interrupt 0 (INT0) and SPI slave select (SCS)."
      },
      {
        "number": "12",
        "name": "PA2/ICPCK/OCDSCK",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with ICP clock (ICPCK) and OCDS clock (OCDSCK, EV chip only)."
      },
      {
        "number": "13",
        "name": "PA3/INT1/SDO",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with external interrupt 1 (INT1) and SPI data output (SDO)."
      },
      {
        "number": "14",
        "name": "PA4/SDI/SDA",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with SPI data input (SDI) and I2C data line (SDA)."
      },
      {
        "number": "15",
        "name": "PA0/ICPDA/OCDSDA",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with ICP address/data (ICPDA) and OCDS address/data (OCDSDA, EV chip only)."
      },
      {
        "number": "16",
        "name": "PA6/INT0/RX",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with external interrupt 0 (INT0) and UART RX serial data input."
      },
      {
        "number": "17",
        "name": "PA7/INT1/TX",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high and wake-up, shared with external interrupt 1 (INT1) and UART TX serial data output."
      },
      {
        "number": "18",
        "name": "PE0/STCK/STPB",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with STM clock input (STCK) and STM inverted output (STPB)."
      },
      {
        "number": "19",
        "name": "PE1/STPI/STP",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with STM capture input (STPI) and STM output (STP)."
      },
      {
        "number": "20",
        "name": "PE2/CTCK/CTPB",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with CTM clock input (CTCK) and CTM inverted output (CTPB)."
      },
      {
        "number": "21",
        "name": "PE3/CTP",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with CTM output (CTP)."
      },
      {
        "number": "22",
        "name": "PE4",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high."
      },
      {
        "number": "23",
        "name": "PF0/SCS/SCOM0",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with SPI slave select (SCS) and software controlled LCD common output SCOM0."
      },
      {
        "number": "24",
        "name": "PF1/SDO/SCOM1",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with SPI data output (SDO) and software controlled LCD common output SCOM1."
      },
      {
        "number": "25",
        "name": "PF2/SDI/SDA/SCOM2",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with SPI data input (SDI), I2C data line (SDA) and SCOM2 LCD common output."
      },
      {
        "number": "26",
        "name": "PF3/SCK/SCL/SCOM3",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with SPI clock (SCK), I2C clock line (SCL) and SCOM3 LCD common output."
      },
      {
        "number": "27",
        "name": "AVDD",
        "type": "power_in",
        "description": "A/D converter power supply."
      },
      {
        "number": "28",
        "name": "PF4/XT2",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with LXT oscillator pin XT2."
      },
      {
        "number": "29",
        "name": "PF5/XT1",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with LXT oscillator pin XT1."
      },
      {
        "number": "30",
        "name": "AVSS",
        "type": "power_in",
        "description": "A/D converter ground."
      },
      {
        "number": "31",
        "name": "PC0/AN0/VREFI",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN0 and A/D converter PGA voltage input VREFI."
      },
      {
        "number": "32",
        "name": "PC1/AN1/CMPO/VREF",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN1, comparator output CMPO and A/D reference voltage input VREF."
      },
      {
        "number": "33",
        "name": "PC2/PTPI/PTP/AN2",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with PTM capture input (PTPI), PTM output (PTP) and A/D analog input AN2."
      },
      {
        "number": "34",
        "name": "PC3/PTCK/PTPB/AN3",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with PTM clock input (PTCK), PTM inverted output (PTPB) and A/D analog input AN3."
      },
      {
        "number": "35",
        "name": "PC4/AN4",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN4."
      },
      {
        "number": "36",
        "name": "PC5/AN5",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN5."
      },
      {
        "number": "37",
        "name": "PC6/STPI/STP/AN6",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with STM capture input (STPI), STM output (STP) and A/D analog input AN6."
      },
      {
        "number": "38",
        "name": "PC7/STCK/STPB/AN7",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with STM clock input (STCK), STM inverted output (STPB) and A/D analog input AN7."
      },
      {
        "number": "39",
        "name": "PD0/AN8",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN8."
      },
      {
        "number": "40",
        "name": "PD1/AN9",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN9."
      },
      {
        "number": "41",
        "name": "PD2/AN10",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN10."
      },
      {
        "number": "42",
        "name": "PD3/AN11",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN11."
      },
      {
        "number": "43",
        "name": "PD4/AN12",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN12."
      },
      {
        "number": "44",
        "name": "PD5/AN13",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN13."
      },
      {
        "number": "45",
        "name": "PD6/AN14",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN14."
      },
      {
        "number": "46",
        "name": "PF6/AN15/C-",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with A/D analog input AN15 and comparator negative input C-."
      },
      {
        "number": "47",
        "name": "PF7/C+",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with comparator positive input C+."
      },
      {
        "number": "48",
        "name": "PB0/CX",
        "type": "bidirectional",
        "description": "General purpose I/O with register-enabled pull-high, shared with comparator output (CX)."
      }
    ],
    "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+vision",
        "consensus_model": "claude-opus-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The pin drawing is labelled '48 LQFP-A' and the datasheet text does not state the 7x7 body size. The; Pin 48 is listed as comparator output 'CX' in the pin table, but the PBS0 register description names; OCDSDA and OCDSCK on pins 15 and 12 are used only on the HT66V3197 EV device, not on the HT66F3197.",
          "vision extraction: provenance cannot be text-verified; needs consensus"
        ],
        "pages_sent": 32,
        "cost_usd": 1.1473,
        "at": "2026-10-19T01:42:05"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756508665795100672",
        "pages": 210,
        "sha256": "f27a5db1de7ef68e",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "ht66f3197.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ht66f3197-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "bac4ee69fbdb038ddc683c87c34b065d4195cdc5e7a66d0587e35dfaae2c8501",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}