main
Ray
Publish 0.1.0
524ce8f
PIC18F66K90-I
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-64(10x10)
PIC18F66K90-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 | RE1/LCDBIAS2/P2C | bidirectional | PORTE bit 1 digital I/O (ST), also LCD BIAS2 analog input and ECCP2 PWM Output C. |
| 2 | RE0/LCDBIAS1/P2D | bidirectional | PORTE bit 0 digital I/O (ST), also LCD BIAS1 analog input and ECCP2 PWM Output D. |
| 3 | RG0/ECCP3/P3A | bidirectional | PORTG bit 0 digital I/O (ST), also Capture 3 input/Compare 3 output/PWM3 output and ECCP3 PWM Output A. |
| 4 | RG1/TX2/CK2/AN19/C3OUT | bidirectional | PORTG bit 1 digital I/O (ST), also EUSART2 asynchronous transmit, synchronous clock, Analog Input 19 and Comparator 3 output. |
| 5 | RG2/RX2/DT2/AN18/C3INA | bidirectional | PORTG bit 2 digital I/O (ST), also EUSART2 asynchronous receive/synchronous data, Analog Input 18 and Comparator 3 Input A. |
| 6 | RG3/CCP4/AN17/P3D/C3INB | bidirectional | PORTG bit 3 digital I/O (ST), also Capture 4 input/Compare 4 output/PWM4 output, analog input AN17, ECCP3 PWM Output D and Comparator 3 Input B. |
| 7 | MCLR/RG5 | input | Active-low Master Clear Reset input or programming voltage input (ST); also general purpose input-only pin RG5. |
| 8 | RG4/SEG26/RTCC/T7CKI/T5G/CCP5/AN16/P1D/C3INC | bidirectional | PORTG bit 4 digital I/O (ST), also LCD SEG26, RTCC output, Timer7 clock input, Timer5 gate input, CCP5, Analog Input 16, ECCP1 PWM Output D and Comparator 3 Input C. |
| 9 | VSS | power_in | Ground reference for logic and I/O pins. |
| 10 | VDDCORE/VCAP | power_in | Core logic power or external filter capacitor connection (regulator enabled/disabled); 10 µF low-ESR capacitor to ground required when regulator is enabled. |
| 11 | RF7/AN5/SS1/SEG25 | bidirectional | PORTF bit 7 digital I/O (ST), also Analog Input 5, SPI1 slave select input and LCD SEG25 output. |
| 12 | RF6/AN11/SEG24/C1INA | bidirectional | PORTF bit 6 digital I/O (ST), also Analog Input 11, LCD SEG24 output and Comparator 1 Input A. |
| 13 | RF5/AN10/CVREF/SEG23/C1INB | bidirectional | PORTF bit 5 digital I/O (ST), also Analog Input 10, comparator reference voltage output, LCD SEG23 output and Comparator 1 Input B. |
| 14 | RF4/AN9/SEG22/C2INA | bidirectional | PORTF bit 4 digital I/O (ST), also Analog Input 9, LCD SEG22 output and Comparator 2 Input A. |
| 15 | RF3/AN8/SEG21/C2INB/CTMUI | bidirectional | PORTF bit 3 digital I/O (ST), also Analog Input 8, LCD SEG21 output, Comparator 2 Input B and CTMU pulse generator charger for the C2INB input. |
| 16 | RF2/AN7/C1OUT/SEG20 | bidirectional | PORTF bit 2 digital I/O (ST), also Analog Input 7, Comparator 1 output and LCD SEG20 output. |
| 17 | RF1/AN6/C2OUT/SEG19/CTDIN | bidirectional | PORTF bit 1 digital I/O (ST), also Analog Input 6, Comparator 2 output, LCD SEG19 output and CTMU pulse delay input. |
| 18 | ENVREG | input | Enable for on-chip voltage regulator (ST); tie to VDD to enable or to ground to disable. |
| 19 | AVDD | power_in | Positive supply for analog modules; must always be connected. |
| 20 | AVSS | power_in | Ground reference for analog modules; must always be connected. |
| 21 | RA3/AN3/VREF+ | bidirectional | PORTA bit 3 digital I/O (TTL), also Analog Input 3 and A/D reference voltage (high) input. |
| 22 | RA2/AN2/VREF- | bidirectional | PORTA bit 2 digital I/O (TTL), also Analog Input 2 and A/D reference voltage (low) input. |
| 23 | RA1/AN1/SEG18 | bidirectional | PORTA bit 1 digital I/O (TTL), also Analog Input 1 and LCD SEG18 output. |
| 24 | RA0/AN0/ULPWU | bidirectional | PORTA bit 0 digital I/O (TTL), also Analog Input 0 and Ultra Low-Power Wake-up input. |
| 25 | VSS | power_in | Ground reference for logic and I/O pins. |
| 26 | VDD | power_in | Positive supply for logic and I/O pins. |
| 27 | RA5/AN4/SEG15/T1CKI/T3G/HLVDIN | bidirectional | PORTA bit 5 digital I/O (TTL), also Analog Input 4, LCD SEG15 output, Timer1 clock input, Timer3 gate input and HLVD input. |
| 28 | RA4/T0CKI/SEG14 | bidirectional | PORTA bit 4 digital I/O (ST), also Timer0 external clock input and LCD SEG14 output. |
| 29 | RC1/SOSCI/ECCP2/P2A/SEG32 | bidirectional | PORTC bit 1 digital I/O (ST), also SOSC oscillator input, ECCP2 capture/compare/PWM (default CCP2MX=1), PWM2 Output A and LCD SEG32 output. |
| 30 | RC0/SOSCO/SCLKI | bidirectional | PORTC bit 0 digital I/O (ST), also SOSC oscillator output and digital SOSC clock input. |
| 31 | RC6/TX1/CK1/SEG27 | bidirectional | PORTC bit 6 digital I/O (ST), also EUSART1 asynchronous transmit, synchronous clock and LCD SEG27 output. |
| 32 | RC7/RX1/DT1/SEG28 | bidirectional | PORTC bit 7 digital I/O (ST), also EUSART1 asynchronous receive/synchronous data and LCD SEG28 output. |
| 33 | RC2/ECCP1/P1A/SEG13 | bidirectional | PORTC bit 2 digital I/O (ST), also Capture 1 input/Compare 1 output/PWM1 output, ECCP1 PWM Output A and LCD SEG13 output. |
| 34 | RC3/SCK1/SCL1/SEG17 | bidirectional | PORTC bit 3 digital I/O (ST), also MSSP1 SPI/I2C clock and LCD SEG17 output. |
| 35 | RC4/SDI1/SDA1/SEG16 | bidirectional | PORTC bit 4 digital I/O (ST), also SPI1 data in, I2C1 data I/O and LCD SEG16 output. |
| 36 | RC5/SDO1/SEG12 | bidirectional | PORTC bit 5 digital I/O (ST), also SPI1 data out and LCD SEG12 output. |
| 37 | RB7/KBI3/PGD | bidirectional | PORTB bit 7 digital I/O (TTL) with interrupt-on-change and ICSP/In-Circuit Debugger programming data pin. |
| 38 | VDD | power_in | Positive supply for logic and I/O pins. |
| 39 | OSC1/CLKI/RA7 | bidirectional | Oscillator crystal or external clock input (CMOS), or general purpose I/O RA7 (TTL). |
| 40 | OSC2/CLKO/RA6 | bidirectional | Oscillator crystal output or CLKO at 1/4 the OSC1 frequency in certain oscillator modes, or general purpose I/O RA6 (TTL). |
| 41 | VSS | power_in | Ground reference for logic and I/O pins. |
| 42 | RB6/KBI2/PGC | bidirectional | PORTB bit 6 digital I/O (TTL) with interrupt-on-change and ICSP/In-Circuit Debugger programming clock pin. |
| 43 | RB5/KBI1/SEG29/T3CKI/T1G | bidirectional | PORTB bit 5 digital I/O (TTL) with interrupt-on-change, LCD SEG29 output, Timer3 clock input and Timer1 gate input. |
| 44 | RB4/KBI0/SEG11 | bidirectional | PORTB bit 4 digital I/O (TTL) with interrupt-on-change and LCD SEG11 output. |
| 45 | RB3/INT3/SEG10/CTED2/ECCP2/P2A | bidirectional | PORTB bit 3 digital I/O (TTL), also External Interrupt 3, LCD SEG10, CTMU Edge 2 input, ECCP2 and PWM2 Output A. |
| 46 | RB2/INT2/SEG9/CTED1 | bidirectional | PORTB bit 2 digital I/O (TTL), also External Interrupt 2, LCD SEG9 output and CTMU Edge 1 input. |
| 47 | RB1/INT1/SEG8 | bidirectional | PORTB bit 1 digital I/O (TTL), also External Interrupt 1 and LCD SEG8 output. |
| 48 | RB0/INT0/SEG30/FLT0 | bidirectional | PORTB bit 0 digital I/O (TTL), also External Interrupt 0, LCD SEG30 output and Enhanced PWM Fault input for ECCP1/2/3. |
| 49 | RD7/SEG7/SS2 | bidirectional | PORTD bit 7 digital I/O (ST), also LCD SEG7 output and SPI slave select input. |
| 50 | RD6/SEG6/SCK2/SCL2 | bidirectional | PORTD bit 6 digital I/O (ST), also LCD SEG6 output and MSSP2 SPI/I2C synchronous serial clock. |
| 51 | RD5/SEG5/SDI2/SDA2 | bidirectional | PORTD bit 5 digital I/O (ST), also LCD SEG5 output, SPI2 data in and I2C2 data I/O. |
| 52 | RD4/SEG4/SDO2 | bidirectional | PORTD bit 4 digital I/O (ST), also LCD SEG4 output and SPI2 data out. |
| 53 | RD3/SEG3 | bidirectional | PORTD bit 3 digital I/O (ST) and LCD SEG3 output. |
| 54 | RD2/SEG2 | bidirectional | PORTD bit 2 digital I/O (ST) and LCD SEG2 output. |
| 55 | RD1/SEG1/T5CKI/T7G | bidirectional | PORTD bit 1 digital I/O (ST), also LCD SEG1 output, Timer5 clock input and Timer7 gate input. |
| 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 | RD0/SEG0/CTPLS | bidirectional | PORTD bit 0 digital I/O (ST), also LCD SEG0 output and CTMU pulse generator output. |
| 59 | RE7/ECCP2/SEG31/P2A | bidirectional | PORTE bit 7 digital I/O (ST), also ECCP2 (alternate assignment when CCP2MX is cleared), LCD SEG31 output and ECCP2 PWM Output A. |
| 60 | RE6/COM3/P1B/CCP6 | bidirectional | PORTE bit 6 digital I/O (ST), also LCD COM3 output, ECCP1 PWM Output B and CCP6. |
| 61 | RE5/COM2/P1C/CCP7 | bidirectional | PORTE bit 5 digital I/O (ST), also LCD COM2 output, ECCP1 PWM Output C and CCP7. |
| 62 | RE4/COM1/P3B/CCP8 | bidirectional | PORTE bit 4 digital I/O (ST), also LCD COM1 output, ECCP3 PWM Output B and CCP8. |
| 63 | RE3/COM0/P3C/CCP9/REFO | bidirectional | PORTE bit 3 digital I/O (ST), also LCD COM0 output, ECCP3 PWM Output C, CCP9 and reference clock output. |
| 64 | RE2/LCDBIAS3/P2B/CCP10 | bidirectional | PORTE bit 2 digital I/O (ST), also LCD BIAS3 input, ECCP2 PWM Output B and CCP10. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-64(10x10) |
| Category | Single Chip Microcomputer/Microcontroller |
| 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 |
|---|---|---|---|---|---|---|---|
| Operating Frequency | 0 | 64 | MHz | DC, 64 MHz | 11 | ||
| PLL input frequency range (HS/EC) | 4 | 16 | MHz | PLL enabled only when HS or EC oscillator frequency is within the 4 MHz to 16 MHz input range | 48 | ||
| External RC oscillator resistor | REXT | 3 | 100 | kΩ | Recommended values, RC/RCIO mode | 48 | |
| External RC oscillator capacitor | CEXT | 20 | 300 | pF | Recommended values, RC/RCIO mode | 48 | |
| EC mode external clock frequency | 0 | 64 | MHz | EC 0 to 64 MHz (external clock) | 46 | ||
| EXTRC mode frequency | 0 | 4 | MHz | EXTRC 0 to 4 MHz (external RC) | 46 | ||
| Internal oscillator accuracy | -2 | 2 | % | 16 MHz internal oscillator block | 9 | ||
| VCAP/VDDCORE capacitor ESR | 5 | Ω | Regulator enabled, low-ESR (< 5Ω) capacitor required | 37 | |||
| VCAP/VDDCORE capacitor value | 10 | µF | Regulator enabled, connected to ground | 37 | |||
| Digital I/O input tolerance | 5.5 | V | All digital ports are 5.5V input tolerant | 153 |
CAD (KiCad official)
- Symbol:
PIC18F66K90-I - Footprint:
Package_QFP:TQFP-64_10x10mm_P0.5mm - 3D model: TQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files:
pic18f66k90-i-etched.step/pic18f66k90-i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18f66k90-i.step/pic18f66k90-i.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (570 pp, sha256
fcd95dc4fd3f723d, retrieved 2026-10-31, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-sonnet-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).
# PIC18F66K90-I
**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-64(10x10)
PIC18F66K90-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 | RE1/LCDBIAS2/P2C | bidirectional | PORTE bit 1 digital I/O (ST), also LCD BIAS2 analog input and ECCP2 PWM Output C. |
| 2 | RE0/LCDBIAS1/P2D | bidirectional | PORTE bit 0 digital I/O (ST), also LCD BIAS1 analog input and ECCP2 PWM Output D. |
| 3 | RG0/ECCP3/P3A | bidirectional | PORTG bit 0 digital I/O (ST), also Capture 3 input/Compare 3 output/PWM3 output and ECCP3 PWM Output A. |
| 4 | RG1/TX2/CK2/AN19/C3OUT | bidirectional | PORTG bit 1 digital I/O (ST), also EUSART2 asynchronous transmit, synchronous clock, Analog Input 19 and Comparator 3 output. |
| 5 | RG2/RX2/DT2/AN18/C3INA | bidirectional | PORTG bit 2 digital I/O (ST), also EUSART2 asynchronous receive/synchronous data, Analog Input 18 and Comparator 3 Input A. |
| 6 | RG3/CCP4/AN17/P3D/C3INB | bidirectional | PORTG bit 3 digital I/O (ST), also Capture 4 input/Compare 4 output/PWM4 output, analog input AN17, ECCP3 PWM Output D and Comparator 3 Input B. |
| 7 | MCLR/RG5 | input | Active-low Master Clear Reset input or programming voltage input (ST); also general purpose input-only pin RG5. |
| 8 | RG4/SEG26/RTCC/T7CKI/T5G/CCP5/AN16/P1D/C3INC | bidirectional | PORTG bit 4 digital I/O (ST), also LCD SEG26, RTCC output, Timer7 clock input, Timer5 gate input, CCP5, Analog Input 16, ECCP1 PWM Output D and Comparator 3 Input C. |
| 9 | VSS | power_in | Ground reference for logic and I/O pins. |
| 10 | VDDCORE/VCAP | power_in | Core logic power or external filter capacitor connection (regulator enabled/disabled); 10 µF low-ESR capacitor to ground required when regulator is enabled. |
| 11 | RF7/AN5/SS1/SEG25 | bidirectional | PORTF bit 7 digital I/O (ST), also Analog Input 5, SPI1 slave select input and LCD SEG25 output. |
| 12 | RF6/AN11/SEG24/C1INA | bidirectional | PORTF bit 6 digital I/O (ST), also Analog Input 11, LCD SEG24 output and Comparator 1 Input A. |
| 13 | RF5/AN10/CVREF/SEG23/C1INB | bidirectional | PORTF bit 5 digital I/O (ST), also Analog Input 10, comparator reference voltage output, LCD SEG23 output and Comparator 1 Input B. |
| 14 | RF4/AN9/SEG22/C2INA | bidirectional | PORTF bit 4 digital I/O (ST), also Analog Input 9, LCD SEG22 output and Comparator 2 Input A. |
| 15 | RF3/AN8/SEG21/C2INB/CTMUI | bidirectional | PORTF bit 3 digital I/O (ST), also Analog Input 8, LCD SEG21 output, Comparator 2 Input B and CTMU pulse generator charger for the C2INB input. |
| 16 | RF2/AN7/C1OUT/SEG20 | bidirectional | PORTF bit 2 digital I/O (ST), also Analog Input 7, Comparator 1 output and LCD SEG20 output. |
| 17 | RF1/AN6/C2OUT/SEG19/CTDIN | bidirectional | PORTF bit 1 digital I/O (ST), also Analog Input 6, Comparator 2 output, LCD SEG19 output and CTMU pulse delay input. |
| 18 | ENVREG | input | Enable for on-chip voltage regulator (ST); tie to VDD to enable or to ground to disable. |
| 19 | AVDD | power_in | Positive supply for analog modules; must always be connected. |
| 20 | AVSS | power_in | Ground reference for analog modules; must always be connected. |
| 21 | RA3/AN3/VREF+ | bidirectional | PORTA bit 3 digital I/O (TTL), also Analog Input 3 and A/D reference voltage (high) input. |
| 22 | RA2/AN2/VREF- | bidirectional | PORTA bit 2 digital I/O (TTL), also Analog Input 2 and A/D reference voltage (low) input. |
| 23 | RA1/AN1/SEG18 | bidirectional | PORTA bit 1 digital I/O (TTL), also Analog Input 1 and LCD SEG18 output. |
| 24 | RA0/AN0/ULPWU | bidirectional | PORTA bit 0 digital I/O (TTL), also Analog Input 0 and Ultra Low-Power Wake-up input. |
| 25 | VSS | power_in | Ground reference for logic and I/O pins. |
| 26 | VDD | power_in | Positive supply for logic and I/O pins. |
| 27 | RA5/AN4/SEG15/T1CKI/T3G/HLVDIN | bidirectional | PORTA bit 5 digital I/O (TTL), also Analog Input 4, LCD SEG15 output, Timer1 clock input, Timer3 gate input and HLVD input. |
| 28 | RA4/T0CKI/SEG14 | bidirectional | PORTA bit 4 digital I/O (ST), also Timer0 external clock input and LCD SEG14 output. |
| 29 | RC1/SOSCI/ECCP2/P2A/SEG32 | bidirectional | PORTC bit 1 digital I/O (ST), also SOSC oscillator input, ECCP2 capture/compare/PWM (default CCP2MX=1), PWM2 Output A and LCD SEG32 output. |
| 30 | RC0/SOSCO/SCLKI | bidirectional | PORTC bit 0 digital I/O (ST), also SOSC oscillator output and digital SOSC clock input. |
| 31 | RC6/TX1/CK1/SEG27 | bidirectional | PORTC bit 6 digital I/O (ST), also EUSART1 asynchronous transmit, synchronous clock and LCD SEG27 output. |
| 32 | RC7/RX1/DT1/SEG28 | bidirectional | PORTC bit 7 digital I/O (ST), also EUSART1 asynchronous receive/synchronous data and LCD SEG28 output. |
| 33 | RC2/ECCP1/P1A/SEG13 | bidirectional | PORTC bit 2 digital I/O (ST), also Capture 1 input/Compare 1 output/PWM1 output, ECCP1 PWM Output A and LCD SEG13 output. |
| 34 | RC3/SCK1/SCL1/SEG17 | bidirectional | PORTC bit 3 digital I/O (ST), also MSSP1 SPI/I2C clock and LCD SEG17 output. |
| 35 | RC4/SDI1/SDA1/SEG16 | bidirectional | PORTC bit 4 digital I/O (ST), also SPI1 data in, I2C1 data I/O and LCD SEG16 output. |
| 36 | RC5/SDO1/SEG12 | bidirectional | PORTC bit 5 digital I/O (ST), also SPI1 data out and LCD SEG12 output. |
| 37 | RB7/KBI3/PGD | bidirectional | PORTB bit 7 digital I/O (TTL) with interrupt-on-change and ICSP/In-Circuit Debugger programming data pin. |
| 38 | VDD | power_in | Positive supply for logic and I/O pins. |
| 39 | OSC1/CLKI/RA7 | bidirectional | Oscillator crystal or external clock input (CMOS), or general purpose I/O RA7 (TTL). |
| 40 | OSC2/CLKO/RA6 | bidirectional | Oscillator crystal output or CLKO at 1/4 the OSC1 frequency in certain oscillator modes, or general purpose I/O RA6 (TTL). |
| 41 | VSS | power_in | Ground reference for logic and I/O pins. |
| 42 | RB6/KBI2/PGC | bidirectional | PORTB bit 6 digital I/O (TTL) with interrupt-on-change and ICSP/In-Circuit Debugger programming clock pin. |
| 43 | RB5/KBI1/SEG29/T3CKI/T1G | bidirectional | PORTB bit 5 digital I/O (TTL) with interrupt-on-change, LCD SEG29 output, Timer3 clock input and Timer1 gate input. |
| 44 | RB4/KBI0/SEG11 | bidirectional | PORTB bit 4 digital I/O (TTL) with interrupt-on-change and LCD SEG11 output. |
| 45 | RB3/INT3/SEG10/CTED2/ECCP2/P2A | bidirectional | PORTB bit 3 digital I/O (TTL), also External Interrupt 3, LCD SEG10, CTMU Edge 2 input, ECCP2 and PWM2 Output A. |
| 46 | RB2/INT2/SEG9/CTED1 | bidirectional | PORTB bit 2 digital I/O (TTL), also External Interrupt 2, LCD SEG9 output and CTMU Edge 1 input. |
| 47 | RB1/INT1/SEG8 | bidirectional | PORTB bit 1 digital I/O (TTL), also External Interrupt 1 and LCD SEG8 output. |
| 48 | RB0/INT0/SEG30/FLT0 | bidirectional | PORTB bit 0 digital I/O (TTL), also External Interrupt 0, LCD SEG30 output and Enhanced PWM Fault input for ECCP1/2/3. |
| 49 | RD7/SEG7/SS2 | bidirectional | PORTD bit 7 digital I/O (ST), also LCD SEG7 output and SPI slave select input. |
| 50 | RD6/SEG6/SCK2/SCL2 | bidirectional | PORTD bit 6 digital I/O (ST), also LCD SEG6 output and MSSP2 SPI/I2C synchronous serial clock. |
| 51 | RD5/SEG5/SDI2/SDA2 | bidirectional | PORTD bit 5 digital I/O (ST), also LCD SEG5 output, SPI2 data in and I2C2 data I/O. |
| 52 | RD4/SEG4/SDO2 | bidirectional | PORTD bit 4 digital I/O (ST), also LCD SEG4 output and SPI2 data out. |
| 53 | RD3/SEG3 | bidirectional | PORTD bit 3 digital I/O (ST) and LCD SEG3 output. |
| 54 | RD2/SEG2 | bidirectional | PORTD bit 2 digital I/O (ST) and LCD SEG2 output. |
| 55 | RD1/SEG1/T5CKI/T7G | bidirectional | PORTD bit 1 digital I/O (ST), also LCD SEG1 output, Timer5 clock input and Timer7 gate input. |
| 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 | RD0/SEG0/CTPLS | bidirectional | PORTD bit 0 digital I/O (ST), also LCD SEG0 output and CTMU pulse generator output. |
| 59 | RE7/ECCP2/SEG31/P2A | bidirectional | PORTE bit 7 digital I/O (ST), also ECCP2 (alternate assignment when CCP2MX is cleared), LCD SEG31 output and ECCP2 PWM Output A. |
| 60 | RE6/COM3/P1B/CCP6 | bidirectional | PORTE bit 6 digital I/O (ST), also LCD COM3 output, ECCP1 PWM Output B and CCP6. |
| 61 | RE5/COM2/P1C/CCP7 | bidirectional | PORTE bit 5 digital I/O (ST), also LCD COM2 output, ECCP1 PWM Output C and CCP7. |
| 62 | RE4/COM1/P3B/CCP8 | bidirectional | PORTE bit 4 digital I/O (ST), also LCD COM1 output, ECCP3 PWM Output B and CCP8. |
| 63 | RE3/COM0/P3C/CCP9/REFO | bidirectional | PORTE bit 3 digital I/O (ST), also LCD COM0 output, ECCP3 PWM Output C, CCP9 and reference clock output. |
| 64 | RE2/LCDBIAS3/P2B/CCP10 | bidirectional | PORTE bit 2 digital I/O (ST), also LCD BIAS3 input, ECCP2 PWM Output B and CCP10. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-64(10x10) |
| Category | Single Chip Microcomputer/Microcontroller |
| 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 |
|---|---|---|---|---|---|---|---|
| Operating Frequency | | 0 | | 64 | MHz | DC, 64 MHz | 11 |
| PLL input frequency range (HS/EC) | | 4 | | 16 | MHz | PLL enabled only when HS or EC oscillator frequency is within the 4 MHz to 16 MHz input range | 48 |
| External RC oscillator resistor | REXT | 3 | | 100 | kΩ | Recommended values, RC/RCIO mode | 48 |
| External RC oscillator capacitor | CEXT | 20 | | 300 | pF | Recommended values, RC/RCIO mode | 48 |
| EC mode external clock frequency | | 0 | | 64 | MHz | EC 0 to 64 MHz (external clock) | 46 |
| EXTRC mode frequency | | 0 | | 4 | MHz | EXTRC 0 to 4 MHz (external RC) | 46 |
| Internal oscillator accuracy | | -2 | | 2 | % | 16 MHz internal oscillator block | 9 |
| VCAP/VDDCORE capacitor ESR | | | | 5 | Ω | Regulator enabled, low-ESR (< 5Ω) capacitor required | 37 |
| VCAP/VDDCORE capacitor value | | | 10 | | µF | Regulator enabled, connected to ground | 37 |
| Digital I/O input tolerance | | | | 5.5 | V | All digital ports are 5.5V input tolerant | 153 |
## CAD (KiCad official)
- Symbol: `PIC18F66K90-I`
- Footprint: `Package_QFP:TQFP-64_10x10mm_P0.5mm`
- 3D model: TQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files: `pic18f66k90-i-etched.step` / `pic18f66k90-i-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `pic18f66k90-i.step` / `pic18f66k90-i.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](docs/pic18f66k90-i-datasheet.pdf) (570 pp, sha256 `fcd95dc4fd3f723d`, retrieved 2026-10-31, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-sonnet-5-5` (text), consensus `claude-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).
[Datasheet PDF](docs/pic18f66k90-i-datasheet.pdf)