Microchip Technology MCU PIC PIC18F87K22-I/PTRSL TQFP-80 MCP PIC18F87K22-I/PTRSL Data Sheet

Product codes
PIC18F87K22-I/PTRSL
Page of 550
PIC18F87K22 FAMILY
DS39960D-page 24
 2009-2011 Microchip Technology Inc.
TABLE 1-4:
PIC18F8XK22 PINOUT I/O DESCRIPTIONS  
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
TQFP
MCLR/RG5
RG5
MCLR
9
I
I
ST
ST
Master Clear (input) or programming voltage (input).
This pin is an active-low Reset to the device.
General purpose, input only pin.
OSC1/CLKI/RA7
OSC1
CLKI
RA7
49
I
I
I/O
CMOS
CMOS
TTL
Oscillator crystal or external clock input.
Oscillator crystal input. 
External clock source input. Always associated 
with pin function, OSC1. (See related OSC1/CLKI, 
OSC2/CLKO pins.)
General purpose I/O pin.
OSC2/CLKO/RA6
OSC2
CLKO
RA6
50
O
O
I/O
TTL
Oscillator crystal or clock output.
Oscillator crystal output. Connects to crystal or 
resonator in Crystal Oscillator mode.
In certain oscillator modes, OSC2 pin outputs CLKO,
which has 1/4 the frequency of OSC1 and denotes the
instruction cycle rate. 
General purpose I/O pin.
Legend:
TTL = TTL compatible input 
CMOS = CMOS compatible input or output 
ST = Schmitt Trigger input with CMOS levels 
Analog = Analog input 
I
= Input 
O
= Output 
P
= Power 
OD
= Open-Drain (no P diode to V
DD
I
2
C =  I
2
C™/SMBus
Note 1:
Default assignment for ECCP2 when the CCP2MX Configuration bit is set.
2:
Alternate assignment for ECCP2 when the CCP2MX Configuration bit is cleared.
3:
Not available on PIC18F65K22 and PIC18F85K22 devices.
4:
PSP is available only in Microcontroller mode.
5:
The CC6, CCP7, CCP8 and CCP9 pin placement depends on the setting of the ECCPMX Configuration bit 
(CONFIG3H<1>).