Microchip Technology DV164136 Data Sheet

Page of 466
 2007-2012 Microchip Technology Inc.
 
DS39778E-page 1
PIC18F87J11 FAMILY
Flexible Oscillator Structure:
• Four Crystal modes, Including High-Precision PLL 
• Two External Clock modes, up to 48 MHz
• Internal Oscillator Block:
- Provides 8 user-selectable frequencies from 
31 kHz to 8 MHz
- Provides a complete range of clock speeds, 
from 31 kHz to 32 MHz when used with PLL
- User-tunable to compensate for frequency drift
• Secondary Oscillator using Timer1 @ 32 kHz
• Fail-Safe Clock Monitor (FSCM):
- Allows for safe shutdown if any clock stops
Peripheral Highlights:
• High-Current Sink/Source 25 mA/25mA on PORTB 
and PORTC
• Four Programmable External Interrupts
• Four Input Change Interrupts
• One 8/16-Bit Timer/Counter
• Two 8-Bit Timers/Counters 
• Two 16-Bit Timers/Counters
• Two Capture/Compare/PWM (CCP) modules
• Three Enhanced Capture/Compare/PWM (ECCP) 
modules:
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and auto-restart
• Two Master Synchronous Serial Port (MSSP) 
modules supporting 3-Wire SPI (all 4 modes) and 
I
2
C™ Master and Slave modes
• Two Enhanced USART modules:
- Supports RS-485, RS-232 and LIN/J2602
- Auto-wake-up on Start bit
- Auto-Baud Detect
Peripheral Highlights (continued):
• 8-Bit Parallel Master Port/Enhanced Parallel Slave 
Port (PMP/EPSP) with 16 Address Lines
• Dual Analog Comparators with Input Multiplexing
• 10-Bit, up to 15-Channel Analog-to-Digital Converter 
module (A/D):
- Auto-acquisition capability
- Conversion available during Sleep
External Memory Bus (80-pin devices only):
• Address Capability of up to 2 Mbytes
• 8-Bit or 16-Bit Interface
• 12-Bit, 16-Bit and 20-Bit Addressing modes
Special Microcontroller Features:
• Low-Power, High-Speed CMOS Flash Technology
• C Compiler Optimized Architecture for Re-Entrant 
Code
• Power Management Features:
- Run: CPU on, peripherals on
- Idle: CPU off, peripherals on
- Sleep: CPU off, peripherals off
• Priority Levels for Interrupts
• Self-Programmable under Software Control
• 8 x 8 Single-Cycle Hardware Multiplier
• Extended Watchdog Timer (WDT):
- Programmable period from 4 ms to 131s
• Single-Supply In-Circuit Serial Programming™ 
(ICSP™) via Two Pins
• In-Circuit Debug (ICD) with 3 Breakpoints via Two Pins
• Operating Voltage Range of 2.0V to 3.6V
• 5.5V Tolerant Inputs (digital only pins)
• On-Chip 2.5V Regulator
• Flash Program Memory of 10000 Erase/Write Cycles 
and 20-Year Data Retention
Device
Flash 
Program 
Memory 
(bytes)
SRAM 
Data 
Memory 
(bytes)
I/O
10-Bit 
A/D (ch)
CCP/ECCP 
(PWM)
MSSP
E
U
S
ART
Co
mp
arato
rs
T
imers 
8/
1
6
-Bi
t
Exter
n
al B
u
s
PM
P/
EP
SP
SPI
Master 
I
2
C™
PIC18F66J11
64 kB
3904
52
11
2/3
2
Y
Y
2
2
2/3
N
Y
PIC18F66J16
96 kB
3904
52
11
2/3
2
Y
Y
2
2
2/3
N
Y
PIC18F67J11
128 kB
3904
52
11
2/3
2
Y
Y
2
2
2/3
N
Y
PIC18F86J11
64 kB
3904
68
15
2/3
2
Y
Y
2
2
2/3
Y
Y
PIC18F86J16
96 kB
3904
68
15
2/3
2
Y
Y
2
2
2/3
Y
Y
PIC18F87J11
128 kB
3904
68
15
2/3
2
Y
Y
2
2
2/3
Y
Y
64/80-Pin, High-Performance, 1-Mbit Flash Microcontrollers