Datasheet

PIC18F2220/2320/4220/4320
DS39599G-page 8 © 2007 Microchip Technology Inc.
1.3 Details on Individual Family
Members
Devices in the PIC18F2220/2320/4220/4320 family are
available in 28-pin (PIC18F2X20) and 40/44-pin
(PIC18F4X20) packages. Block diagrams for the two
groups are shown in Figure 1-1 and Figure 1-2.
The devices are differentiated from each other in five
ways:
1. Flash program memory (4 Kbytes for
PIC18FX220 devices, 8 Kbytes for PIC18FX320)
2. A/D channels (10 for PIC18F2X20 devices, 13 for
PIC18F4X20 devices)
3. I/O ports (3 bidirectional ports and 1 input only
port on PIC18F2X20 devices, 5 bidirectional
ports on PIC18F4X20 devices)
4. CCP and Enhanced CCP implementation
(PIC18F2X20 devices have 2 standard CCP
modules, PIC18F4X20 devices have one
standard CCP module and one ECCP module)
5. Parallel Slave Port (present only on
PIC18F4X20 devices)
All other features for devices in this family are identical.
These are summarized in Table 1-1.
The pinouts for all devices are listed in Table 1-2 and
Table 1-3.
TABLE 1-1: DEVICE FEATURES
Features PIC18F2220 PIC18F2320 PIC18F4220 PIC18F4320
Operating Frequency DC – 40 MHz DC – 40 MHz DC – 40 MHz DC – 40 MHz
Program Memory (Bytes) 4096 8192 4096 8192
Program Memory (Instructions) 2048 4096 2048 4096
Data Memory (Bytes) 512 512 512 512
Data EEPROM Memory (Bytes) 256 256 256 256
Interrupt Sources 19 19 20 20
I/O Ports Ports A, B, C (E) Ports A, B, C (E) Ports A, B, C, D, E Ports A, B, C, D, E
Timers 4 4 4 4
Capture/Compare/PWM Modules 2 2 1 1
Enhanced Capture/
Compare/PWM Modules
0011
Serial Communications MSSP,
Addressable
USART
MSSP,
Addressable
USART
MSSP,
Addressable
USART
MSSP,
Addressable
USART
Parallel Communications (PSP) No No Yes Yes
10-Bit Analog-to-Digital Module 10 Input Channels 10 Input Channels 13 Input Channels 13 Input Channels
Resets (and Delays) POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR
(optional),
WDT
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR
(optional),
WDT
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR
(optional),
WDT
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR
(optional),
WDT
Programmable Low-Voltage
Detect
Yes Yes Yes Yes
Programmable Brown-out Reset Yes Yes Yes Yes
Instruction Set 75 Instructions 75 Instructions 75 Instructions 75 Instructions
Packages 28-Pin SPDIP
28-Pin SOIC
28-Pin SPDIP
28-Pin SOIC
40-Pin PDIP
44-Pin TQFP
44-Pin QFN
40-Pin PDIP
44-Pin TQFP
44-Pin QFN