main
Ray Publish 0.1.1 2a82a81
{
  "slug": "pic18lf46k22t-i",
  "version": "0.1.1",
  "type": "component",
  "description": "Microchip Tech MICROCHIP, QFN-40-EP(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic18lf46k22t-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18lf46k22t-i.kicad_sym",
    "pic18lf46k22t-i.kicad_mod",
    "pic18lf46k22t-i.glb",
    "pic18lf46k22t-i.step",
    "pic18lf46k22t-i.lbr",
    "docs/hero.png",
    "docs/pic18lf46k22t-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18lf46k22t-i-hero.glb",
    "pic18lf46k22t-i-hero.overlay.json",
    "pic18lf46k22t-i-etched.glb",
    "pic18lf46k22t-i-etched.step"
  ],
  "component": {
    "mpn": "PIC18LF46K22T-I",
    "manufacturer": "Microchip Tech",
    "package": "QFN-40-EP(5x5)",
    "pin_count": 41,
    "category": "Embedded Processors & Controllers",
    "subcategory": "MICROCHIP",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/2a5f7b7819441dff319aede565c768c6.pdf",
    "parts": {
      "symbol": "pic18lf46k22t-i.kicad_sym",
      "footprint": "pic18lf46k22t-i.kicad_mod",
      "model_3d": "pic18lf46k22t-i-hero.glb",
      "model_3d_plain": "pic18lf46k22t-i.glb",
      "model_3d_step": "pic18lf46k22t-i-etched.step",
      "model_3d_step_plain": "pic18lf46k22t-i.step",
      "lbr": "pic18lf46k22t-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C624409"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T11:51:54Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RC7/RX1/DT1/AN19",
        "type": "bidirectional",
        "description": "PORTC bit 7 digital I/O (ST) shared with EUSART1 asynchronous receive (RX1), synchronous data (DT1) and analog input 19."
      },
      {
        "number": "2",
        "name": "RD4/P2D/SDO2/AN24",
        "type": "bidirectional",
        "description": "PORTD bit 4 digital I/O (ST) shared with Enhanced CCP2 PWM output P2D, MSSP2 SPI data out (SDO2) and analog input 24."
      },
      {
        "number": "3",
        "name": "RD5/P1B/AN25",
        "type": "bidirectional",
        "description": "PORTD bit 5 digital I/O (ST) shared with Enhanced CCP1 PWM output P1B and analog input 25."
      },
      {
        "number": "4",
        "name": "RD6/P1C/TX2/CK2/AN26",
        "type": "bidirectional",
        "description": "PORTD bit 6 digital I/O (ST) shared with Enhanced CCP1 PWM output P1C, EUSART2 transmit (TX2), synchronous clock (CK2) and analog input 26."
      },
      {
        "number": "5",
        "name": "RD7/P1D/RX2/DT2/AN27",
        "type": "bidirectional",
        "description": "PORTD bit 7 digital I/O (ST) shared with Enhanced CCP1 PWM output P1D, EUSART2 receive (RX2), synchronous data (DT2) and analog input 27."
      },
      {
        "number": "6",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "7",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins (1.8V to 3.6V for PIC18LF devices)."
      },
      {
        "number": "8",
        "name": "RB0/INT0/FLT0/SRI/AN12",
        "type": "bidirectional",
        "description": "PORTB bit 0 digital I/O (TTL) shared with external interrupt 0, ECCP auto-shutdown fault input FLT0, SR latch input SRI and analog input 12."
      },
      {
        "number": "9",
        "name": "RB1/INT1/C12IN3-/AN10",
        "type": "bidirectional",
        "description": "PORTB bit 1 digital I/O (TTL) shared with external interrupt 1, comparators C1/C2 inverting input C12IN3- and analog input 10."
      },
      {
        "number": "10",
        "name": "RB2/INT2/CTED1/AN8",
        "type": "bidirectional",
        "description": "PORTB bit 2 digital I/O (TTL) shared with external interrupt 2, CTMU edge 1 input and analog input 8."
      },
      {
        "number": "11",
        "name": "RB3/CTED2/P2A/CCP2/C12IN2-/AN9",
        "type": "bidirectional",
        "description": "PORTB bit 3 digital I/O (TTL) shared with CTMU edge 2 input, alternate P2A/CCP2 pin, comparators C1/C2 inverting input C12IN2- and analog input 9."
      },
      {
        "number": "12",
        "name": "RB4/IOC0/T5G/AN11",
        "type": "bidirectional",
        "description": "PORTB bit 4 digital I/O (TTL) with interrupt-on-change, Timer5 external clock gate input and analog input 11."
      },
      {
        "number": "13",
        "name": "RB5/IOC1/P3A/CCP3/T3CKI/T1G/AN13",
        "type": "bidirectional",
        "description": "PORTB bit 5 digital I/O (TTL) with interrupt-on-change, default P3A/CCP3 pin, alternate T3CKI, Timer1 gate input T1G and analog input 13."
      },
      {
        "number": "14",
        "name": "RB6/IOC2/PGC",
        "type": "bidirectional",
        "description": "PORTB bit 6 digital I/O (TTL) with interrupt-on-change and In-Circuit Debugger/ICSP programming clock pin PGC."
      },
      {
        "number": "15",
        "name": "RB7/IOC3/PGD",
        "type": "bidirectional",
        "description": "PORTB bit 7 digital I/O (TTL) with interrupt-on-change and In-Circuit Debugger/ICSP programming data pin PGD."
      },
      {
        "number": "16",
        "name": "RE3/VPP/MCLR",
        "type": "input",
        "description": "Digital input-only RE3, programming voltage input VPP, or active-low Master Clear (device Reset) input MCLR (ST)."
      },
      {
        "number": "17",
        "name": "RA0/C12IN0-/AN0",
        "type": "bidirectional",
        "description": "PORTA bit 0 digital I/O (TTL) shared with comparators C1/C2 inverting input C12IN0- and analog input 0."
      },
      {
        "number": "18",
        "name": "RA1/C12IN1-/AN1",
        "type": "bidirectional",
        "description": "PORTA bit 1 digital I/O (TTL) shared with comparators C1/C2 inverting input C12IN1- and analog input 1."
      },
      {
        "number": "19",
        "name": "RA2/C2IN+/AN2/DACOUT/VREF-",
        "type": "bidirectional",
        "description": "PORTA bit 2 digital I/O (TTL) shared with comparator C2 non-inverting input, analog input 2, DAC reference output and A/D low reference input VREF-."
      },
      {
        "number": "20",
        "name": "RA3/C1IN+/AN3/VREF+",
        "type": "bidirectional",
        "description": "PORTA bit 3 digital I/O (TTL) shared with comparator C1 non-inverting input, analog input 3 and A/D high reference input VREF+."
      },
      {
        "number": "21",
        "name": "RA4/C1OUT/SRQ/T0CKI",
        "type": "bidirectional",
        "description": "PORTA bit 4 digital I/O (ST) shared with comparator C1 output, SR latch Q output and Timer0 external clock input."
      },
      {
        "number": "22",
        "name": "RA5/C2OUT/SRNQ/SS1/HLVDIN/AN4",
        "type": "bidirectional",
        "description": "PORTA bit 5 digital I/O (TTL) shared with comparator C2 output, SR latch output SRNQ, MSSP1 SPI slave select SS1, HLVD input and analog input 4."
      },
      {
        "number": "23",
        "name": "RE0/P3A/CCP3/AN5",
        "type": "bidirectional",
        "description": "PORTE bit 0 digital I/O (ST) shared with alternate P3A/CCP3 pin and analog input 5."
      },
      {
        "number": "24",
        "name": "RE1/P3B/AN6",
        "type": "bidirectional",
        "description": "PORTE bit 1 digital I/O (ST) shared with Enhanced CCP3 PWM output P3B and analog input 6."
      },
      {
        "number": "25",
        "name": "RE2/CCP5/AN7",
        "type": "bidirectional",
        "description": "PORTE bit 2 digital I/O (ST) shared with Capture 5 input/Compare 5 output/PWM 5 output and analog input 7."
      },
      {
        "number": "26",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins (1.8V to 3.6V for PIC18LF devices)."
      },
      {
        "number": "27",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "28",
        "name": "RA7/CLKI/OSC1",
        "type": "bidirectional",
        "description": "PORTA bit 7 digital I/O (TTL), external clock input CLKI, or oscillator crystal input OSC1."
      },
      {
        "number": "29",
        "name": "RA6/CLKO/OSC2",
        "type": "bidirectional",
        "description": "PORTA bit 6 digital I/O (TTL), CLKO (FOSC/4 in RC mode), or oscillator crystal output OSC2."
      },
      {
        "number": "30",
        "name": "RC0/P2B/T3CKI/T3G/T1CKI/SOSCO",
        "type": "bidirectional",
        "description": "PORTC bit 0 digital I/O (ST) shared with alternate P2B, default T3CKI, Timer3 gate, Timer1 clock input and secondary oscillator output SOSCO."
      },
      {
        "number": "31",
        "name": "RC1/P2A/CCP2/SOSCI",
        "type": "bidirectional",
        "description": "PORTC bit 1 digital I/O (ST) shared with default P2A/CCP2 pin and secondary oscillator input SOSCI."
      },
      {
        "number": "32",
        "name": "RC2/CTPLS/P1A/CCP1/T5CKI/AN14",
        "type": "bidirectional",
        "description": "PORTC bit 2 digital I/O (ST) shared with CTMU pulse generator output, P1A/CCP1, Timer5 clock input and analog input 14."
      },
      {
        "number": "33",
        "name": "RC3/SCK1/SCL1/AN15",
        "type": "bidirectional",
        "description": "PORTC bit 3 digital I/O (ST) shared with MSSP1 SPI clock SCK1, I2C clock SCL1 and analog input 15."
      },
      {
        "number": "34",
        "name": "RD0/SCK2/SCL2/AN20",
        "type": "bidirectional",
        "description": "PORTD bit 0 digital I/O (ST) shared with MSSP2 SPI clock SCK2, I2C clock SCL2 and analog input 20."
      },
      {
        "number": "35",
        "name": "RD1/CCP4/SDI2/SDA2/AN21",
        "type": "bidirectional",
        "description": "PORTD bit 1 digital I/O (ST) shared with CCP4, MSSP2 SPI data in SDI2, I2C data SDA2 and analog input 21."
      },
      {
        "number": "36",
        "name": "RD2/P2B/AN22",
        "type": "bidirectional",
        "description": "PORTD bit 2 digital I/O (ST) shared with Enhanced CCP2 PWM output P2B and analog input 22."
      },
      {
        "number": "37",
        "name": "RD3/P2C/SS2/AN23",
        "type": "bidirectional",
        "description": "PORTD bit 3 digital I/O (ST) shared with Enhanced CCP2 PWM output P2C, MSSP2 slave select SS2 and analog input 23."
      },
      {
        "number": "38",
        "name": "RC4/SDI1/SDA1/AN16",
        "type": "bidirectional",
        "description": "PORTC bit 4 digital I/O (ST) shared with MSSP1 SPI data in SDI1, I2C data SDA1 and analog input 16."
      },
      {
        "number": "39",
        "name": "RC5/SDO1/AN17",
        "type": "bidirectional",
        "description": "PORTC bit 5 digital I/O (ST) shared with MSSP1 SPI data out SDO1 and analog input 17."
      },
      {
        "number": "40",
        "name": "RC6/TX1/CK1/AN18",
        "type": "bidirectional",
        "description": "PORTC bit 6 digital I/O (ST) shared with EUSART1 transmit TX1, synchronous clock CK1 and analog input 18."
      },
      {
        "number": "41",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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: The datasheet pin table lists no exposed pad (EP) pin for the 40-lead UQFN, and the text does not sa; The NC row in Table 1-3 is garbled in the extracted text: '12,13,33,34' and a stray '13'. Pin 13 is ; The 40-lead UQFN (5x5x0.5 mm) package drawing page was not in the provided text. The UQFN package wa"
        ],
        "pages_sent": 90,
        "cost_usd": 0.8887,
        "at": "2026-10-30T11:51:40"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/2a5f7b7819441dff319aede565c768c6.pdf",
        "pages": 539,
        "sha256": "beb7ceb65d475844",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 41,
        "described": 41,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18lf46k22t-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "8f37bc7a9aab4742c34f137d9822c0352acc227532830034555744338483cdfc",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18lf46k22t-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "fab6a44c7e2513e7f2286280dfa1d1510d397ba576e1c26862d1c78ddc094990",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "PIC18LF46K22T-I",
  "brief": "Microchip Tech MICROCHIP, QFN-40-EP(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "QFN-40-EP(5x5)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "41"
    }
  },
  "discovery_triggers": [
    "pic18lf46k22t-i"
  ],
  "discovery_pitch": "PIC18LF46K22T-I (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}