English
Language : 

PIC16F87 Datasheet, PDF (11/214 Pages) Microchip Technology – 18/20/28-Pin Enhanced FLASH Microcontrollers with nanoWatt Technology
PIC16F87/88
TABLE 1-2: PIC16F87/88 PINOUT DESCRIPTION (CONTINUED)
Pin Name
PDIP/
SOIC
Pin#
SSOP
Pin#
QFN
Pin#
I/O/P
Type
Buffer
Type
Description
RB0/INT/CCP1(5)
RB0
INT
CCP1
PORTB is a bidirectional I/O port. PORTB can be
software programmed for internal weak pull-up on all
inputs.
6
7
7
I/O
TTL
I
ST(1)
I/O
ST
Bidirectional I/O pin.
External interrupt pin.
Capture input, Compare output, PWM output.
RB1/SDI/SDA
RB1
SDI
SDA
7
8
8
I/O
TTL
I
ST
I/O
ST
Bidirectional I/O pin.
SPI Data in.
I2C Data.
RB2/SDO/RX/DT
RB2
SDO
RX
DT
RB3/PGM/CCP1(5)
RB3
PGM
CCP1
8
9
9
I/O
TTL
O
ST
I
I/O
9
10
10
I/O
TTL
I/O
ST
I
ST
Bidirectional I/O pin.
SPI Data out.
USART asynchronous receive.
USART synchronous detect.
Bidirectional I/O pin.
Low-Voltage ICSP programming enable pin.
Capture input, Compare output, PWM output.
RB4/SCK/SCL
RB4
SCK
SCL
10
11
12
I/O
TTL
I/O
ST
I
ST
Bidirectional I/O pin. Interrupt-on-change pin.
Synchronous serial clock input/output for SPI.
Synchronous serial clock Input for I2C.
RB5/SS/TX/CK
RB5
SS
TX
CK
11
12
13
I/O
TTL
I
TTL
O
I/O
Bidirectional I/O pin. Interrupt-on-change pin.
Slave select for SPI in Slave mode.
USART asynchronous transmit.
USART synchronous clock.
RB6/AN5/PGC/T1OSO/ 12
13
15
T1CKI
RB6
I/O
AN5(4)
I
PGC
I/O
T1OSO
O
T1CKI
I
TTL
ST(2)
ST
ST
Bidirectional I/O pin. Interrupt-on-change pin.
Analog input channel 5.
In-circuit debugger and programming clock pin.
Timer1 oscillator output.
Timer1 external clock input.
RB7/AN6/PGD/T1OSI
RB7
AN6(4)
PGD
T1OSI
13
14
16
I/O
I
I
I
TTL
ST(2)
ST
Bidirectional I/O pin. Interrupt-on-change pin.
Analog input channel 6.
In-circuit debugger and ICSP programming data pin.
Timer1 oscillator input.
VSS
5
5, 6 3, 5
P
–
Ground reference for logic and I/O pins.
VDD
14 15, 16 17, 19 P
–
Positive supply for logic and I/O pins.
Legend:
Note 1:
2:
3:
4:
5:
I = Input
O = Output
I/O = Input/Output
P = Power
– = Not used
TTL = TTL Input
ST = Schmitt Trigger Input
This buffer is a Schmitt Trigger input when configured as the external interrupt.
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
This buffer is a Schmitt Trigger input when configured in RC Oscillator mode and a CMOS input otherwise.
PIC16F88 devices only.
The CCP1 pin is determined by CCPMX in Configuration Word 1 register.
 2003 Microchip Technology Inc.
Preliminary
DS30487B-page 9