Datasheet

1997-2013 Microchip Technology Inc. DS30234E-page 15
PIC16C6X
TABLE 3-2: PIC16C62/62A/R62/63/R63/66 PINOUT DESCRIPTION
Pin Name Pin# Pin Type
Buffer
Type
Description
OSC1/CLKIN 9 I
ST/CMOS
(3)
Oscillator crystal input/external clock source input.
OSC2/CLKOUT 10 O Oscillator crystal output. Connects to crystal or resonator in crys-
tal oscillator mode. In RC mode, the pin outputs CLKOUT which
has 1/4 the frequency of OSC1, and denotes the instruction cycle
rate.
M
CLR/VPP
1 I/P ST Master clear reset input or programming voltage input. This pin is
an active low reset to the device.
PORTA is a bi-directional I/O port.
RA0 2 I/O TTL
RA1 3 I/O TTL
RA2 4 I/O TTL
RA3 5 I/O TTL
RA4/T0CKI 6 I/O ST RA4 can also be the clock input to the Timer0 timer/counter.
Output is open drain type.
RA5/SS
7 I/O TTL RA5 can also be the slave select for the synchronous serial
port.
PORTB is a bi-directional I/O port. PORTB can be software pro-
grammed for internal weak pull-up on all inputs.
RB0/INT 21 I/O TTL/ST
(4)
RB0 can also be the external interrupt pin.
RB1 22 I/O TTL
RB2 23 I/O TTL
RB3 24 I/O TTL
RB4 25 I/O TTL Interrupt on change pin.
RB5 26 I/O TTL Interrupt on change pin.
RB6 27 I/O TTL/ST
(5)
Interrupt on change pin. Serial programming clock.
RB7 28 I/O TTL/ST
(5)
Interrupt on change pin. Serial programming data.
PORTC is a bi-directional I/O port.
RC0/T1OSO
(1)
/T1CKI
11 I/O ST RC0 can also be the Timer1 oscillator output
(1)
or Timer1
clock input.
RC1/T1OSI
(1)
/CCP2
(2)
12 I/O ST RC1 can also be the Timer1 oscillator input
(1)
or Capture2
input/Compare2 output/PWM2 output
(2)
.
RC2/CCP1 13 I/O ST RC2 can also be the Capture1 input/Compare1 out-
put/PWM1 output.
RC3/SCK/SCL 14 I/O ST RC3 can also be the synchronous serial clock input/output
for both SPI and I
2
C modes.
RC4/SDI/SDA 15 I/O ST RC4 can also be the SPI Data In (SPI mode) or
data I/O (I
2
C mode).
RC5/SDO 16 I/O ST RC5 can also be the SPI Data Out (SPI mode).
RC6/TX/CK
(2)
17 I/O ST RC6 can also be the USART Asynchronous Transmit
(2)
or
Synchronous Clock
(2)
.
RC7/RX/DT
(2)
18 I/O ST RC7 can also be the USART Asynchronous Receive
(2)
or
Synchronous Data
(2)
.
V
SS 8,19 P Ground reference for logic and I/O pins.
V
DD 20 P Positive supply for logic and I/O pins.
Legend: I = input O = output I/O = input/output P = power
— = Not used TTL = TTL input ST = Schmitt Trigger input
Note 1: Pin functions T1OSO and T1OSI are reversed on the PIC16C62.
2: The USART and CCP2 are not available on the PIC16C62/62A/R62.
3: This buffer is a Schmitt Trigger input when configured in RC oscillator mode and a CMOS input otherwise.
4: This buffer is a Schmitt Trigger input when configured as the external interrupt.
5: This buffer is a Schmitt Trigger input when used in serial programming mode.