PIC18F2220/2320/4220/4320
Pin Diagrams
PDIP
MCLR/VPP/RE3
RA0/AN0
1
2
3
4
RB7/KBI3/PGD
RB6/KBI2/PGC
40
39
38
37
36
35
34
33
32
31
30
29
28
RA1/AN1
RA2/AN2/VREF-/CVREF
RB5/KBI1/PGM
RB4/AN11/KBI0
RB3/AN9/CCP2*
RB2/AN8/INT2
RA3/AN3/VREF+
RA4/T0CKI/C1OUT
5
6
7
8
RA5/AN4/SS/LVDIN/C2OUT
RE0/AN5/RD
RB1/AN10/INT1
RB0/AN12/INT0
VDD
RE1/AN6/WR
RE2/AN7/CS
9
10
11
12
13
14
15
16
17
18
19
20
VSS
VDD
VSS
RD7/PSP7/P1D
RD6/PSP6/P1C
RD5/PSP5/P1B
RD4/PSP4
RC7/RX/DT
RC6/TX/CK
RC5/SDO
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2*
RC2/CCP1/P1A
27
26
25
24
23
22
21
RC3/SCK/SCL
RD0/PSP0
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
SPDIP, SOIC
28
27
26
1
2
3
4
5
6
7
8
9
RB7/KBI3/PGD
RB6//KBI2/PGC
RB5/KBI1/PGM
RB4/AN11/KBI0
RB3/AN9/CCP2*
RB2/AN8/INT2
RB1/AN10/INT1
RB0/AN12/INT0
VDD
VSS
RC7/RX/DT
RC6/TX/CK
RC5/SDO
MCLR/VPP/RE3
RA0/AN0
RA1/AN1
RA2/AN2/VREF-/CVREF
RA3/AN3/VREF+
RA4/T0CKI/C1OUT
RA5/AN4/SS/LVDIN/C2OUT
VSS
25
24
23
22
21
20
19
18
17
16
15
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2*
RC2/CCP1/P1A
RC3/SCK/SCL
10
11
12
13
14
RC4/SDI/SDA
* RB3 is the alternate pin for the CCP2 pin multiplexing.
Note: Pin compatible with 40-pin PIC16C7X devices.
DS39599C-page 2
2003 Microchip Technology Inc.