English
Language : 

PIC18F2221_1 Datasheet, PDF (5/402 Pages) Microchip Technology – Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2221/2321/4221/4321 FAMILY
Pin Diagrams (Continued)
40-Pin PDIP
MCLR/VPP/RE3
1
RA0/AN0
2
RA1/AN1
3
RA2/AN2/VREF-/CVREF
4
RA3/AN3/VREF+
5
RA4/T0CKI/C1OUT
6
RA5/AN4/SS/HLVDIN/C2OUT
7
RE0/RD/AN5
8
RE1/WR/AN6
9
RE2/CS/AN7
10
VDD
11
VSS
12
OSC1/CLKI/RA7
13
OSC2/CLKO/RA6
14
RC0/T1OSO/T13CKI
15
RC1/T1OSI/CCP2
16
RC2/CCP1/P1A
17
RC3/SCK/SCL
18
RD0/PSP0
19
RD1/PSP1
20
40
RB7/KBI3/PGD
39
RB6/KBI2/PGC
38
RB5/KBI1/PGM
37
RB4/KBI0/AN11
36
RB3/AN9/CCP2
35
RB2/INT2/AN8
34
RB1/INT1/AN10
33
RB0/INT0/FLT0/AN12
32
VDD
31
VSS
30
RD7/PSP7/P1D
29
RD6/PSP6/P1C
28
RD5/PSP5/P1B
27
RD4/PSP4
26
RC7/RX/DT
25
RC6/TX/CK
24
RC5/SDO
23
RC4/SDI/SDA
22
RD3/PSP3
21
RD2/PSP2
44-Pin QFN(2)
RC7/RX/DT
RD4/PSP4
RD5/PSP5/P1B
RD6/PSP6/P1C
RD7/PSP7/P1D
VSS
VDD
VDD
RB0/INT0/FLT0/AN12
RB1/INT1/AN10
RB2/INT2/AN8
1
33
2
32
3
31
4
30
5 PIC18F4221 29
6
7
PIC18F4321
28
27
8
26
9
25
10
24
11
23
OSC2/CLKO/RA6
OSC1/CLKI/RA7
VSS
VSS
VDD
VDD
RE2/CS/AN7
RE1/WR/AN6
RE0/RD/AN5
RA5/AN4/SS/HLVDIN/C2OUT
RA4/T0CKI/C1OUT
Note 1: RB3 is the alternate pin for CCP2 multiplexing.
2: For the QFN package, it is recommended that the bottom pad be connected to VSS.
© 2009 Microchip Technology Inc.
DS39689F-page 5