main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.0 · Ray
viewers pic18f65k40t-i-pt: viewers · Ray
package.json Publish 0.1.1 · Ray
page.json Set visibility: public · Ray
pic18f65k40t-i-pt-etched.glb pic18f65k40t-i-pt: factory component page (tier=mfr) · Ray
pic18f65k40t-i-pt-etched.step pic18f65k40t-i-pt: factory component page (tier=mfr) · Ray
pic18f65k40t-i-pt-hero.glb pic18f65k40t-i-pt: hero GLB from the etched model (keeps the MPN mark) · Ray
pic18f65k40t-i-pt-hero.overlay.json pic18f65k40t-i-pt: hero GLB from the etched model (keeps the MPN mark) · Ray
pic18f65k40t-i-pt.glb Publish 0.1.0 · Ray
pic18f65k40t-i-pt.kicad_mod Publish 0.1.0 · Ray
pic18f65k40t-i-pt.kicad_sym Publish 0.1.0 · Ray
pic18f65k40t-i-pt.lbr Publish 0.1.1 · Ray
pic18f65k40t-i-pt.step Publish 0.1.0 · Ray
README.md Publish 0.1.1 · Ray
verification.json Verified: Rebuilt by the parts factory: tier mfr, 64 pins · Ray

PIC18F65K40T-I

Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-64(10x10)

