16F876 Microchip Technology, 16F876 Datasheet - Page 8

no-image

16F876

Manufacturer Part Number
16F876
Description
28/40-pin 8-Bit CMOS FLASH Microcontrollers
Manufacturer
Microchip Technology
Datasheet
PIC16F87X
TABLE 1-2:
DS30292B-page 8
OSC1/CLKIN
OSC2/CLKOUT
MCLR/V
RA0/AN0
RA1/AN1
RA2/AN2/V
RA3/AN3/V
RA4/T0CKI
RA5/SS/AN4
RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
RC7/RX/DT
Legend:
Note 1: This buffer is a Schmitt Trigger input when configured as an external interrupt.
Pin Name
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
4: This buffer is a Schmitt Trigger input when configured in RC oscillator mode and a CMOS input otherwise.
PP
/THV
I = input
Port mode (for interfacing to a microprocessor bus).
REF
REF
-
+
PIC16F874 AND PIC16F877 PINOUT DESCRIPTION
Pin#
O = output
— = Not used
DIP
13
14
33
34
35
36
37
38
39
40
15
16
18
23
24
25
26
17
1
2
3
4
5
6
7
PLCC
Pin#
14
15
36
37
38
39
41
42
43
44
16
18
19
20
25
26
27
29
2
3
4
5
6
7
8
QFP
Pin#
30
31
18
19
20
21
22
23
24
10
11
14
15
16
17
32
35
36
37
42
43
44
8
9
1
I/O = input/output
TTL = TTL input
I/O/P
Type
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/P
O
I
ST/CMOS
TTL/ST
TTL/ST
TTL/ST
Buffer
Type
TTL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
ST
ST
ST
ST
ST
ST
ST
ST
ST
ST
(1)
(2)
(2)
(4)
Description
Oscillator crystal input/external clock source input.
Oscillator crystal output. Connects to crystal or resonator in
crystal oscillator mode. In RC mode, OSC2 pin outputs CLK-
OUT which has 1/4 the frequency of OSC1, and denotes the
instruction cycle rate.
Master clear (reset) input or programming voltage input or high
voltage test mode control. This pin is an active low reset to the
device.
PORTA is a bi-directional I/O port.
PORTB is a bi-directional I/O port. PORTB can be software
programmed for internal weak pull-up on all inputs.
PORTC is a bi-directional I/O port.
ST = Schmitt Trigger input
P = power
RA0 can also be analog input0
RA1 can also be analog input1
RA2 can also be analog input2 or negative analog
reference voltage
RA3 can also be analog input3 or positive analog
reference voltage
RA4 can also be the clock input to the Timer0 timer/
counter. Output is open drain type.
RA5 can also be analog input4 or the slave select for the
synchronous serial port.
RB0 can also be the external interrupt pin.
RB3 can also be the low voltage programming input
Interrupt on change pin.
Interrupt on change pin.
Interrupt on change pin or In-Circuit Debugger pin. Serial
programming clock.
Interrupt on change pin or In-Circuit Debugger pin. Serial
programming data.
RC0 can also be the Timer1 oscillator output or a Timer1
clock input.
RC1 can also be the Timer1 oscillator input or Capture2
input/Compare2 output/PWM2 output.
RC2 can also be the Capture1 input/Compare1 output/
PWM1 output.
RC3 can also be the synchronous serial clock input/output
for both SPI and I
RC4 can also be the SPI Data In (SPI mode) or
data I/O (I
RC5 can also be the SPI Data Out
(SPI mode).
RC6 can also be the USART Asynchronous Transmit or
Synchronous Clock.
RC7 can also be the USART Asynchronous Receive or
Synchronous Data.
2
C mode).
2
C modes.
1999 Microchip Technology Inc.

Related parts for 16F876