main
Ray Publish 0.1.0 6038089 6d ago
{
  "slug": "pic18f6622-i",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), TQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic18f6622-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f6622-i.kicad_sym",
    "pic18f6622-i.kicad_mod",
    "pic18f6622-i.glb",
    "pic18f6622-i.step",
    "pic18f6622-i.lbr",
    "docs/hero.png",
    "docs/pic18f6622-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f6622-i-hero.glb",
    "pic18f6622-i-hero.overlay.json",
    "pic18f6622-i-etched.glb"
  ],
  "component": {
    "mpn": "PIC18F6622-I",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586183817224179712",
    "parts": {
      "symbol": "pic18f6622-i.kicad_sym",
      "footprint": "pic18f6622-i.kicad_mod",
      "model_3d": "pic18f6622-i-hero.glb",
      "model_3d_plain": "pic18f6622-i-etched.glb",
      "model_3d_step": "pic18f6622-i-etched.step",
      "model_3d_step_plain": "pic18f6622-i.step",
      "lbr": "pic18f6622-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C219150"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T17:39:22Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RE1/WR/P2C",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port write control input (WR) and ECCP2 Enhanced PWM output C."
      },
      {
        "number": "2",
        "name": "RE0/RD/P2D",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port read control input (RD) and ECCP2 Enhanced PWM output D."
      },
      {
        "number": "3",
        "name": "RG0/ECCP3/P3A",
        "type": "bidirectional",
        "description": "Digital I/O; Enhanced Capture 3 input/Compare 3 output/PWM 3 output (ECCP3) and ECCP3 PWM output A (P3A)."
      },
      {
        "number": "4",
        "name": "RG1/TX2/CK2",
        "type": "bidirectional",
        "description": "Digital I/O; EUSART2 asynchronous transmit (TX2) and EUSART2 synchronous clock (CK2)."
      },
      {
        "number": "5",
        "name": "RG2/RX2/DT2",
        "type": "bidirectional",
        "description": "Digital I/O; EUSART2 asynchronous receive (RX2) and EUSART2 synchronous data (DT2)."
      },
      {
        "number": "6",
        "name": "RG3/CCP4/P3D",
        "type": "bidirectional",
        "description": "Digital I/O; CCP4 capture input/compare output/PWM output and ECCP3 PWM output D (P3D)."
      },
      {
        "number": "7",
        "name": "RG5/MCLR/VPP",
        "type": "input",
        "description": "Active-low Master Clear (Reset) input when MCLRE is set; otherwise a digital input only, and the programming voltage input (VPP) for ICSP mode entry."
      },
      {
        "number": "8",
        "name": "RG4/CCP5/P1D",
        "type": "bidirectional",
        "description": "Digital I/O; CCP5 capture input/compare output/PWM output and ECCP1 PWM output D (P1D)."
      },
      {
        "number": "9",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "10",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "11",
        "name": "RF7/SS1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); SPI slave select input for MSSP1 (TTL input)."
      },
      {
        "number": "12",
        "name": "RF6/AN11",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 11 for the A/D converter and Comparator C1- input."
      },
      {
        "number": "13",
        "name": "RF5/AN10/CVREF",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 10 for the A/D converter and Comparator C1+ input, with comparator voltage reference output CVREF."
      },
      {
        "number": "14",
        "name": "RF4/AN9",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 9 for the A/D converter and Comparator C2- input."
      },
      {
        "number": "15",
        "name": "RF3/AN8",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 8 for the A/D converter and Comparator C2+ input."
      },
      {
        "number": "16",
        "name": "RF2/AN7/C1OUT",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 7 for the A/D converter and Comparator 1 output (C1OUT)."
      },
      {
        "number": "17",
        "name": "RF1/AN6/C2OUT",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 6 for the A/D converter and Comparator 2 output (C2OUT)."
      },
      {
        "number": "18",
        "name": "RF0/AN5",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 5 for the A/D converter."
      },
      {
        "number": "19",
        "name": "AVDD",
        "type": "power_in",
        "description": "Positive supply for analog modules."
      },
      {
        "number": "20",
        "name": "AVSS",
        "type": "power_in",
        "description": "Ground reference for analog modules."
      },
      {
        "number": "21",
        "name": "RA3/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input); analog input 3 and A/D reference voltage (high) input VREF+."
      },
      {
        "number": "22",
        "name": "RA2/AN2/VREF-",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input); analog input 2 and A/D reference voltage (low) input VREF-."
      },
      {
        "number": "23",
        "name": "RA1/AN1",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input); analog input 1 for the A/D converter."
      },
      {
        "number": "24",
        "name": "RA0/AN0",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input); analog input 0 for the A/D converter."
      },
      {
        "number": "25",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "26",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "27",
        "name": "RA5/AN4/HLVDIN",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input); analog input 4 and High/Low-Voltage Detect input (HLVDIN)."
      },
      {
        "number": "28",
        "name": "RA4/T0CKI",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Timer0 external clock input (T0CKI)."
      },
      {
        "number": "29",
        "name": "RC1/T1OSI/ECCP2/P2A",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Timer1 oscillator input (T1OSI) and, by default when CCP2MX is set, ECCP2 capture/compare/PWM pin with ECCP2 PWM output A (P2A)."
      },
      {
        "number": "30",
        "name": "RC0/T1OSO/T13CKI",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Timer1 oscillator output (T1OSO) and Timer1/Timer3 external clock input (T13CKI)."
      },
      {
        "number": "31",
        "name": "RC6/TX1/CK1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); EUSART1 asynchronous transmit (TX1) and EUSART1 synchronous clock (CK1)."
      },
      {
        "number": "32",
        "name": "RC7/RX1/DT1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); EUSART1 asynchronous receive (RX1) and EUSART1 synchronous data (DT1)."
      },
      {
        "number": "33",
        "name": "RC2/ECCP1/P1A",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Enhanced Capture 1 input/Compare 1 output/PWM 1 output (ECCP1) and ECCP1 PWM output A (P1A)."
      },
      {
        "number": "34",
        "name": "RC3/SCK1/SCL1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); MSSP1 synchronous serial clock for SPI mode (SCK1) and I2C mode (SCL1)."
      },
      {
        "number": "35",
        "name": "RC4/SDI1/SDA1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); MSSP1 SPI data input (SDI1) and I2C data I/O (SDA1)."
      },
      {
        "number": "36",
        "name": "RC5/SDO1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); MSSP1 SPI data output (SDO1)."
      },
      {
        "number": "37",
        "name": "RB7/KBI3/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; interrupt-on-change pin KBI3 and In-Circuit Debugger/ICSP programming data pin (PGD)."
      },
      {
        "number": "38",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "39",
        "name": "OSC1/CLKI/RA7",
        "type": "bidirectional",
        "description": "Oscillator crystal or external clock input (OSC1/CLKI); when not used as oscillator, general purpose I/O pin RA7."
      },
      {
        "number": "40",
        "name": "OSC2/CLKO/RA6",
        "type": "bidirectional",
        "description": "Oscillator crystal output connecting to a crystal or resonator; in RC mode it outputs CLKO (FOSC/4), otherwise general purpose I/O pin RA6."
      },
      {
        "number": "41",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "42",
        "name": "RB6/KBI2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; interrupt-on-change pin KBI2 and In-Circuit Debugger/ICSP programming clock pin (PGC)."
      },
      {
        "number": "43",
        "name": "RB5/KBI1/PGM",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; interrupt-on-change pin KBI1 and Low-Voltage ICSP programming enable pin (PGM)."
      },
      {
        "number": "44",
        "name": "RB4/KBI0",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; interrupt-on-change pin KBI0."
      },
      {
        "number": "45",
        "name": "RB3/INT3",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; external interrupt 3 (INT3)."
      },
      {
        "number": "46",
        "name": "RB2/INT2",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; external interrupt 2 (INT2)."
      },
      {
        "number": "47",
        "name": "RB1/INT1",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; external interrupt 1 (INT1)."
      },
      {
        "number": "48",
        "name": "RB0/INT0/FLT0",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up; external interrupt 0 (INT0) and ECCPx PWM Fault input (FLT0)."
      },
      {
        "number": "49",
        "name": "RD7/PSP7/SS2",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 7 (PSP7) and MSSP2 SPI slave select input (SS2)."
      },
      {
        "number": "50",
        "name": "RD6/PSP6/SCK2/SCL2",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 6 (PSP6), MSSP2 SPI clock (SCK2) and I2C clock (SCL2)."
      },
      {
        "number": "51",
        "name": "RD5/PSP5/SDI2/SDA2",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 5 (PSP5), MSSP2 SPI data input (SDI2) and I2C data (SDA2)."
      },
      {
        "number": "52",
        "name": "RD4/PSP4/SDO2",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 4 (PSP4) and MSSP2 SPI data output (SDO2)."
      },
      {
        "number": "53",
        "name": "RD3/PSP3",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 3 (PSP3)."
      },
      {
        "number": "54",
        "name": "RD2/PSP2",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 2 (PSP2)."
      },
      {
        "number": "55",
        "name": "RD1/PSP1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 1 (PSP1)."
      },
      {
        "number": "56",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "57",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "58",
        "name": "RD0/PSP0",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port data bit 0 (PSP0)."
      },
      {
        "number": "59",
        "name": "RE7/ECCP2/P2A",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); alternate ECCP2 capture/compare/PWM pin with ECCP2 PWM output A (P2A) when CCP2MX is cleared."
      },
      {
        "number": "60",
        "name": "RE6/P1B",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); ECCP1 Enhanced PWM output channel B (P1B)."
      },
      {
        "number": "61",
        "name": "RE5/P1C",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); ECCP1 Enhanced PWM output channel C (P1C)."
      },
      {
        "number": "62",
        "name": "RE4/P3B",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); ECCP3 Enhanced PWM output channel B (P3B)."
      },
      {
        "number": "63",
        "name": "RE3/P3C",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); ECCP3 Enhanced PWM output channel C (P3C)."
      },
      {
        "number": "64",
        "name": "RE2/CS/P2B",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Parallel Slave Port chip select input (CS) and ECCP2 Enhanced PWM output channel B (P2B)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The supplied text is the PIC18F8722 family datasheet (DS39646C). PIC18F6622 is listed in the family ; Table 1-3 text was extracted with garbled column layout. Pin numbers were matched to pin names by ro; The package dimension 10x10 from the package hint is not stated in the supplied text, which only giv"
        ],
        "pages_sent": 79,
        "cost_usd": 0.4536,
        "at": "2026-10-20T17:37:14"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586183817224179712",
        "pages": 446,
        "sha256": "3c49d4b5c2f54a31",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18f6622-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "60567e81b0770b6c519104183a7a05ba52dddc11146b5fbe21434fbb5801696c",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f6622-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "6e34814b645d6a64fa44b0e58b5445c873f8e7d6dc6d91989e31a852b618318c",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}