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.
Loads when you scroll to it. Unloads after 5 minutes in the background.
Download PDF
Contents

README

markdown

PIC18F85K22-I

Microchip Tech · Pre-ordered MCUs · TQFP-80(12x12)

PIC18F85K22-I from Microchip Tech, in a TQFP-80(12x12). 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 RH2/AN21/A18 bidirectional Digital I/O, Analog Input 21 and External Address/Data 18 (multiplexed).
2 RH3/AN20/A19 bidirectional Digital I/O, Analog Input 20 and External Address/Data 19 (multiplexed).
3 RE1/P2C/WR/AD9 bidirectional Digital I/O, ECCP2 PWM Output C, Parallel Slave Port write strobe and External Memory Address/Data 9.
4 RE0/P2D/RD/AD8 bidirectional Digital I/O, ECCP2 PWM Output D, Parallel Slave Port read strobe and External Memory Address/Data 8.
5 RG0/ECCP3/P3A bidirectional Digital I/O, ECCP3 capture/compare input or output and ECCP3 PWM Output A.
6 RG1/TX2/CK2/AN19/C3OUT bidirectional Digital I/O, EUSART2 asynchronous transmit or synchronous clock, Analog Input 19 and Comparator 3 output.
7 RG2/RX2/DT2/AN18/C3INA bidirectional Digital I/O, EUSART2 asynchronous receive or synchronous data, Analog Input 18 and Comparator 3 Input A.
8 RG3/CCP4/AN17/P3D/C3INB bidirectional Digital I/O, CCP4 capture/compare/PWM, Analog Input 17, ECCP3 PWM Output D and Comparator 3 Input B.
9 MCLR/RG5 input Master Clear input or programming voltage input, active-low Reset to the device; RG5 is general purpose input-only when MCLR is disabled.
10 RG4/RTCC/T7CKI/T5G/CCP5/AN16/P1D/C3INC bidirectional Digital I/O, RTCC output, Timer7 clock input, Timer5 gate input, CCP5, Analog Input 16, ECCP1 PWM Output D and Comparator 3 Input C.
11 VSS power_in Ground reference for logic and I/O pins.
12 VDDCORE/VCAP power_in Core logic power or external filter capacitor connection; a 10 µF capacitor to ground is required when the regulator is enabled.
13 RF7/AN5/SS1 bidirectional Digital I/O, Analog Input 5 and SPI1 slave select input.
14 RF6/AN11/C1INA bidirectional Digital I/O, Analog Input 11 and Comparator 1 Input A.
15 RF5/AN10/C1INB bidirectional Digital I/O, Analog Input 10 and Comparator 1 Input B.
16 RF4/AN9/C2INA bidirectional Digital I/O, Analog Input 9 and Comparator 2 Input A.
17 RF3/AN8/C2INB/CTMUI bidirectional Digital I/O, Analog Input 8, Comparator 2 Input B and CTMU pulse generator charger for the C2INB input.
18 RF2/AN7/C1OUT bidirectional Digital I/O, Analog Input 7 and Comparator 1 output.
19 RH7/CCP6/P1B/AN15 bidirectional Digital I/O, CCP6 capture/compare/PWM, ECCP1 PWM Output B and Analog Input 15.
20 RH6/CCP7/P1C/AN14/C1INC bidirectional Digital I/O, CCP7 capture/compare/PWM, ECCP1 PWM Output C, Analog Input 14 and Comparator 1 Input C.
21 RH5/CCP8/P3B/AN13/C2IND bidirectional Digital I/O, CCP8 capture/compare/PWM, ECCP3 PWM Output B, Analog Input 13 and Comparator 2 Input D.
22 RH4/CCP9/P3C/AN12/C2INC bidirectional Digital I/O, CCP9 capture/compare/PWM, ECCP3 PWM Output C, Analog Input 12 and Comparator 2 Input C.
23 RF1/AN6/C2OUT/CTDIN bidirectional Digital I/O, Analog Input 6, Comparator 2 output and CTMU pulse delay input.
24 ENVREG input Enable for on-chip voltage regulator, tied to VDD to enable or to ground to disable.
25 AVDD power_in Positive supply for analog modules.
26 AVSS power_in Ground reference for analog modules.
27 RA3/AN3/VREF+ bidirectional Digital I/O, Analog Input 3 and A/D reference voltage (high) input.
28 RA2/AN2/VREF- bidirectional Digital I/O, Analog Input 2 and A/D reference voltage (low) input.
29 RA1/AN1 bidirectional Digital I/O and Analog Input 1.
30 RA0/AN0/ULPWU bidirectional Digital I/O, Analog Input 0 and Ultra Low-Power Wake-up input.
31 VSS power_in Ground reference for logic and I/O pins.
32 VDD power_in Positive supply for logic and I/O pins.
33 RA5/AN4/T1CKI/T3G/HLVDIN bidirectional Digital I/O, Analog Input 4, Timer1 clock input, Timer3 gate input and High/Low-Voltage Detect input.
34 RA4/T0CKI bidirectional Digital I/O and Timer0 external clock input.
35 RC1/SOSCI/ECCP2/P2A bidirectional Digital I/O, SOSC oscillator input, ECCP2 capture/compare/PWM and Enhanced PWM Output A.
36 RC0/SOSCO/SCKLI bidirectional Digital I/O, SOSC oscillator output and digital SOSC clock input.
37 RC6/TX1/CK1 bidirectional Digital I/O, EUSART1 asynchronous transmit or synchronous clock.
38 RC7/RX1/DT1 bidirectional Digital I/O, EUSART1 asynchronous receive or synchronous data.
39 RJ4/BA0 bidirectional Digital I/O and External Memory Byte Address 0 control output.
40 RJ5/CE bidirectional Digital I/O and External memory chip enable control output.
41 RJ6/LB bidirectional Digital I/O and External memory lower byte enable control output.
42 RJ7/UB bidirectional Digital I/O and External memory upper byte enable control output.
43 RC2/ECCP1/P1A bidirectional Digital I/O, ECCP1 capture/compare/PWM and Enhanced PWM1 Output A.
44 RC3/SCK1/SCL1 bidirectional Digital I/O, MSSP1 SPI clock input/output and I2C clock input/output.
45 RC4/SDI1/SDA1 bidirectional Digital I/O, MSSP1 SPI data input and I2C data I/O.
46 RC5/SDO1 bidirectional Digital I/O and MSSP1 SPI data output.
47 RB7/KBI3/PGD bidirectional Digital I/O, interrupt-on-change pin and ICSP/ICD data pin.
48 VDD power_in Positive supply for logic and I/O pins.
49 OSC1/CLKI/RA7 input Oscillator crystal or external clock input, or general purpose I/O pin RA7 in internal oscillator modes.
50 OSC2/CLKO/RA6 output Oscillator crystal or clock output (CLKO at FOSC/4), or general purpose I/O pin RA6 in internal oscillator modes.
51 VSS power_in Ground reference for logic and I/O pins.
52 RB6/KBI2/PGC bidirectional Digital I/O, interrupt-on-change pin and ICSP/ICD programming clock pin.
53 RB5/KBI1/T3CKI/T1G bidirectional Digital I/O, interrupt-on-change pin, Timer3 clock input and Timer1 external clock gate input.
54 RB4/KBI0 bidirectional Digital I/O and interrupt-on-pin change input.
55 RB3/INT3/CTED2/ECCP2/P2A bidirectional Digital I/O, External Interrupt 3, CTMU Edge 2 input, ECCP2 capture/compare/PWM and Enhanced PWM Output A.
56 RB2/INT2/CTED1 bidirectional Digital I/O, External Interrupt 2 and CTMU Edge 1 input.
57 RB1/INT1 bidirectional Digital I/O and External Interrupt 1 input.
58 RB0/INT0/FLT0 bidirectional Digital I/O, External Interrupt 0 and Enhanced PWM Fault input for ECCP1/2/3.
59 RJ3/WRH bidirectional Digital I/O and External memory high-byte write control.
60 RJ2/WRL bidirectional Digital I/O and External Memory Bus write low-byte control.
61 RJ1/OE bidirectional Digital I/O and External memory output enable control output.
62 RJ0/ALE bidirectional Digital I/O and External memory address latch enable control output.
63 RD7/SS2/PSP7/AD7 bidirectional Digital I/O, SPI2 slave select input, Parallel Slave Port data and External Memory Address/Data 7.
64 RD6/SCK2/SCL2/PSP6/AD6 bidirectional Digital I/O, SPI2 clock, I2C2 clock, Parallel Slave Port data and External Memory Address/Data 6.
65 RD5/SDI2/SDA2/PSP5/AD5 bidirectional Digital I/O, SPI2 data input, I2C2 data I/O, Parallel Slave Port data and External Memory Address/Data 5.
66 RD4/SDO2/PSP4/AD4 bidirectional Digital I/O, SPI2 data output, Parallel Slave Port data and External Memory Address/Data 4.
67 RD3/PSP3/AD3 bidirectional Digital I/O, Parallel Slave Port data and External Memory Address/Data 3.
68 RD2/PSP2/AD2 bidirectional Digital I/O, Parallel Slave Port data and External Memory Address/Data 2.
69 RD1/T5CKI/T7G/PSP1/AD1 bidirectional Digital I/O, Timer5 clock input, Timer7 gate input, Parallel Slave Port data and External Memory Address/Data 1.
70 VSS power_in Ground reference for logic and I/O pins.
71 VDD power_in Positive supply for logic and I/O pins.
72 RD0/PSP0/CTPLS/AD0 bidirectional Digital I/O, Parallel Slave Port data, CTMU pulse generator output and External Memory Address/Data 0.
73 RE7/ECCP2/P2A/AD15 bidirectional Digital I/O, ECCP2 capture/compare/PWM, ECCP2 PWM Output A and External Memory Address/Data 15.
74 RE6/P1B/CCP6/AD14 bidirectional Digital I/O, ECCP1 PWM Output B, CCP6 capture/compare/PWM and External Memory Address/Data 14.
75 RE5/P1C/CCP7/AD13 bidirectional Digital I/O, ECCP1 PWM Output C, CCP7 capture/compare/PWM and External Memory Address/Data 13.
76 RE4/P3B/CCP8/AD12 bidirectional Digital I/O, ECCP3 PWM Output B, CCP8 capture/compare/PWM and External Memory Address/Data 12.
77 RE3/P3C/CCP9/REFO/AD11 bidirectional Digital I/O, ECCP3 PWM Output C, CCP9 capture/compare/PWM, reference clock output and External Memory Address/Data 11.
78 RE2/P2B/CCP10/CS/AD10 bidirectional Digital I/O, ECCP2 PWM Output B, CCP10 capture/compare/PWM, Parallel Slave Port chip select and External Memory Address/Data 10.
79 RH0/AN23/A16 bidirectional Digital I/O, Analog Input 23 and External Memory Address line 16.
80 RH1/AN22/A17 bidirectional Digital I/O, Analog Input 22 and External Address/Data line 17.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package TQFP-80(12x12)
Category Embedded Processors & Controllers
Pins 80

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 Voltage Range 1.8 5.5 V 1
Operating Speed 64 MHz up to, using PLL with external or internal oscillator 1
Internal Oscillator Block 16 MHz Accuracy -2 2 % 16 MHz HF-INTOSC clock 7

CAD (KiCad official)

  • Symbol: PIC18F85K22-I
  • Footprint: Package_QFP:TQFP-80_12x12mm_P0.5mm
  • 3D model: TQFP-80(12x12) (KiCad packages3D, STEP)
  • 3D model files: pic18f85k22-i-etched.step / pic18f85k22-i-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); pic18f85k22-i.step / pic18f85k22-i.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (530 pp, sha256 1983a9feb3e07767, retrieved 2026-11-02, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-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