PIC18FXX20
TABLE 1-2:
PIC18FXX20 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Number
Pin
Buffer
Type
Pin Name
Description
Type
PIC18F6X20 PIC18F8X20
PORTC is a bi-directional I/O port.
RC0/T1OSO/T13CKI
RC0
30
36
I/O
O
I
ST
—
ST
Digital I/O.
Timer1 oscillator output.
Timer1/Timer3 external clock input.
T1OSO
T13CKI
RC1/T1OSI/CCP2
29
35
RC1
I/O
I
I/O
ST
CMOS
ST
Digital I/O.
T1OSI
Timer1 oscillator input.
Capture2 input/Compare2 output/
PWM2 output.
CCP2(2)
RC2/CCP1
RC2
33
34
43
44
I/O
I/O
ST
ST
Digital I/O.
CCP1
Capture1 input/Compare1
output/PWM1 output.
RC3/SCK/SCL
RC3
I/O
I/O
ST
ST
Digital I/O.
SCK
Synchronous serial clock
input/output for SPI mode.
Synchronous serial clock
input/output for I2C mode.
SCL
I/O
ST
RC4/SDI/SDA
RC4
35
45
I/O
I
I/O
ST
ST
ST
Digital I/O.
SPI data in.
I2C data I/O.
SDI
SDA
RC5/SDO
36
31
46
37
RC5
I/O
O
ST
—
Digital I/O.
SDO
SPI data out.
RC6/TX1/CK1
RC6
I/O
O
I/O
ST
—
ST
Digital I/O.
TX1
USART 1 asynchronous transmit.
USART 1 synchronous clock
(see RX1/DT1).
CK1
RC7/RX1/DT1
RC7
32
38
I/O
I
I/O
ST
ST
ST
Digital I/O.
RX1
USART 1 asynchronous receive.
USART 1 synchronous data
(see TX1/CK1).
DT1
Legend: TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
Analog = Analog input
I
= Input
= Power
O
= Output
= Open Drain (no P diode to VDD)
P
OD
Note 1: Alternate assignment for CCP2 when CCP2MX is not selected (all Operating modes except
Microcontroller).
2: Default assignment when CCP2MX is set.
3: External memory interface functions are only available on PIC18F8X20 devices.
4: CCP2 is multiplexed with this pin by default when configured in Microcontroller mode. Otherwise, it is
multiplexed with either RB3 or RC1.
5: PORTH and PORTJ are only available on PIC18F8X20 (80-pin) devices.
6: AVDD must be connected to a positive supply and AVSS must be connected to a ground reference for proper
operation of the part in User or ICSP modes. See parameter D001A for details.
DS39609A-page 14
AdvanceInformation
2003 Microchip Technology Inc.