main
Ray Publish 0.1.0 ed3fa1c 1d ago
{
  "slug": "pic18lf23k22-i",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), QFN-28-EP(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "pic18lf23k22-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18lf23k22-i.kicad_sym",
    "pic18lf23k22-i.kicad_mod",
    "pic18lf23k22-i.glb",
    "pic18lf23k22-i.step",
    "pic18lf23k22-i.lbr",
    "docs/hero.png",
    "docs/pic18lf23k22-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18lf23k22-i-hero.glb",
    "pic18lf23k22-i-hero.overlay.json",
    "pic18lf23k22-i-etched.glb"
  ],
  "component": {
    "mpn": "PIC18LF23K22-I",
    "manufacturer": "Microchip Tech",
    "package": "QFN-28-EP(6x6)",
    "pin_count": 29,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/7b42ddaae6355604045dbdd2576c11e9.pdf",
    "parts": {
      "symbol": "pic18lf23k22-i.kicad_sym",
      "footprint": "pic18lf23k22-i.kicad_mod",
      "model_3d": "pic18lf23k22-i-hero.glb",
      "model_3d_plain": "pic18lf23k22-i-etched.glb",
      "model_3d_step": "pic18lf23k22-i-etched.step",
      "model_3d_step_plain": "pic18lf23k22-i.step",
      "lbr": "pic18lf23k22-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C640037"
    },
    "distributor_check": {
      "checked_at": "2026-10-26T19:21:48Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RA2/C2IN+/AN2/DACOUT/VREF-",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as comparator C2 noninverting input, analog input 2, DAC reference output and A/D low reference voltage input."
      },
      {
        "number": "2",
        "name": "RA3/C1IN+/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as comparator C1 noninverting input, analog input 3 and A/D high reference voltage input."
      },
      {
        "number": "3",
        "name": "RA4/CCP5/C1OUT/SRQ/T0CKI",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as CCP5 capture/compare/PWM, comparator C1 output, SR latch Q output and Timer0 external clock input."
      },
      {
        "number": "4",
        "name": "RA5/C2OUT/SRNQ/SS1/HLVDIN/AN4",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as comparator C2 output, SR latch output, MSSP SPI client select input, High/Low-Voltage Detect input and analog input 4."
      },
      {
        "number": "5",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "6",
        "name": "RA7/CLKI/OSC1",
        "type": "bidirectional",
        "description": "Digital I/O that also serves as external clock source input or oscillator crystal input (ST buffer in RC mode, CMOS otherwise)."
      },
      {
        "number": "7",
        "name": "RA6/CLKO/OSC2",
        "type": "bidirectional",
        "description": "Digital I/O that also serves as oscillator crystal output or, in RC mode, CLKOUT at 1/4 the OSC1 frequency denoting the instruction cycle rate."
      },
      {
        "number": "8",
        "name": "RC0/P2B/T3CKI/T3G/T1CKI/SOSCO",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP2 PWM output P2B (alternate), Timer3 clock input, Timer3 gate input, Timer1 clock input and secondary oscillator output."
      },
      {
        "number": "9",
        "name": "RC1/P2A/CCP2/SOSCI",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP2 PWM output P2A, CCP2 capture/compare/PWM and secondary oscillator input."
      },
      {
        "number": "10",
        "name": "RC2/CTPLS/P1A/CCP1/T5CKI/AN14",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as CTMU pulse generator output, Enhanced CCP1 PWM output P1A, CCP1 capture/compare/PWM, Timer5 clock input and analog input 14."
      },
      {
        "number": "11",
        "name": "RC3/SCK1/SCL1/AN15",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI clock, I2C clock and analog input 15."
      },
      {
        "number": "12",
        "name": "RC4/SDI1/SDA1/AN16",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI data in, I2C data I/O and analog input 16."
      },
      {
        "number": "13",
        "name": "RC5/SDO1/AN17",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI data out and analog input 17."
      },
      {
        "number": "14",
        "name": "RC6/P3A/CCP3/TX1/CK1/AN18",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as alternate P3A/CCP3, EUSART1 asynchronous transmit, synchronous clock and analog input 18."
      },
      {
        "number": "15",
        "name": "RC7/P3B/RX1/DT1/AN19",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP3 PWM output P3B, EUSART1 asynchronous receive, synchronous data and analog input 19."
      },
      {
        "number": "16",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "17",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins (1.8V to 3.6V operation for PIC18LF devices)."
      },
      {
        "number": "18",
        "name": "RB0/INT0/CCP4/FLT0/SRI/SS2/AN12",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as external interrupt 0, CCP4, ECCP auto-shutdown fault input, SR latch input, MSSP SPI client select and analog input 12."
      },
      {
        "number": "19",
        "name": "RB1/INT1/P1C/SCK2/SCL2/C12IN3-/AN10",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as external interrupt 1, ECCP1 PWM output P1C, MSSP2 SPI/I2C clock, comparator C1/C2 inverting input and analog input 10."
      },
      {
        "number": "20",
        "name": "RB2/INT2/CTED1/P1B/SDI2/SDA2/AN8",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as external interrupt 2, CTMU edge 1 input, ECCP1 PWM output P1B, MSSP2 SPI data in/I2C data I/O and analog input 8."
      },
      {
        "number": "21",
        "name": "RB3/CTED2/P2A/CCP2/SDO2/C12IN2-/AN9",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as CTMU edge 2 input, ECCP2 PWM output P2A, CCP2 (alternate), MSSP2 SPI data out, comparator C1/C2 inverting input and analog input 9."
      },
      {
        "number": "22",
        "name": "RB4/IOC0/P1D/T5G/AN11",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as interrupt-on-change pin, ECCP1 PWM output P1D, Timer5 gate input and analog input 11."
      },
      {
        "number": "23",
        "name": "RB5/IOC1/P2B/P3A/CCP3/T3CKI/T1G/AN13",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as interrupt-on-change pin, default P2B, P3A and CCP3, alternate T3CKI, Timer1 gate input and analog input 13."
      },
      {
        "number": "24",
        "name": "RB6/IOC2/TX2/CK2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as interrupt-on-change pin, EUSART2 transmit/clock and In-Circuit Debugger/ICSP programming clock."
      },
      {
        "number": "25",
        "name": "RB7/IOC3/RX2/DT2/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as interrupt-on-change pin, EUSART2 receive/data and In-Circuit Debugger/ICSP programming data."
      },
      {
        "number": "26",
        "name": "RE3/VPP/MCLR",
        "type": "input",
        "description": "Digital input-only pin, programming voltage input (VPP) and active-low Master Clear (device Reset) input with Schmitt Trigger buffer."
      },
      {
        "number": "27",
        "name": "RA0/C12IN0-/AN0",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as comparators C1 and C2 inverting input and analog input 0."
      },
      {
        "number": "28",
        "name": "RA1/C12IN1-/AN1",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input that also serves as comparators C1 and C2 inverting input and analog input 1."
      },
      {
        "number": "29",
        "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 text gives the 28-pin QFN column of Table 1-2 (shared with UQFN) but does not include ; Table 1-2 pin numbers are shared by QFN and UQFN columns. They were taken as the QFN-28 numbering. T"
        ],
        "pages_sent": 90,
        "cost_usd": 0.8587,
        "at": "2026-10-26T19:21:33"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/7b42ddaae6355604045dbdd2576c11e9.pdf",
        "pages": 539,
        "sha256": "d0ba745eb6a13bdb",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 29,
        "described": 29,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18lf23k22-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          6.0,
          0.93
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "64a3dae9c9f9a8105c3bb3049fb2c326b3235bef9a1fff0bf5e22c753fbc9b55",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18lf23k22-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          6.0,
          0.93
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "eb32b0fcc4948607278b0236a16940af55636904c359445ab6899fd80667a5ab",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}