main
Ray
Publish 0.1.1
8bb84d6
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
{
"schema_version": 1,
"type": "component",
"slug": "pic18lf2520-i",
"title": "PIC18LF2520-I",
"brief": "Microchip Tech Pre-ordered MCUs, QFN-28-EP(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.1",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"pic18lf2520-i",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "PIC18LF2520-I",
"manufacturer": "Microchip Tech",
"package": "QFN-28-EP(6x6)",
"pin_count": 29,
"category": "Embedded Processors & Controllers",
"subcategory": "Pre-ordered MCUs",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/49ff8082e2dae835e626198a0bcb01b7.pdf",
"parts": {
"symbol": "pic18lf2520-i.kicad_sym",
"footprint": "pic18lf2520-i.kicad_mod",
"model_3d": "pic18lf2520-i-hero.glb",
"model_3d_plain": "pic18lf2520-i.glb",
"model_3d_step": "pic18lf2520-i-etched.step",
"model_3d_step_plain": "pic18lf2520-i.step",
"lbr": "pic18lf2520-i.lbr"
},
"distributor_links": {
"lcsc": "C1337121"
},
"distributor_check": {
"checked_at": "2026-10-31T04:23:39Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "RA2/AN2/VREF-/CVREF",
"type": "bidirectional",
"description": "Digital I/O (TTL input) that also serves as analog input AN2, the A/D reference voltage low input VREF-, and the comparator voltage reference output CVREF."
},
{
"number": "2",
"name": "RA3/AN3/VREF+",
"type": "bidirectional",
"description": "Digital I/O (TTL input) that also serves as analog input AN3 and the A/D reference voltage high input VREF+."
},
{
"number": "3",
"name": "RA4/T0CKI/C1OUT",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as the Timer0 external clock input T0CKI and the Comparator 1 output C1OUT."
},
{
"number": "4",
"name": "RA5/AN4/SS/HLVDIN/C2OUT",
"type": "bidirectional",
"description": "Digital I/O (TTL input) that also serves as analog input AN4, the MSSP SPI client select SS, the High/Low-Voltage Detect input HLVDIN, and the Comparator 2 output C2OUT."
},
{
"number": "5",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "6",
"name": "OSC1/CLKI/RA7",
"type": "input",
"description": "Oscillator crystal or external clock input (ST buffer in RC mode, CMOS otherwise); when an external oscillator is not used, the pin is general purpose I/O RA7."
},
{
"number": "7",
"name": "OSC2/CLKO/RA6",
"type": "bidirectional",
"description": "Oscillator crystal output in crystal modes, or CLKO (FOSC/4) in RC/INTIO1/EC modes; otherwise general purpose I/O RA6 in RCIO, INTIO2 and ECIO modes."
},
{
"number": "8",
"name": "RC0/T1OSO/T13CKI",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as Timer1 oscillator output T1OSO and Timer1/Timer3 external clock input T13CKI."
},
{
"number": "9",
"name": "RC1/T1OSI/CCP2",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as Timer1 oscillator input T1OSI and CCP2 capture input / compare or PWM output (default CCP2 pin when CCP2MX is set)."
},
{
"number": "10",
"name": "RC2/CCP1",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as CCP1 capture input, compare output or PWM output."
},
{
"number": "11",
"name": "RC3/SCK/SCL",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as the MSSP serial clock SCK (SPI) or SCL (I2C)."
},
{
"number": "12",
"name": "RC4/SDI/SDA",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as the MSSP SPI data input SDI or I2C data I/O SDA."
},
{
"number": "13",
"name": "RC5/SDO",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as the MSSP SPI data output SDO."
},
{
"number": "14",
"name": "RC6/TX/CK",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as EUSART asynchronous transmit TX or synchronous clock CK."
},
{
"number": "15",
"name": "RC7/RX/DT",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input that also serves as EUSART asynchronous receive RX or synchronous data DT."
},
{
"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."
},
{
"number": "18",
"name": "RB0/INT0/FLT0/AN12",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as external interrupt INT0, PWM fault input FLT0 for CCP1, and analog input AN12."
},
{
"number": "19",
"name": "RB1/INT1/AN10",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as external interrupt INT1 and analog input AN10."
},
{
"number": "20",
"name": "RB2/INT2/AN8",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as external interrupt INT2 and analog input AN8."
},
{
"number": "21",
"name": "RB3/AN9/CCP2",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as analog input AN9 and, when CCP2MX is cleared, the CCP2 capture input or compare/PWM output."
},
{
"number": "22",
"name": "RB4/KBI0/AN11",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as interrupt-on-change pin KBI0 and analog input AN11."
},
{
"number": "23",
"name": "RB5/KBI1/PGM",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as interrupt-on-change pin KBI1 and the low-voltage ICSP programming enable pin PGM."
},
{
"number": "24",
"name": "RB6/KBI2/PGC",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as interrupt-on-change pin KBI2 and the ICD/ICSP programming clock PGC."
},
{
"number": "25",
"name": "RB7/KBI3/PGD",
"type": "bidirectional",
"description": "Digital I/O with weak pull-up (when RBPU is cleared) that also serves as interrupt-on-change pin KBI3 and the ICD/ICSP programming data PGD."
},
{
"number": "26",
"name": "MCLR/VPP/RE3",
"type": "input",
"description": "Active-low Master Clear (Reset) input when MCLRE is set, with VPP high-voltage detection for ICSP entry; when MCLR is disabled the pin is a digital input RE3 (no TRIS bit)."
},
{
"number": "27",
"name": "RA0/AN0",
"type": "bidirectional",
"description": "Digital I/O (TTL input) that also serves as analog input AN0 and comparator C1- input."
},
{
"number": "28",
"name": "RA1/AN1",
"type": "bidirectional",
"description": "Digital I/O (TTL input) that also serves as analog input AN1 and comparator C2- input."
},
{
"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-haiku-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: Package match: the datasheet lists only a '28-Pin QFN' (marking -I/ML) for the PIC18F2420/2520 famil; The exposed pad of the 28-pin QFN is referenced in the package drawing but has no pin number in the ; Pin numbers come from the QFN column of Table 1-2 (28-pin devices, pages 10-13). The table prints tw",
"exposed pad 29 added from the footprint",
"1/29 pins cited to the wrong page (name found elsewhere): ['6:OSC1/CLKI/RA7@p10']"
],
"pages_sent": 60,
"cost_usd": 0.2853,
"at": "2026-10-31T04:23:26"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/49ff8082e2dae835e626198a0bcb01b7.pdf",
"pages": 383,
"sha256": "7a3ba485a1cab451",
"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": "pic18lf2520-i.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6,
6,
0.93
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "64a3dae9c9f9a8105c3bb3049fb2c326b3235bef9a1fff0bf5e22c753fbc9b55",
"checked": "2026-10-31",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "pic18lf2520-i-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6,
6,
0.93
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "51e79ef8ca9acfdb620c40bf46cdadf566b122740cf96a75900e92b45872a1e2",
"checked": "2026-10-31",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "Microchip Tech",
"Package": "QFN-28-EP(6x6)",
"Category": "Embedded Processors & Controllers",
"Pins": "29"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "7a3ba485a1cab451f561005e7954e95bfb0afd9b16dba67dc8004596260e760e",
"rows": [
{
"name": "Supply voltage, extended VDD range (low-voltage LF device)",
"symbol": "VDD",
"kind": "recommended_operating",
"unit": "V",
"min": 2,
"typ": null,
"max": 5.5,
"conditions": "Low-voltage (LF) devices, device overview",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Operating frequency",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 40,
"conditions": "Printed as 'DC – 40 MHz' (Table 1-1); DC lower bound not a numeric value",
"source_page": 7,
"source": "datasheet"
},
{
"name": "External RC oscillator resistor (RC / RCIO modes)",
"symbol": "REXT",
"kind": "recommended_operating",
"unit": "kΩ",
"min": 3,
"typ": null,
"max": 100,
"conditions": "Recommended values in RC oscillator mode figure",
"source_page": 22,
"source": "datasheet"
},
{
"name": "External RC oscillator capacitor (RC / RCIO modes)",
"symbol": "CEXT",
"kind": "recommended_operating",
"unit": "pF",
"min": 20,
"typ": null,
"max": null,
"conditions": "Printed as CEXT > 20 pF; recommended value in RC oscillator mode figure",
"source_page": 22,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"pic18lf2520-i"
],
"discovery_pitch": "PIC18LF2520-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",
"pic18lf2520-i.kicad_sym",
"pic18lf2520-i.kicad_mod",
"pic18lf2520-i.glb",
"pic18lf2520-i.step",
"pic18lf2520-i.lbr",
"docs/hero.png",
"docs/pic18lf2520-i-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"pic18lf2520-i-hero.glb",
"pic18lf2520-i-hero.overlay.json",
"pic18lf2520-i-etched.glb",
"pic18lf2520-i-etched.step"
],
"visibility": "public",
"description": "Microchip Tech Pre-ordered MCUs, QFN-28-EP(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"org": "adom"
}