Microchip Technology PIC16F87XA Datasheet page 12

28/40/44-pin enhanced flash microcontrollers
Table of Contents

Advertisement

PIC16F87XA
TABLE 1-3:
PIC16F874A/877A PINOUT DESCRIPTION
PDIP
Pin Name
Pin#
OSC1/CLKI
13
OSC1
CLKI
OSC2/CLKO
14
OSC2
CLKO
MCLR/V
1
PP
MCLR
V
PP
RA0/AN0
2
RA0
AN0
RA1/AN1
3
RA1
AN1
RA2/AN2/V
-/CV
4
REF
REF
RA2
AN2
V
-
REF
CV
REF
RA3/AN3/V
+
5
REF
RA3
AN3
V
+
REF
RA4/T0CKI/C1OUT
6
RA4
T0CKI
C1OUT
RA5/AN4/SS/C2OUT
7
RA5
AN4
SS
C2OUT
Legend:
I = input
O = output
— = Not used
TTL = TTL input
Note 1:
This buffer is a Schmitt Trigger input when configured as the 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 in RC Oscillator mode and a CMOS input otherwise.
DS39582B-page 10
http://www.xinpian.net
PLCC
TQFP
QFN
I/O/P
Pin#
Pin#
Pin#
Type
14
30
32
I
I
15
31
33
O
O
2
18
18
I
P
3
19
19
I/O
I
4
20
20
I/O
I
5
21
21
I/O
I
I
O
6
22
22
I/O
I
I
7
23
23
I/O
I
O
8
24
24
I/O
I
I
O
I/O = input/output
ST = Schmitt Trigger input
提供单片机解密、IC解密、芯片解密业务
Buffer
Type
(4)
Oscillator crystal or external clock input.
ST/CMOS
Oscillator crystal input or external clock source
input. ST buffer when configured in RC mode;
otherwise CMOS.
External clock source input. Always associated
with pin function OSC1 (see OSC1/CLKI,
OSC2/CLKO pins).
Oscillator crystal or clock output.
Oscillator crystal output.
Connects to crystal or resonator in Crystal
Oscillator mode.
In RC mode, OSC2 pin outputs CLKO, which
has 1/4 the frequency of OSC1 and denotes the
instruction cycle rate.
ST
Master Clear (input) or programming voltage (output).
Master Clear (Reset) input. This pin is an active
low Reset to the device.
Programming voltage input.
PORTA is a bidirectional I/O port.
TTL
Digital I/O.
Analog input 0.
TTL
Digital I/O.
Analog input 1.
TTL
Digital I/O.
Analog input 2.
A/D reference voltage (Low) input.
Comparator V
TTL
Digital I/O.
Analog input 3.
A/D reference voltage (High) input.
ST
Digital I/O – Open-drain when configured as
output.
Timer0 external clock input.
Comparator 1 output.
TTL
Digital I/O.
Analog input 4.
SPI slave select input.
Comparator 2 output.
P = power
Description
output.
REF
 2003 Microchip Technology Inc.
010-62245566
13810019655

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC16F87XA and is the answer not in the manual?

Table of Contents