Datasheet
2009-2011 Microchip Technology Inc. DS39960D-page 3
PIC18F87K22 FAMILY
Low-Power Features:
• Power-Managed modes:
- Run: CPU on, peripherals on
- Idle: CPU off, peripherals on
- Sleep: CPU off, peripherals off
• Two-Speed Oscillator Start-up
• Fail-Safe Clock Monitor
• Power-Saving Peripheral Module Disable (PMD)
• Ultra Low-Power Wake-up
• Fast Wake-up, 1 s Typical
• Low-Power WDT, 300 nA Typical
• Ultra Low 50 nA Input Leakage
• Run mode Currents Down to 5.5 A, Typical
• Idle mode Currents Down to 1.7 A Typical
• Sleep mode Currents Down to Very Low 20 nA,
Typical
• RTCC Current Downs to Very Low 700 nA,
Typical
Special Microcontroller Features:
• Operating Voltage Range: 1.8V to 5.5V
• On-Chip 3.3V Regulator
• Operating Speed up to 64 MHz
• Up to 128 Kbytes On-Chip Flash Program
Memory
• Data EEPROM of 1,024 Bytes
• 4K x 8 General Purpose Registers (SRAM)
• 10,000 Erase/Write Cycle Flash Program
Memory, Minimum
• 1,000,000 Erase/write Cycle Data EEPROM
Memory, Typical
• Flash Retention: 40 Years, Minimum
• Three Internal Oscillators: LF-INTRC (31 kHz),
MF-INTOSC (500 kHz) and HF-INTOSC
(16 MHz)
• Self-Programmable under Software Control
• Priority Levels for Interrupts
• 8 x 8 Single-Cycle Hardware Multiplier
• Extended Watchdog Timer (WDT):
- Programmable period from 4 ms to 4,194s
(about 70 minutes)
• In-Circuit Serial Programming™ (ICSP™) via
Two Pins
• In-Circuit Debug via Two Pins
• Programmable:
-BOR
-LVD
Device
Program Memory Data Memory
I/O
12-Bit
A/D
(ch)
CCP/
ECCP
(PWM)
MSSP
EUSART
Comparators
Timers
8/16-Bit
External Bus
CTMU
RTCC
Flash
(bytes)
# Single-Word
Instructions
SRAM
(bytes)
EEPROM
(bytes)
SPI
Master
I
2
C™
PIC18F65K22 32K 16,383 2K 1K 53 16 5/3 2 Y Y 2 3 4/4 N Y Y
PIC18F66K22 64K 32,768
4K 1K
53
16 7/3
2Y Y 2
36/5
N
YY
PIC18F67K22 128K 65,536
4K 1K
53
16 7/3
2Y Y 2
36/5
N
YY
PIC18F85K22 32K 16,383
2K 1K 69 24 5/3 2 Y Y 2 3 4/4 Y Y Y
PIC18F86K22 64K 32,768
4K 1K
69
24 7/3
2Y Y 2
36/5
Y
YY
PIC18F87K22 128K 65,536
4K 1K
69 24
7/3
2Y Y 2
36/5
Y
YY
64/80-Pin, High-Performance, 1-Mbit Enhanced Flash MCUs
with 12-Bit A/D and nanoWatt XLP Technology