PIC18F2220/2320/4220/4320
3. I/O ports (3 bidirectional ports and 1 input only
port on PIC18F2X20 devices, 5 bidirectional
ports on PIC18F4X20 devices)
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.
4. CCP and Enhanced CCP implementation
(PIC18F2X20 devices have 2 standard CCP
modules, PIC18F4X20 devices have one
standard CCP module and one ECCP module)
The devices are differentiated from each other in five
ways:
5. Parallel Slave Port (present only on
PIC18F4X20 devices)
1. Flash program memory (4 Kbytes for
PIC18FX220 devices, 8 Kbytes for PIC18FX320)
All other features for devices in this family are identical.
These are summarized in Table 1-1.
2. A/D channels (10 for PIC18F2X20 devices, 13 for
PIC18F4X20 devices)
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
Program Memory (Bytes)
Program Memory (Instructions)
Data Memory (Bytes)
Data EEPROM Memory (Bytes)
Interrupt Sources
DC – 40 MHz
DC – 40 MHz
DC – 40 MHz
DC – 40 MHz
4096
8192
4096
512
256
19
4096
2048
512
256
20
8192
4096
512
256
20
2048
512
256
19
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
2
0
4
2
0
4
1
1
4
1
1
Capture/Compare/PWM Modules
Enhanced Capture/
Compare/PWM Modules
Serial Communications
MSSP,
Addressable
USART
MSSP,
Addressable
USART
MSSP,
Addressable
USART
MSSP,
Addressable
USART
Parallel Communications (PSP)
10-bit Analog-to-Digital Module
Resets (and Delays)
No
No
Yes
Yes
10 Input Channels 10 Input Channels 13 Input Channels 13 Input Channels
POR, BOR, POR, BOR, POR, BOR, POR, BOR,
RESETInstruction, RESETInstruction, RESETInstruction, RESETInstruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
Programmable Low-Voltage
Detect
Yes
Yes
Yes
Yes
Programmable Brown-out Reset
Instruction Set
Yes
Yes
Yes
Yes
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
DS39599C-page 8
2003 Microchip Technology Inc.