main
Ray Set visibility: public c57b30e 6d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
{
  "schema_version": 1,
  "type": "component",
  "slug": "pic18f6622-i",
  "title": "PIC18F6622-I",
  "brief": "Microchip Tech Microcontrollers (MCU/MPU/SOC), TQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic18f6622-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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,
          12,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 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,
          12,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "6e34814b645d6a64fa44b0e58b5445c873f8e7d6dc6d91989e31a852b618318c",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "TQFP-64(10x10)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "64"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "3c49d4b5c2f54a31b7836fc584284eb26cce3deaaab3f7c7731bd21da268ec63",
      "rows": [
        {
          "name": "Operating frequency",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": null,
          "typ": null,
          "max": 40,
          "conditions": "Printed as DC – 40 MHz (Table 1-1)",
          "source_page": 9,
          "source": "datasheet"
        },
        {
          "name": "RC oscillator external resistor",
          "symbol": "REXT",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": 3,
          "typ": null,
          "max": 100,
          "conditions": "RC and RCIO oscillator modes, recommended value",
          "source_page": 35,
          "source": "datasheet"
        },
        {
          "name": "RC oscillator external capacitor",
          "symbol": "CEXT",
          "kind": "recommended_operating",
          "unit": "pF",
          "min": 20,
          "typ": null,
          "max": 300,
          "conditions": "RC and RCIO oscillator modes, recommended value",
          "source_page": 35,
          "source": "datasheet"
        },
        {
          "name": "MCLR pull-up resistor for POR",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": 1,
          "typ": null,
          "max": 10,
          "conditions": "MCLR tied to VDD through resistor to eliminate external POR RC components",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "External POR circuit resistor",
          "symbol": "R",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": null,
          "typ": null,
          "max": 40,
          "conditions": "Slow VDD power-up external POR circuit; recommended so voltage drop does not violate electrical specification",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "Maximum recommended analog source impedance",
          "symbol": "RS",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": null,
          "typ": null,
          "max": 2.5,
          "conditions": "A/D analog input source, recommended maximum",
          "source_page": 276,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "pic18f6622-i"
  ],
  "discovery_pitch": "PIC18F6622-I (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "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"
  ],
  "visibility": {
    "public": true
  }
}