PIC18F6525/6621/8525/8621
64/80-Pin High-Performance, 64-Kbyte Enhanced Flash
Microcontrollers with A/D
High Performance RISC CPU:
•
•
•
•
Linear program memory addressing to 64 Kbytes
Linear data memory addressing to 4 Kbytes
1 Kbyte of data EEPROM
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
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
Two Capture/Compare/PWM (CCP) modules:
- Capture is 16-bit, max. resolution 6.25 ns (T
CY
/16)
- Compare is 16-bit, max. resolution 100 ns (T
CY
)
- PWM output: 1 to 10-bit PWM resolution
Three Enhanced Capture/Compare/PWM (ECCP)
modules:
- Same Capture/Compare features as CCP
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-Shutdown on external event
- Auto-Restart
Master Synchronous Serial Port (MSSP) module
with two modes of operation:
- 2/3/4-wire SPI™ (supports all 4 SPI modes)
- I
2
C™ Master and Slave mode
Two Enhanced USART modules:
- Supports RS-485, RS-232 and LIN 1.2
- Auto-Wake-up on Start bit
- Auto-Baud Rate Detect
Parallel Slave Port (PSP) module
Program Memory
Device
Data Memory
10-bit
A/D
(ch)
12
12
16
16
External Memory Interface
(PIC18F8525/8621 Devices Only):
• Address capability of up to 2 Mbytes
• 16-bit interface
Analog Features:
• 10-bit, up to 16-channel Analog-to-Digital
Converter (A/D):
- Auto-Acquisition
- Conversion available during Sleep
• Programmable 16-level Low-Voltage Detection
(LVD) module:
- Supports interrupt on Low-Voltage Detection
• Programmable Brown-out Reset (BOR)
• Dual analog comparators:
- Programmable input/output configuration
•
•
•
•
•
•
•
•
•
•
•
•
•
Peripheral Features:
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
• Flash/Data EEPROM Retention: > 100 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
• Power-saving Sleep mode
• Selectable oscillator options including:
- 4x Phase Lock Loop (PLL) – of primary oscillator
- Secondary Oscillator (32 kHz) clock input
• In-Circuit Serial Programming™ (ICSP™) via two pins
• MPLAB
®
In-Circuit Debug (ICD 2) 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
•
•
# Single-Word SRAM EEPROM I/O
Bytes
Instructions (bytes) (bytes)
48K
64K
48K
64K
24576
32768
24576
32768
3840
3840
3840
3840
1024
1024
1024
1024
53
53
70
70
CCP/
MSSP/SPI™/
Timers
ECCP PWM Master I
2
C™ EUSART 8-bit/16-bit EMI
2/3
2/3
2/3
2/3
14
14
14
14
Y
Y
Y
Y
2
2
2
2
2/3
2/3
2/3
2/3
N
N
Y
Y
PIC18F6525
PIC18F6621
PIC18F8525
PIC18F8621
2005 Microchip Technology Inc.
DS39612B-page 1