2.3 Details on Individual Family Members

Devices in the PIC18(L)F65/66K40 family are available in 64-pin packages. The block diagram for this device is shown in the Figure 2-1.

The devices have the following differences:

  1. Program Flash Memory
  2. Data Memory SRAM
  3. Data Memory EEPROM
  4. Analog-to-Digital (A/D) channels
  5. I/O ports
  6. Enhanced USART
  7. Input Voltage Range/Power Consumption

All other features for devices in this family are identical. These are summarized in the following Device Features table.

The pinouts for all devices are listed in the pin summary tables.

Table 2-1. Device Features
FeaturesPIC18(L)F65K40PIC18(L)F66K40
Program Memory (Bytes)3276865536
Program Memory (Instructions)1638432768
Data Memory (Bytes)20483562
Data EEPROM Memory (Bytes)10241024
I/O PortsA,B,C,D,E,F,G(1),HA,B,C,D,E,F,G(1),H
Capture/Compare/PWM Modules (CCP)5
10-Bit Pulse-Width Modulator (PWM)2
10-Bit Analog-to-Digital Module (ADC2) with Computation Accelerator4 internal

47 external

Packages64-pin TQFP

64-pin QFN

Interrupt Sources56
Timers (16-/8-bit)5/4
Serial Communications2 MSSP,

5 EUSART

Enhanced Complementary Waveform Generator (ECWG)1
Signal Measurement Timer (SMT)2
Comparators3
Zero-Cross Detect (ZCD)1
Data Signal Modulator (DSM)1
Peripheral Pin Select (PPS)Yes
Peripheral Module Disable (PMD)Yes
16-bit CRC with NVMSCANYes
Programmable High/Low-Voltage Detect (HLVD)Yes
Programmable Brown-out Reset (BOR)Yes
Resets (and Delays)POR, BOR,

RESET Instruction,

Stack Overflow,

Stack Underflow,

MCLR, WWDT,

(PWRT, OST)

Instruction Set75 Instructions;

83 with Extended Instruction Set enabled

Operating FrequencyDC – 64 MHz
Note 1: RG5 is an input-only pin.
Figure 2-1. PIC18(L)F65/66K40 Family Block Diagram