3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownPIC18LF2520-I
Microchip Tech · Pre-ordered MCUs · QFN-28-EP(6x6)
PIC18LF2520-I from Microchip Tech, in a QFN-28-EP(6x6). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | RA2/AN2/VREF-/CVREF | bidirectional | 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. |
| 2 | RA3/AN3/VREF+ | bidirectional | Digital I/O (TTL input) that also serves as analog input AN3 and the A/D reference voltage high input VREF+. |
| 3 | RA4/T0CKI/C1OUT | bidirectional | Digital I/O with Schmitt Trigger input that also serves as the Timer0 external clock input T0CKI and the Comparator 1 output C1OUT. |
| 4 | RA5/AN4/SS/HLVDIN/C2OUT | bidirectional | 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. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | OSC1/CLKI/RA7 | input | 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. |
| 7 | OSC2/CLKO/RA6 | bidirectional | 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. |
| 8 | RC0/T1OSO/T13CKI | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Timer1 oscillator output T1OSO and Timer1/Timer3 external clock input T13CKI. |
| 9 | RC1/T1OSI/CCP2 | bidirectional | 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). |
| 10 | RC2/CCP1 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as CCP1 capture input, compare output or PWM output. |
| 11 | RC3/SCK/SCL | bidirectional | Digital I/O with Schmitt Trigger input that also serves as the MSSP serial clock SCK (SPI) or SCL (I2C). |
| 12 | RC4/SDI/SDA | bidirectional | Digital I/O with Schmitt Trigger input that also serves as the MSSP SPI data input SDI or I2C data I/O SDA. |
| 13 | RC5/SDO | bidirectional | Digital I/O with Schmitt Trigger input that also serves as the MSSP SPI data output SDO. |
| 14 | RC6/TX/CK | bidirectional | Digital I/O with Schmitt Trigger input that also serves as EUSART asynchronous transmit TX or synchronous clock CK. |
| 15 | RC7/RX/DT | bidirectional | Digital I/O with Schmitt Trigger input that also serves as EUSART asynchronous receive RX or synchronous data DT. |
| 16 | VSS | power_in | Ground reference for logic and I/O pins. |
| 17 | VDD | power_in | Positive supply for logic and I/O pins. |
| 18 | RB0/INT0/FLT0/AN12 | bidirectional | 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. |
| 19 | RB1/INT1/AN10 | bidirectional | Digital I/O with weak pull-up (when RBPU is cleared) that also serves as external interrupt INT1 and analog input AN10. |
| 20 | RB2/INT2/AN8 | bidirectional | Digital I/O with weak pull-up (when RBPU is cleared) that also serves as external interrupt INT2 and analog input AN8. |
| 21 | RB3/AN9/CCP2 | bidirectional | 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. |
| 22 | RB4/KBI0/AN11 | bidirectional | Digital I/O with weak pull-up (when RBPU is cleared) that also serves as interrupt-on-change pin KBI0 and analog input AN11. |
| 23 | RB5/KBI1/PGM | bidirectional | 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. |
| 24 | RB6/KBI2/PGC | bidirectional | 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. |
| 25 | RB7/KBI3/PGD | bidirectional | 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. |
| 26 | MCLR/VPP/RE3 | input | 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). |
| 27 | RA0/AN0 | bidirectional | Digital I/O (TTL input) that also serves as analog input AN0 and comparator C1- input. |
| 28 | RA1/AN1 | bidirectional | Digital I/O (TTL input) that also serves as analog input AN1 and comparator C2- input. |
| 29 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | QFN-28-EP(6x6) |
| Category | Embedded Processors & Controllers |
| Pins | 29 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage, extended VDD range (low-voltage LF device) | VDD | 2 | 5.5 | V | Low-voltage (LF) devices, device overview | 6 | |
| Operating frequency | 40 | MHz | Printed as 'DC, 40 MHz' (Table 1-1); DC lower bound not a numeric value | 7 | |||
| External RC oscillator resistor (RC / RCIO modes) | REXT | 3 | 100 | kΩ | Recommended values in RC oscillator mode figure | 22 | |
| External RC oscillator capacitor (RC / RCIO modes) | CEXT | 20 | pF | Printed as CEXT > 20 pF; recommended value in RC oscillator mode figure | 22 |
CAD (KiCad official)
- Symbol:
PIC18LF2520-I - Footprint:
Package_DFN_QFN:QFN-28-1EP_6x6mm_P0.65mm_EP4.8x4.8mm - 3D model: QFN-28-EP(6x6) (KiCad packages3D, STEP)
- 3D model files:
pic18lf2520-i-etched.step/pic18lf2520-i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18lf2520-i.step/pic18lf2520-i.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (383 pp, sha256
7a3ba485a1cab451, retrieved 2026-10-31, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).