PIC16F87XA
TABLE 1-3:
Pin Name
PIC16F874A/877A PINOUT DESCRIPTION (CONTINUED)
DIP
Pin#
PLCC
Pin#
QFP
Pin#
I/O/P
Type
Buffer
Type
Description
PORTD is a bi-directional I/O port or parallel slave port
when interfacing to a microprocessor bus.
RD0/PSP0
RD0
PSP0
RD1/PSP1
RD1
PSP1
RD2/PSP2
RD2
PSP2
RD3/PSP3
RD3
PSP3
RD4/PSP4
RD4
PSP4
RD5/PSP5
RD5
PSP5
RD6/PSP6
RD6
PSP6
RD7/PSP7
RD7
PSP7
RE0/RD/AN5
RE0
RD
AN5
RE1/WR/AN6
RE1
WR
AN6
RE2/CS/AN7
RE2
CS
AN7
V
SS
V
DD
NC
Legend: I = input
19
21
38
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
ST/TTL
(3)
I/O
I/O
Digital I/O.
Parallel Slave Port data.
PORTE is a bi-directional I/O port.
ST/TTL
(3)
I/O
I
I
Digital I/O.
Read control for parallel slave port.
Analog input 5.
ST/TTL
(3)
I/O
I
I
Digital I/O.
Write control for parallel slave port.
Analog input 6.
ST/TTL
(3)
I/O
I
I
Digital I/O.
Chip select control for parallel slave port.
Analog input 7.
—
—
—
Ground reference for logic and I/O pins.
Positive supply for logic and I/O pins.
These pins are not internally connected. These pins
should be left unconnected.
P = power
ST = Schmitt Trigger input
20
22
39
21
23
40
22
24
41
27
30
2
28
31
3
29
32
4
30
33
5
8
9
25
9
10
26
10
11
27
12,31
11,32
—
13,34
12,35
1,17,
28,40
6,29
7,28
12,13,
33,34
P
P
O = output
— = Not used
I/O = input/output
TTL = TTL input
Note 1:This
buffer is a Schmitt Trigger input when configured as an external interrupt.
2:
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
3:
This buffer is a Schmitt Trigger input when configured as general purpose I/O and a TTL input when used in the Parallel
Slave Port mode (for interfacing to a microprocessor bus).
4:
This buffer is a Schmitt Trigger input when configured in RC oscillator mode and a CMOS input otherwise.
DS39582A-page 12
Advance Information
2001 Microchip Technology Inc.