PIC18F6520/8520/6620/
8620/6720/8720
64/80-Pin High-Performance, 256 Kbit to 1 Mbit
Enhanced Flash Microcontrollers with A/D
High-Performance RISC CPU:
Analog Features:
• C compiler optimized architecture/instruction set:
- Source code compatible with the PIC16 and
PIC17 instruction sets
• Linear program memory addressing to 128 Kbytes
• Linear data memory addressing to 3840 bytes
• 1 Kbyte of data EEPROM
• 10-bit, up to 16-channel Analog-to-Digital
Converter (A/D):
- Conversion available during Sleep
• Programmable 16-level Low-Voltage Detection
(LVD) module:
- Supports interrupt on Low-Voltage Detection
• Programmable Brown-out Reset (PBOR)
• Dual analog comparators:
• Up to 10 MIPs operation:
- DC – 40 MHz osc./clock input
- 4 MHz – 10 MHz osc./clock input with PLL active
• 16-bit wide instructions, 8-bit wide data path
• Priority levels for interrupts
• 31-level, software accessible hardware stack
• 8 x 8 Single Cycle Hardware Multiplier
- Programmable input/output configuration
Special Microcontroller Features:
• 100,000 erase/write cycle Enhanced Flash
program memory typical
• 1,000,000 erase/write cycle Data EEPROM
memory typical
• 1 second programming time
External Memory Interface
(PIC18F8X20 Devices Only):
• Flash/Data EEPROM Retention: > 40 years
• Self-reprogrammable under software control
• Power-on Reset (POR), Power-up Timer (PWRT)
and Oscillator Start-up Timer (OST)
• Watchdog Timer (WDT) with its own On-Chip
RC Oscillator for reliable operation
• Programmable code protection
• Address capability of up to 2 Mbytes
• 16-bit interface
Peripheral Features:
• High current sink/source 25 mA/25 mA
• Four external interrupt pins
• Timer0 module: 8-bit/16-bit timer/counter
• Timer1 module: 16-bit timer/counter
• Timer2 module: 8-bit timer/counter
• Timer3 module: 16-bit timer/counter
• Timer4 module: 8-bit timer/counter
• Secondary oscillator clock option – Timer1/Timer3
• Five Capture/Compare/PWM (CCP) modules:
- Capture is 16-bit, max. resolution 6.25 ns (TCY/16)
- Compare is 16-bit, max. resolution 100 ns (TCY)
- PWM output: PWM resolution is 1 to 10-bit
• Master Synchronous Serial Port (MSSP) module
with two modes of operation:
• Power saving Sleep mode
• Selectable oscillator options including:
- 4X Phase Lock Loop (of primary oscillator)
- Secondary Oscillator (32 kHz) clock input
• In-Circuit Serial Programming™ (ICSP™) via
two pins
• MPLAB® In-Circuit Debug (ICD) via two pins
CMOS Technology:
• Low-power, high-speed Flash technology
• Fully static design
• Wide operating voltage range (2.0V to 5.5V)
• Industrial and Extended temperature ranges
- 3-wire SPI (supports all 4 SPI modes)
- I2C™ Master and Slave mode
• Two Addressable USART modules:
- Supports RS-485 and RS-232
• Parallel Slave Port (PSP) module
Program Memory
Data Memory
MSSP
10-bit
I/O A/D
(ch)
Max
FOSC
(MHz)
CCP
(PWM)
Timers
8-bit/16-bit Bus
Ext
Device
USART
# Single-Word SRAM EEPROM
Instructions (bytes) (bytes)
Master
Bytes
SPI
2
I C
PIC18F6520 32K
PIC18F6620 64K
PIC18F6720 128K
PIC18F8520 32K
PIC18F8620 64K
PIC18F8720 128K
16384
32768
65536
16384
32768
65536
2048
3840
3840
2048
3840
3840
1024
1024
1024
1024
1024
1024
52
52
52
68
68
68
12
12
12
16
16
16
5
5
5
5
5
5
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
2
2
2
2
2
2
2/3
2/3
2/3
2/3
2/3
2/3
N
N
N
Y
Y
Y
40
25
25
40
25
25
2003-2013 Microchip Technology Inc.
DS39609C-page 1