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
markdownPIC18LF66K80-I
Microchip Tech · Pre-ordered MCUs · TQFP-64(10x10)
PIC18LF66K80-I from Microchip Tech, in a TQFP-64(10x10). 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 | RC7/CCP4 | bidirectional | Digital I/O with Schmitt Trigger input, alternate function CCP4 capture input / compare-PWM4 output, configurable as open-drain via ODCON when CCP4 is active. |
| 2 | RD4/ECCP1/P1A/PSP4 | bidirectional | Digital I/O with ECCP1 capture/compare/PWM output, Enhanced PWM1 output A, and Parallel Slave Port data bit 4. |
| 3 | RD5/P1B/PSP5 | bidirectional | Digital I/O with Enhanced PWM1 output B and Parallel Slave Port data bit 5; PORTD outputs are lower drive level, suited to normal digital loads and small LEDs. |
| 4 | RD6/P1C/PSP6 | bidirectional | Digital I/O with Enhanced PWM1 output C and Parallel Slave Port data bit 6; PORTD outputs are lower drive level, suited to normal digital loads and small LEDs. |
| 5 | RD7/P1D/PSP7 | bidirectional | Digital I/O with Enhanced PWM1 output D and Parallel Slave Port data bit 7; PORTD outputs are lower drive level, suited to normal digital loads and small LEDs. |
| 6 | RG0/RX1/DT1 | bidirectional | Digital I/O with Schmitt Trigger input, alternate function EUSART1 asynchronous receive (RX1) and synchronous data (DT1). |
| 7 | RG1/CANTX2 | bidirectional | Digital I/O with Schmitt Trigger input, alternate function CAN bus complementary transmit output or CAN bus time clock (CANTX2). |
| 8 | VSS | power_in | Ground reference for logic and I/O pins. |
| 9 | AVDD | power_in | Positive supply for analog modules; must always be connected, regardless of whether analog modules are used. |
| 10 | VDD | power_in | Positive supply for logic and I/O pins. |
| 11 | RG2/T3CKI | bidirectional | Digital I/O with Schmitt Trigger input, alternate function Timer3 clock input (T3CKI). |
| 12 | RG3/TX1/CK1 | bidirectional | Digital I/O with Schmitt Trigger input, alternate functions EUSART1 asynchronous transmit (TX1) and synchronous clock (CK1). |
| 13 | RB0/AN10/FLT0/INT0 | bidirectional | Digital I/O with weak pull-up, analog input AN10, Enhanced PWM fault input FLT0 for ECCP1, and external interrupt INT0. |
| 14 | RB1/AN8/CTDIN/INT1 | bidirectional | Digital I/O with weak pull-up, analog input AN8, CTMU pulse delay input CTDIN, and external interrupt INT1. |
| 15 | RB2/CANTX/CTED1/INT2 | bidirectional | Digital I/O with weak pull-up, CAN bus TX output, CTMU Edge 1 input (CTED1), and external interrupt INT2. |
| 16 | RB3/CANRX/CTED2/INT3 | bidirectional | Digital I/O with weak pull-up, CAN bus RX input, CTMU Edge 2 input (CTED2), and external interrupt INT3. |
| 17 | RF0/MDMIN | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with Data Signal Modulator source input MDMIN. |
| 18 | RG4/T0CKI | bidirectional | Digital I/O with Schmitt Trigger input, alternate function Timer0 external clock input (T0CKI) on the 64-pin alternate assignment. |
| 19 | RF1 | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with no alternate function listed in the pinout table. |
| 20 | RB4/AN9/CTPLS/KBI0 | bidirectional | Digital I/O with weak pull-up, analog input AN9, CTMU pulse generator output CTPLS, and interrupt-on-change KBI0. |
| 21 | RB5/T0CKI/T3CKI/CCP5/KBI1 | bidirectional | Digital I/O with weak pull-up, Timer0 clock input, Timer3 clock input, CCP5 capture/compare/PWM, and interrupt-on-change KBI1. |
| 22 | RB6/PGC/KBI2 | bidirectional | Digital I/O with weak pull-up, In-Circuit Debugger and ICSP programming clock input (PGC), and interrupt-on-change KBI2. |
| 23 | RB7/PGD/T3G/KBI3 | bidirectional | Digital I/O with weak pull-up, In-Circuit Debugger and ICSP programming data (PGD), Timer3 external clock gate input (T3G), and interrupt-on-change KBI3. |
| 24 | RE5/CANTX | bidirectional | Digital I/O with Schmitt Trigger input, alternate function CAN bus TX (CANTX) when the CANMX Configuration bit is cleared. |
| 25 | VDD | power_in | Positive supply for logic and I/O pins. |
| 26 | VSS | power_in | Ground reference for logic and I/O pins. |
| 27 | RE4/CANRX | bidirectional | Digital I/O with Schmitt Trigger input, alternate function CAN bus RX (CANRX) when the CANMX Configuration bit is cleared. |
| 28 | MCLR/RE3 | input | Master Clear input (active-low device Reset) or programming voltage input; when MCLRE is cleared, this pin is the general purpose input-only RE3. |
| 29 | RA0/CVREF/AN0/ULPWU | bidirectional | Digital I/O with comparator reference voltage output CVREF, analog input AN0, and Ultra Low-Power Wake-up input ULPWU. |
| 30 | RA1/AN1/C1INC | bidirectional | Digital I/O with analog input AN1 and Comparator 1 Input C (C1INC). |
| 31 | RA2/VREF-/AN2/C2INC | bidirectional | Digital I/O with A/D and comparator low reference voltage input VREF-, analog input AN2, and Comparator 2 Input C (C2INC). |
| 32 | RA3/VREF+/AN3 | bidirectional | Digital I/O with A/D and comparator high reference voltage input VREF+ and analog input AN3. |
| 33 | VDDCORE/VCAP | passive | External filter capacitor connection for the on-chip voltage regulator output; with the regulator enabled, a 10 µF capacitor to ground is required and the pin must not be connected to VDD. |
| 34 | RA5/AN4/HLVDIN/T1CKI/SS | bidirectional | Digital I/O with analog input AN4, High/Low-Voltage Detect input HLVDIN, Timer1 clock input T1CKI, and SPI slave select input SS. |
| 35 | RF2/MDCIN1 | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with Modulator Carrier Input 1 (MDCIN1). |
| 36 | RF3 | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with no alternate function listed in the pinout table. |
| 37 | RE0/AN5/RD | bidirectional | Digital I/O with analog input AN5 and Parallel Slave Port read strobe (RD). |
| 38 | RE1/AN6/C1OUT/WR | bidirectional | Digital I/O with analog input AN6, Comparator 1 output (C1OUT), and Parallel Slave Port write strobe (WR). |
| 39 | RE2/AN7/C2OUT/CS | bidirectional | Digital I/O with analog input AN7, Comparator 2 output (C2OUT), and Parallel Slave Port chip select (CS). |
| 40 | AVDD | power_in | Positive supply for analog modules; must always be connected, regardless of whether analog modules are used. |
| 41 | VDD | power_in | Positive supply for logic and I/O pins. |
| 42 | AVSS | power_in | Ground reference for analog modules; must always be connected, regardless of whether analog modules are used. |
| 43 | VSS | power_in | Ground reference for logic and I/O pins. |
| 44 | RF4/MDCIN2 | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with Modulator Carrier Input 2 (MDCIN2). |
| 45 | RF5 | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with no alternate function listed in the pinout table. |
| 46 | OSC1/CLKIN/RA7 | input | Oscillator crystal input (OSC1) or external clock source input (CLKIN) in oscillator modes; RA7 is available as digital I/O only in select internal oscillator modes. |
| 47 | OSC2/CLKOUT/RA6 | bidirectional | Oscillator crystal output (OSC2) or CLKOUT (FOSC/4) in certain modes; RA6 is available as general purpose digital I/O in select oscillator modes. |
| 48 | RC0/SOSCO/SCLKI | bidirectional | Digital I/O with Schmitt Trigger input, Timer1 oscillator output SOSCO, and digital clock input SCLKI enabled when the SOSC oscillator is disabled. |
| 49 | RC1/SOSCI | bidirectional | Digital I/O with Schmitt Trigger input and SOSC oscillator input SOSCI (CMOS input). |
| 50 | RC2/T1G/CCP2 | bidirectional | Digital I/O with Schmitt Trigger input, Timer1 external clock gate input T1G, and CCP2 capture/compare/PWM output. |
| 51 | RC3/REFO/SCL/SCK | bidirectional | Digital I/O with Schmitt Trigger input, reference clock output REFO, and MSSP I2C clock SCL or SPI clock SCK. |
| 52 | RF6/MDOUT | bidirectional | Digital I/O (PORTF) with Data Signal Modulator output MDOUT (CMOS output). |
| 53 | RF7 | bidirectional | Digital I/O (PORTF, Schmitt Trigger input) with no alternate function listed in the pinout table. |
| 54 | RD0/C1INA/PSP0 | bidirectional | Digital I/O with Schmitt Trigger input, Comparator 1 Input A (C1INA), and Parallel Slave Port data bit 0. |
| 55 | RD1/C1INB/PSP1 | bidirectional | Digital I/O with Schmitt Trigger input, Comparator 1 Input B (C1INB), and Parallel Slave Port data bit 1. |
| 56 | VSS | power_in | Ground reference for logic and I/O pins. |
| 57 | VDD | power_in | Positive supply for logic and I/O pins. |
| 58 | RD2/C2INA/PSP2 | bidirectional | Digital I/O with Schmitt Trigger input, Comparator 2 Input A (C2INA), and Parallel Slave Port data bit 2. |
| 59 | RD3/C2INB/CTMUI/PSP3 | bidirectional | Digital I/O with Schmitt Trigger input, Comparator 2 Input B (C2INB), CTMU pulse generator charger for C2INB (CTMUI), and Parallel Slave Port data bit 3. |
| 60 | RE6/RX2/DT2 | bidirectional | Digital I/O with Schmitt Trigger input, alternate functions EUSART2 asynchronous receive (RX2) and synchronous data (DT2). |
| 61 | RE7/TX2/CK2 | bidirectional | Digital I/O with Schmitt Trigger input, alternate functions EUSART2 asynchronous transmit (TX2) and synchronous clock (CK2). |
| 62 | RC4/SDA/SDI | bidirectional | Digital I/O with Schmitt Trigger input, MSSP I2C data (SDA), and SPI data input (SDI). |
| 63 | RC5/SDO | bidirectional | Digital I/O with Schmitt Trigger input and MSSP SPI data output (SDO). |
| 64 | RC6/CCP3 | bidirectional | Digital I/O with Schmitt Trigger input and CCP3 capture input / compare-PWM3 output on the 64-pin assignment. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-64(10x10) |
| Category | Embedded Processors & Controllers |
| Pins | 64 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Ambient temperature under bias | -40 | 125 | °C | 527 | |||
| Storage temperature | -65 | 150 | °C | 527 | |||
| Voltage on MCLR with respect to VSS | -0.3 | 9 | V | 527 | |||
| Voltage on any digital only I/O pin with respect to VSS (except VDD) | -0.3 | 7.5 | V | 527 | |||
| Voltage on any combined digital and analog pin with respect to VSS (except VDD and MCLR) | -0.3 | V | max printed as (VDD + 0.3V) | 527 | |||
| Voltage on VDD with respect to VSS (PIC18LF66K80) | -0.3 | 3.66 | V | PIC18LF66K80 | 527 | ||
| Total power dissipation | 1 | W | Note 1: Pdis = VDD x {IDD - IOH} + {(VDD - VOH) x IOH} + (VOL x IOL) | 527 | |||
| Input clamp current | IIK | -20 | 20 | mA | VI < 0 or VI > VDD | 527 | |
| Output clamp current | IOK | -20 | 20 | mA | VO < 0 or VO > VDD | 527 | |
| Maximum output current sunk by PORTA<5:0> and any PORTF and PORTG I/O pins | 2 | mA | 527 | ||||
| Maximum output current sourced by PORTA<5:0> and any PORTF, PORTG and PORTH I/O pins | 2 | mA | 527 | ||||
| VDD supply voltage with voltage regulator disabled | 3.6 | V | Figure 31-2 note 1: when the on-chip voltage regulator is disabled, VDD must be maintained so that VDD ≤ 3.6V | 528 | |||
| VDD supply voltage axis minimum (regulator disabled) | VDD | 1.8 | V | Figure 31-2, PIC18LF66K80 voltage-frequency graph axis | 528 |
CAD (KiCad official)
- Symbol:
PIC18LF66K80-I - Footprint:
Package_QFP:TQFP-64_10x10mm_P0.5mm - 3D model: TQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files:
pic18lf66k80-i-etched.step/pic18lf66k80-i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18lf66k80-i.step/pic18lf66k80-i.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (598 pp, sha256
95222cf15424a99c, retrieved 2026-10-28, 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).