PIC18F87J11 FAMILY
64/80-Pin, High-Performance, 1-Mbit Flash Microcontrollers
Flexible Oscillator Structure:
Peripheral Highlights (continued):
• 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
• 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):
- 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):
- 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
- Allows for safe shutdown if any clock stops
• 12-Bit, 16-Bit and 20-Bit Addressing modes
Peripheral Highlights:
• High-Current Sink/Source 25 mA/25mA on PORTB
Special Microcontroller Features:
• Low-Power, High-Speed CMOS Flash Technology
• C Compiler Optimized Architecture for Re-Entrant
Code
and PORTC
• Four Programmable External Interrupts
• Four Input Change Interrupts
• One 8/16-Bit Timer/Counter
• Power Management Features:
- Run: CPU on, peripherals on
• Two 8-Bit Timers/Counters
- Idle: CPU off, peripherals on
• Two 16-Bit Timers/Counters
- Sleep: CPU off, peripherals off
• Priority Levels for Interrupts
• Two Capture/Compare/PWM (CCP) modules
• Three Enhanced Capture/Compare/PWM (ECCP)
modules:
- One, two or four PWM outputs
- Selectable polarity
• 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
- Programmable dead time
- Auto-shutdown and auto-restart
• Two Master Synchronous Serial Port (MSSP)
modules supporting 3-Wire SPI (all 4 modes) and
2
I C™ Master and Slave modes
• Two Enhanced USART modules:
- Supports RS-485, RS-232 and LIN/J2602
- Auto-wake-up on Start bit
• Flash Program Memory of 10000 Erase/Write Cycles
and 20-Year Data Retention
- Auto-Baud Detect
MSSP
Flash
Program
Memory
(bytes)
SRAM
Data
Memory
(bytes)
10-Bit CCP/ECCP
Device
I/O
Master
I C™
A/D (ch)
(PWM)
SPI
2
PIC18F66J11
PIC18F66J16
PIC18F67J11
PIC18F86J11
PIC18F86J16
PIC18F87J11
64 kB
96 kB
128 kB
64 kB
96 kB
128 kB
3904
3904
3904
3904
3904
3904
52
52
52
68
68
68
11
11
11
15
15
15
2/3
2/3
2/3
2/3
2/3
2/3
2
2
2
2
2
2
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
2
2
2
2
2
2
2
2
2
2
2
2
2/3
2/3
2/3
2/3
2/3
2/3
N
N
N
Y
Y
Y
Y
Y
Y
Y
Y
Y
2007-2012 Microchip Technology Inc.
DS39778E-page 1