main
Ray Set visibility: public 51f1877
{
  "schema_version": 1,
  "type": "component",
  "slug": "pic18lf55k42-i",
  "title": "PIC18LF55K42-I",
  "brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-48(7x7). 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",
    "single chip microcomputer-microcontroller",
    "pic18lf55k42-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "PIC18LF55K42-I",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-48(7x7)",
    "pin_count": 48,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/12651fa5002536ca4e121d6f274ef789.pdf",
    "parts": {
      "symbol": "pic18lf55k42-i.kicad_sym",
      "footprint": "pic18lf55k42-i.kicad_mod",
      "model_3d": "pic18lf55k42-i-hero.glb",
      "model_3d_plain": "pic18lf55k42-i-etched.glb",
      "model_3d_step": "pic18lf55k42-i-etched.step",
      "model_3d_step_plain": "pic18lf55k42-i.step",
      "lbr": "pic18lf55k42-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C633754"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T13:48:39Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RC7",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC7, PPS-remappable RX1 input, and interrupt-on-change IOCC7."
      },
      {
        "number": "2",
        "name": "RD4",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND4."
      },
      {
        "number": "3",
        "name": "RD5",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND5."
      },
      {
        "number": "4",
        "name": "RD6",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND6."
      },
      {
        "number": "5",
        "name": "RD7",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND7."
      },
      {
        "number": "6",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference pin; all VSS pins must be connected at the circuit board level, as floating VSS or VDD pins may degrade electrical performance or cause non-functionality."
      },
      {
        "number": "7",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply pin; all VDD pins must be connected at the circuit board level, and the PIC18LF operating range is 1.8V to 3.6V."
      },
      {
        "number": "8",
        "name": "RB0",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB0, comparator input C2IN1+, zero-cross detect ZCD, PPS-remappable CCP4, CWG1IN and INT0 inputs, and interrupt-on-change IOCB0."
      },
      {
        "number": "9",
        "name": "RB1",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB1, comparator inputs C1IN3-/C2IN3-, I2C SCL2 (I2C/SMBus logic levels when used with RB1/RB2/RC3/RC4), PPS-remappable CWG2IN and INT1, and interrupt-on-change IOCB1."
      },
      {
        "number": "10",
        "name": "RB2",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB2, I2C SDA2 (I2C/SMBus logic levels when used with RB1/RB2/RC3/RC4), PPS-remappable CWG3IN and INT2, and interrupt-on-change IOCB2."
      },
      {
        "number": "11",
        "name": "RB3",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB3, comparator inputs C1IN2-/C2IN2-, and interrupt-on-change IOCB3."
      },
      {
        "number": "12",
        "name": "RF4",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF4."
      },
      {
        "number": "13",
        "name": "RF5",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF5."
      },
      {
        "number": "14",
        "name": "RF6",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF6."
      },
      {
        "number": "15",
        "name": "RF7",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF7."
      },
      {
        "number": "16",
        "name": "RB4",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB4, ADC acquisition control ADCACT, PPS-remappable T5G input, and interrupt-on-change IOCB4."
      },
      {
        "number": "17",
        "name": "RB5",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB5, PPS-remappable T1G and CCP3 inputs, and interrupt-on-change IOCB5."
      },
      {
        "number": "18",
        "name": "RB6",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB6, PPS-remappable CTS2 and CLCIN2 inputs, interrupt-on-change IOCB6, and in-circuit serial programming clock ICSPCLK."
      },
      {
        "number": "19",
        "name": "RB7",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANB7, DAC1OUT2 output, PPS-remappable RX2, T6IN and CLCIN3 inputs, interrupt-on-change IOCB7, and in-circuit serial programming data ICSPDAT."
      },
      {
        "number": "20",
        "name": "RE3",
        "type": "input",
        "description": "Input-only pin (also MCLR/VPP) with interrupt-on-change IOCE3, where MCLR is the master clear input."
      },
      {
        "number": "21",
        "name": "RA0",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA0, comparator inputs C1IN0-/C2IN0-, PPS-remappable CLCIN0 input, and interrupt-on-change IOCA0."
      },
      {
        "number": "22",
        "name": "RA1",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA1, comparator inputs C1IN1-/C2IN1-, PPS-remappable CLCIN1 input, and interrupt-on-change IOCA1."
      },
      {
        "number": "23",
        "name": "RA2",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA2, VREF- reference input, DAC1OUT1 output, comparator inputs C1IN0+/C2IN0+, and interrupt-on-change IOCA2."
      },
      {
        "number": "24",
        "name": "RA3",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA3, VREF+ reference input, comparator input C1IN1+, PPS-remappable MDCARL input, and interrupt-on-change IOCA3."
      },
      {
        "number": "25",
        "name": "RA4",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA4, PPS-remappable MDCARH and T0CKI inputs, and interrupt-on-change IOCA4."
      },
      {
        "number": "26",
        "name": "RA5",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA5, PPS-remappable SS1 and MDSRC inputs, and interrupt-on-change IOCA5."
      },
      {
        "number": "27",
        "name": "RE0",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANE0."
      },
      {
        "number": "28",
        "name": "RE1",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANE1."
      },
      {
        "number": "29",
        "name": "RE2",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANE2."
      },
      {
        "number": "30",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply pin; all VDD pins must be connected at the circuit board level, and the PIC18LF operating range is 1.8V to 3.6V."
      },
      {
        "number": "31",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference pin; all VSS pins must be connected at the circuit board level, as floating VSS or VDD pins may degrade electrical performance or cause non-functionality."
      },
      {
        "number": "32",
        "name": "RA7",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA7, interrupt-on-change IOCA7, and shared with the OSC1/CLKIN oscillator function."
      },
      {
        "number": "33",
        "name": "RA6",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANA6, interrupt-on-change IOCA6, and shared with the OSC2/CLKOUT oscillator function."
      },
      {
        "number": "34",
        "name": "RC0",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC0, PPS-remappable T1CKI, T3CKI, T3G and SMTWIN1 inputs, interrupt-on-change IOCC0, and shared with the SOSCO secondary oscillator output."
      },
      {
        "number": "35",
        "name": "RC1",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC1, PPS-remappable SMTSIG1 and CCP2 inputs, interrupt-on-change IOCC1, and shared with the SOSCI secondary oscillator input."
      },
      {
        "number": "36",
        "name": "RF0",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF0."
      },
      {
        "number": "37",
        "name": "RF1",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF1."
      },
      {
        "number": "38",
        "name": "RF2",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF2."
      },
      {
        "number": "39",
        "name": "RF3",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANF3."
      },
      {
        "number": "40",
        "name": "RC2",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC2, PPS-remappable T5CKI and CCP1 inputs, and interrupt-on-change IOCC2."
      },
      {
        "number": "41",
        "name": "RC3",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC3, I2C SCL1 (I2C/SMBus logic levels when used with RB1/RB2/RC3/RC4), PPS-remappable SCK1 and T2IN inputs, and interrupt-on-change IOCC3."
      },
      {
        "number": "42",
        "name": "RD0",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND0."
      },
      {
        "number": "43",
        "name": "RD1",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND1."
      },
      {
        "number": "44",
        "name": "RD2",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND2."
      },
      {
        "number": "45",
        "name": "RD3",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input AND3."
      },
      {
        "number": "46",
        "name": "RC4",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC4, I2C SDA1 (I2C/SMBus logic levels when used with RB1/RB2/RC3/RC4), PPS-remappable SDI1 input, and interrupt-on-change IOCC4."
      },
      {
        "number": "47",
        "name": "RC5",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC5, PPS-remappable T4IN input, and interrupt-on-change IOCC5."
      },
      {
        "number": "48",
        "name": "RC6",
        "type": "bidirectional",
        "description": "Bidirectional I/O port pin with analog input ANC6, PPS-remappable CTS1 input, and interrupt-on-change IOCC6."
      }
    ],
    "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 48-pin TQFP pinout was taken from Table 5 (48-pin allocation table), which lists the TQFP and UQ; The datasheet is a family document (Advance Information, DS40001861B) covering PIC18(L)F2X/4X/5XK42.; The text does not give a TQFP-48 (7x7) package dimension or a package-specific drawing with dimensio"
        ],
        "pages_sent": 18,
        "cost_usd": 0.1852,
        "at": "2026-10-30T13:48:29"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/12651fa5002536ca4e121d6f274ef789.pdf",
        "pages": 18,
        "sha256": "16bc59ced9cdc213",
        "source_tier": "mfr"
      },
      "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": "pic18lf55k42-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "14ca7676e4932e92f0eca0c6d56ce3018cd28a2531204a70ab7bbacb3eeb3cf5",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18lf55k42-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "f44e5fdfcc14e495d4aafd4a5c717d43656225ec2fa81c9dd85724146ce9b531",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "TQFP-48(7x7)",
      "Category": "Single Chip Microcomputer/Microcontroller",
      "Pins": "48"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "16bc59ced9cdc213ca58a640b1057633a5d12a8f95b60c24fe3dc7c270a0b297",
      "rows": [
        {
          "name": "Operating Voltage Range (PIC18LF2X/4X/5XK42, 1.8 V variant)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 3.6,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Temperature Range, Industrial",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "pic18lf55k42-i"
  ],
  "discovery_pitch": "PIC18LF55K42-I (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18lf55k42-i.kicad_sym",
    "pic18lf55k42-i.kicad_mod",
    "pic18lf55k42-i.glb",
    "pic18lf55k42-i.step",
    "pic18lf55k42-i.lbr",
    "docs/hero.png",
    "docs/pic18lf55k42-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18lf55k42-i-hero.glb",
    "pic18lf55k42-i-hero.overlay.json",
    "pic18lf55k42-i-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}