PIC18F87J10 FAMILY
DS39663A-page 382
Advance Information
2005 Microchip Technology Inc.
Pin Functions
AV
DD
..........................................................................25
AV
DD
..........................................................................16
AV
SS
..........................................................................25
AV
SS
..........................................................................16
ENVREG ..............................................................16, 25
MCLR ...................................................................10, 17
OSC1/CLKI ..........................................................10, 17
OSC2/CLKO ........................................................10, 17
RA0/AN0 ..............................................................10, 17
RA1/AN1 ..............................................................10, 17
RA2/AN2/V
REF
- ....................................................10, 17
RA3/AN3/V
REF
+ ...................................................10, 17
RA4/T0CKI ...........................................................10, 17
RA5/AN4 ..............................................................10, 17
RB0/INT0/FLT0 ....................................................11, 18
RB1/INT1 .............................................................11, 18
RB2/INT2 .............................................................11, 18
RB3/INT3 ...................................................................11
RB3/INT3/ECCP2/P2A ..............................................18
RB4/KBI0 .............................................................11, 18
RB5/KBI1 .............................................................11, 18
RB6/KBI2/PGC ....................................................11, 18
RB7/KBI3/PGD ....................................................11, 18
RC0/T1OSO/T13CKI ...........................................12, 19
RC1/T1OSI/ECCP2/P2A ......................................12, 19
RC2/ECCP1/P1A .................................................12, 19
RC3/SCK1/SCL1 .................................................12, 19
RC4/SDI1/SDA1 ..................................................12, 19
RC5/SDO1 ...........................................................12, 19
RC6/TX1/CK1 ......................................................12, 19
RC7/RX1/DT1 ......................................................12, 19
RD0/AD0/PSP0 ..........................................................20
RD0/PSP0 ..................................................................13
RD1/AD1/PSP1 ..........................................................20
RD1/PSP1 ..................................................................13
RD2/AD2/PSP2 ..........................................................20
RD2/PSP2 ..................................................................13
RD3/AD3/PSP3 ..........................................................20
RD3/PSP3 ..................................................................13
RD4/AD4/PSP4/SDO2 ...............................................20
RD4/PSP4/SDO2 .......................................................13
RD5/AD5/PSP5/SDI2/SDA2 ......................................20
RD5/PSP5/SDI2/SDA2 ..............................................13
RD6/AD6/PSP6/SCK2/SCL2 .....................................20
RD6/PSP6/SCK2/SCL2 .............................................13
RD7/AD7/PSP7/SS2 ..................................................20
RD7/PSP7/SS2 ..........................................................13
RE0/AD8/RD/P2D ......................................................21
RE0/RD/P2D ..............................................................14
RE1/AD9/WR/P2C .....................................................21
RE1/WR/P2C .............................................................14
RE2/AD10/CS/P2B ....................................................21
RE2/CS/P2D ..............................................................14
RE3/AD11/P3C ..........................................................21
RE3/P3C ....................................................................14
RE4/AD12/P3B ..........................................................21
RE4/P3B ....................................................................14
RE5/AD13/P1C ..........................................................21
RE5/P1C ....................................................................14
RE6/AD14/P1B ..........................................................21
RE6/P1B ....................................................................14
RE7/AD15/ECCP2/P2A .............................................21
RE7/ECCP2/P2A .......................................................14
RF1/AN6/C2OUT .................................................15, 22
RF2/AN7/C1OUT ................................................. 15, 22
RF3/AN8 .............................................................. 15, 22
RF4/AN9 .............................................................. 15, 22
RF5/AN10/CV
REF
................................................ 15, 22
RF6/AN11 ............................................................ 15, 22
RF7/SS1 .............................................................. 15, 22
RG0/ECCP3/P3A ................................................. 16, 23
RG1/TX2/CK2 ...................................................... 16, 23
RG2/RX2/DT2 ...................................................... 16, 23
RG3/CCP4/P3D ................................................... 16, 23
RG4/CCP5/P1D ................................................... 16, 23
RH0/A16 .................................................................... 24
RH1/A17 .................................................................... 24
RH2/A18 .................................................................... 24
RH3/A19 .................................................................... 24
RH4/AN12/P3C .......................................................... 24
RH5/AN13/P3B .......................................................... 24
RH6/AN14/P1C .......................................................... 24
RH7/AN15/P1B .......................................................... 24
RJ0/ALE .................................................................... 25
RJ1/OE ...................................................................... 25
RJ2/WRL ................................................................... 25
RJ3/WRH ................................................................... 25
RJ4/BA0 .................................................................... 25
RJ5/CE ...................................................................... 25
RJ6/LB ....................................................................... 25
RJ7/UB ...................................................................... 25
V
DD
............................................................................ 25
V
DD
............................................................................ 16
V
DDCORE
/V
CAP
..................................................... 16, 25
V
SS
............................................................................ 25
V
SS
............................................................................ 16
Pinout I/O Descriptions
PIC18F6XJ10/6XJ15 ................................................. 10
PIC18F8XJ10/8XJ15 ................................................. 17
PIR Registers ................................................................... 104
PLL .................................................................................... 29
ECPLL Oscillator Mode ............................................. 29
HSPLL Oscillator Mode ............................................. 29
POP ................................................................................. 308
POR.
See
Power-on Reset.
PORTA
Associated Registers ............................................... 117
LATA Register ......................................................... 116
PORTA Register ...................................................... 116
TRISA Register ........................................................ 116
PORTB
Associated Registers ............................................... 120
LATB Register ......................................................... 118
PORTB Register ...................................................... 118
RB7:RB4 Interrupt-on-Change Flag
(RBIF Bit) ......................................................... 118
TRISB Register ........................................................ 118
PORTC
Associated Registers ............................................... 123
LATC Register ......................................................... 121
PORTC Register ...................................................... 121
RC3/SCK1/SCL1 Pin ............................................... 198
TRISC Register ........................................................ 121
PORTD ............................................................................ 138
Associated Registers ............................................... 126
LATD Register ......................................................... 124
PORTD Register ...................................................... 124
TRISD Register ........................................................ 124