PIC18F65K40T-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 bidirectional PORTE bit 1 I/O; ANE1; IOCE1; RX3/DT3 (EUSART3, PPS input) (Table 1 p.7)
2 RE0 bidirectional PORTE bit 0 I/O; ANE0; IOCE0; CK3 (EUSART3, PPS input) (Table 1 p.7)
3 RG0 bidirectional PORTG bit 0 I/O; ANG0 (Table 1 p.8)
4 RG1 bidirectional PORTG bit 1 I/O; ANG1; CK2 (EUSART2, PPS input) (Table 1 p.8)
5 RG2 bidirectional PORTG bit 2 I/O; ANG2; C3IN0+; RX2/DT2 (EUSART2, PPS input) (Table 1 p.8)
6 RG3 bidirectional PORTG bit 3 I/O; ANG3; C3IN0-; CCP4 (PPS input) (Table 1 p.8)
7 VPP/~{MCLR}/RG5 input Programming voltage / master clear (reset) input; RG5 general purpose input; IOCG5 (Table 1 p.8)
8 RG4 bidirectional PORTG bit 4 I/O; ANG4; C3IN1-; T5G/T7CKI (PPS input); CCP5 (PPS input) (Table 1 p.8)
9 VSS power_in Ground reference (Table 1 p.8)
10 VDD power_in Positive supply (Table 1 p.8)
11 RF7 bidirectional PORTF bit 7 I/O; ANF7; C2IN3-/C1IN3-/C3IN3-; ~{SS1} (MSSP1, PPS input) (Table 1 p.8)
12 RF6 bidirectional PORTF bit 6 I/O; ANF6; C1IN0+ (Table 1 p.8)
13 RF5 bidirectional PORTF bit 5 I/O; ANF5; DAC1OUT1; C1IN1-/C2IN1- (Table 1 p.8)
14 RF4 bidirectional PORTF bit 4 I/O; ANF4; C2IN0+ (Table 1 p.8)
15 RF3 bidirectional PORTF bit 3 I/O; ANF3; C1IN2-/C2IN2-/C3IN2- (Table 1 p.8)
16 RF2 bidirectional PORTF bit 2 I/O; ANF2 (Table 1 p.8)
17 RF1 bidirectional PORTF bit 1 I/O; ANF1 (Table 1 p.8)
18 RF0 bidirectional PORTF bit 0 I/O; ANF0; C1IN0-/C2IN0- (Table 1 p.8)
19 RG7 bidirectional PORTG bit 7 I/O; ANG7; SMT2SIG1 (PPS input) (Table 1 p.8)
20 RG6 bidirectional PORTG bit 6 I/O; ANG6; SMT2WIN1 (PPS input) (Table 1 p.8)
21 RA3 bidirectional PORTA bit 3 I/O; ANA3; Vref+ (ADC and DAC positive reference) (Table 1 p.6)
22 RA2 bidirectional PORTA bit 2 I/O; ANA2; Vref- (ADC and DAC negative reference); C1IN1+/C2IN1+/C3IN1+ (Table 1 p.6)
23 RA1 bidirectional PORTA bit 1 I/O; ANA1; T2IN (PPS input) (Table 1 p.6)
24 RA0 bidirectional PORTA bit 0 I/O; ANA0; C1IN4-/C2IN4-/C3IN4-; T8IN (PPS input) (Table 1 p.6)
25 RH1 bidirectional PORTH bit 1 I/O; ADCACT (PPS input) (Table 1 p.8)
26 RH0 bidirectional PORTH bit 0 general purpose I/O (Table 1 p.8)
27 RA5 bidirectional PORTA bit 5 I/O; ANA5; T3G (PPS input) (Table 1 p.6)
28 RA4 bidirectional PORTA bit 4 I/O; ANA4; T0CKI (PPS input) (Table 1 p.6)
29 RC1 bidirectional PORTC bit 1 I/O; IOCC1; T6IN (PPS input); RX4/DT4 (EUSART4, PPS input); SOSCI secondary oscillator input (Table 1 p.7)
30 RC0 bidirectional PORTC bit 0 I/O; IOCC0; T1CKI (PPS input); CK4 (EUSART4, PPS input); SOSCO secondary oscillator output (Table 1 p.7)
31 RC6 bidirectional PORTC bit 6 I/O; IOCC6; CK1 (EUSART1, PPS input) (Table 1 p.7)
32 RC7 bidirectional PORTC bit 7 I/O; IOCC7; RX1/DT1 (EUSART1, PPS input) (Table 1 p.7)
33 RC2 bidirectional PORTC bit 2 I/O; IOCC2; CWG1IN (PPS input) (Table 1 p.7)
34 RC3 bidirectional PORTC bit 3 I/O; IOCC3; SCL1/SCK1 (MSSP1, I2C levels) (Table 1 p.7)
35 RC4 bidirectional PORTC bit 4 I/O; IOCC4; SDA1/SDI1 (MSSP1, I2C levels) (Table 1 p.7)
36 RC5 bidirectional PORTC bit 5 I/O; IOCC5 (Table 1 p.7)
37 RB7 bidirectional PORTB bit 7 I/O; ANB7; DAC1OUT2; IOCB7; ICSPDAT programming data (Table 1 p.7)
38 VDD power_in Positive supply (Table 1 p.8)
39 RA7 bidirectional PORTA bit 7 I/O; ANA7; OSC1 oscillator input (Table 1 p.6)
40 RA6 bidirectional PORTA bit 6 I/O; ANA6; CLKOUT / OSC2 oscillator output (Table 1 p.6)
41 VSS power_in Ground reference (Table 1 p.8)
42 RB6 bidirectional PORTB bit 6 I/O; ANB6; IOCB6; ICSPCLK programming clock (Table 1 p.7)
43 RB5 bidirectional PORTB bit 5 I/O; ANB5; IOCB5; T1G/T3CKI (PPS input) (Table 1 p.7)
44 RB4 bidirectional PORTB bit 4 I/O; ANB4; IOCB4 (Table 1 p.7)
45 RB3 bidirectional PORTB bit 3 I/O; ANB3; IOCB3; INT3 (PPS input) (Table 1 p.7)
46 RB2 bidirectional PORTB bit 2 I/O; ANB2; IOCB2; INT2 (PPS input) (Table 1 p.7)
47 RB1 bidirectional PORTB bit 1 I/O; ANB1; IOCB1; INT1 (PPS input) (Table 1 p.7)
48 RB0 bidirectional PORTB bit 0 I/O; ANB0; IOCB0; INT0 (PPS input); ZCDIN zero-cross detect input (Table 1 p.7)
49 RD7 bidirectional PORTD bit 7 I/O; AND7; ~{SS2} (MSSP2, PPS input) (Table 1 p.7)
50 RD6 bidirectional PORTD bit 6 I/O; AND6; SCL2/SCK2 (MSSP2, I2C levels) (Table 1 p.7)
51 RD5 bidirectional PORTD bit 5 I/O; AND5; MDSRC (PPS input); SDA2/SDI2 (MSSP2, I2C levels) (Table 1 p.7)
52 RD4 bidirectional PORTD bit 4 I/O; AND4; MDCARH (PPS input) (Table 1 p.7)
53 RD3 bidirectional PORTD bit 3 I/O; AND3; MDCARL (PPS input) (Table 1 p.7)
54 RD2 bidirectional PORTD bit 2 I/O; AND2 (Table 1 p.7)
55 RD1 bidirectional PORTD bit 1 I/O; AND1; T5CKI/T7G (PPS input) (Table 1 p.7)
56 RH3 bidirectional PORTH bit 3 general purpose I/O (Table 1 p.8)
57 RH2 bidirectional PORTH bit 2 general purpose I/O (Table 1 p.8)
58 RD0 bidirectional PORTD bit 0 I/O; AND0 (Table 1 p.7)
59 RE7 bidirectional PORTE bit 7 I/O; ANE7; IOCE7; SMT1SIG1 (PPS input) (Table 1 p.8)
60 RE6 bidirectional PORTE bit 6 I/O; ANE6; IOCE6; CCP3 (PPS input); SMT1WIN1 (PPS input) (Table 1 p.7)
61 RE5 bidirectional PORTE bit 5 I/O; ANE5; IOCE5; CCP1 (PPS input) (Table 1 p.7)
62 RE4 bidirectional PORTE bit 4 I/O; ANE4; IOCE4; T4IN (PPS input); CCP2 (PPS input) (Table 1 p.7)
63 RE3 bidirectional PORTE bit 3 I/O; ANE3; IOCE3; RX5/DT5 (EUSART5, PPS input) (Table 1 p.7)
64 RE2 bidirectional PORTE bit 2 I/O; ANE2; IOCE2; CK5 (EUSART5, PPS input) (Table 1 p.7)

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
Supply voltage VDD (FOSC ≤ 16 MHz) VDD 2.3 5.5 V FOSC ≤ 16 MHz (PIC18F) 809
Supply voltage VDD (FOSC > 16 MHz) VDD 2.5 5.5 V FOSC > 16 MHz (PIC18F) 809
Supply voltage VDD (FOSC > 32 MHz) VDD 3 5.5 V FOSC > 32 MHz (PIC18F) 809
RAM data retention voltage VDR 1.7 V Device in SLEEP mode 809
VDD rise rate to ensure internal POR SVDD 0.05 V/ms BOR or LPBOR disabled 810
IPD base, +85 °C IPD 0.4 4 µA VDD 3.0 V; VREGPM = 1 814
IPD base, +125 °C IPD 0.4 12 µA VDD 3.0 V; VREGPM = 1 814
IPD low-frequency oscillator/WDT, +85 °C IPD_WDT 0.6 5 µA VDD 3.0 V 814
IPD low-frequency oscillator/WDT, +125 °C IPD_WDT 0.6 13 µA VDD 3.0 V 814
IPD secondary oscillator (SOSC), +85 °C IPD_SOSC 0.8 8.5 µA VDD 3.0 V 814
IPD secondary oscillator (SOSC), +125 °C IPD_SOSC 0.8 15 µA VDD 3.0 V 814
IPD FVR, +85 °C IPD_FVR 32 53 µA VDD 3.0 V; FVRCON = 0x81 or 0x84 814
IPD FVR, +125 °C IPD_FVR 32 62 µA VDD 3.0 V; FVRCON = 0x81 or 0x84 814
IPD BOR, +85 °C IPD_BOR 14 19 µA VDD 3.0 V 814
IPD BOR, +125 °C IPD_BOR 14 21 µA VDD 3.0 V 814
IPD LPBOR, +85 °C IPD_LPBOR 0.7 5 µA VDD 3.0 V 814
IPD LPBOR, +125 °C IPD_LPBOR 0.7 13 µA VDD 3.0 V 814
IPD comparator, +85 °C IPD_CMP 31 47 µA VDD 3.0 V 814
IPD comparator, +125 °C IPD_CMP 31 50 µA VDD 3.0 V 814
Supply current, XT = 4 MHz IDDXT4 575 750 µA XT = 4 MHz; 3.0 V 812
Supply current, HFINTOSC = 16 MHz IDDHFO16 2.3 3.2 mA HFINTOSC = 16 MHz; 3.0 V 812
Supply current, HFINTOSC = 64 MHz (PLL) IDDHFOPLL 8.5 12 mA HFINTOSC = 64 MHz; 3.0 V 812
Supply current, HS+PLL = 64 MHz IDDHSPLL64 8.3 11 mA HS+PLL = 64 MHz; 3.0 V 812
Input low voltage, I/O with TTL buffer VIL 0.8 V 4.5 V ≤ VDD ≤ 5.5 V 815
Input low voltage, I/O (D301) VIL 0.15 ×VDD 1.8 V ≤ VDD ≤ 4.5 V; printed as 0.15 VDD 815
Input low voltage, I/O with Schmitt trigger buffer VIL 0.2 ×VDD 2.0 V ≤ VDD ≤ 5.5 V; printed as 0.2 VDD 815
Input low voltage, I/O with I2C levels VIL 0.3 ×VDD printed as 0.3 VDD 815
Input low voltage, I/O with SMBus levels VIL 0.8 V 2.7 V ≤ VDD ≤ 5.5 V 815
Input low voltage, MCLR VIL 0.2 ×VDD printed as 0.2 VDD 815
Input high voltage, I/O with TTL buffer VIH 2 V 4.5 V ≤ VDD ≤ 5.5 V 815
Input high voltage, I/O (D321) VIH 0.25 ×VDD 1.8 V ≤ VDD ≤ 4.5 V; printed as 0.25 VDD + 0.8 V 815
Input high voltage, I/O with Schmitt trigger buffer VIH 0.8 ×VDD 2.0 V ≤ VDD ≤ 5.5 V; printed as 0.8 VDD 815
Input high voltage, I/O with I2C levels VIH 0.7 ×VDD printed as 0.7 VDD 815
Input high voltage, I/O with SMBus levels VIH 2.1 V 2.7 V ≤ VDD ≤ 5.5 V 815
Input high voltage, MCLR VIH 0.7 ×VDD printed as 0.7 VDD 815
Input leakage current, I/O, 85 °C IIL -125 5 125 nA VSS ≤ VPIN ≤ VDD; pin at high-impedance, 85 °C 815
Input leakage current, I/O, 125 °C IIL -1000 5 1000 nA VSS ≤ VPIN ≤ VDD; pin at high-impedance, 125 °C 815
Input leakage current, MCLR IIL -200 50 200 nA VSS ≤ VPIN ≤ VDD; pin at high-impedance, 85 °C 815
Weak pull-up current IPUR 25 120 200 µA VDD = 3.0 V; VPIN = VSS 815
Output low voltage, I/O VOL 0.6 V IOL = 10.0 mA; VDD = 3.0 V 815
Output high voltage, I/O VOH 0.7 V IOH = 6.0 mA; VDD = 3.0 V; printed as VDD − 0.7 V 816
Byte erase and write cycle time TD_BEW 4 5 ms 816
Self-timed row erase or write time TP_REW 2 2.5 ms 817
Operating ambient temperature, industrial TA -40 85 °C Industrial grade (-I) 807
Ambient temperature under bias TA -40 125 °C 806
Storage temperature TSTORE -65 150 °C 806
Voltage on VDD pin VDD -0.3 6.5 V VSS reference; PIC18F65/66K40 806
Voltage on MCLR pin VMCLR -0.3 9 V VSS reference 806
Maximum current on VSS pin IVSS 350 mA -40 °C ≤ TA ≤ +85 °C 806
Maximum current on VDD pin IVDD 350 mA -40 °C ≤ TA ≤ +85 °C 806
Maximum current on any standard I/O pin IIO -50 50 mA printed as ±50 mA 806
Clamp current IK IK -20 20 mA VPIN < 0 or VPIN > VDD; printed as ±20 mA 806
Total power dissipation PD 800 mW 806
Thermal resistance, junction to ambient, 64-pin TQFP θJA 59 °C/W 64-pin TQFP package 817
Instruction period TCY 62.5 ns OS22; TCY = 1/FCY 819
System clock frequency FOSC 64 MHz Note 2, Note 3 819

Materials and finish

As the datasheet states them (page.json metadata.appearance; the 3D model's colours follow it).

Part Material Colour / plating Datasheet says Page
housing PPS body RxyPPS 356

CAD (KiCad official)

  • Symbol: PIC18F65K40T-I
  • Footprint: Package_QFP:TQFP-64_10x10mm_P0.5mm
  • 3D model: TQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: pic18f65k40t-i-pt-etched.step / pic18f65k40t-i-pt-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); pic18f65k40t-i-pt.step / pic18f65k40t-i-pt.glb are the bare package body.

Provenance

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

  • Datasheet: Microchip Tech datasheet (872 pp, sha256 a9bbf3977177cb83, retrieved 2026-11-20)
  • Extractor: ds2sf (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF