Pin Allocation Tables

Table . 14/16-Pin Allocation Table
I/O14-pin PDIP/SOIC/TSSOP16-pin UQFNADCReferenceComparatorNCODACDSMTimersCCPPWMCWGMSSPZCDEUSARTCLCCLKRInterruptsPull-upBasic
RA01312ANA0C1IN0+DAC1OUT1MDSRC(1)SS2(1)IOCA0Y

ICDDAT
ICSPDAT

RA11211ANA1ADCVREF+

C1IN0
C2IN0-

DAC1VREF+IOCA1Y

ICDCLK
ICSPCLK

RA21110ANA2ADCVREF-DAC1VREF-T0CKI(1)CCP3IN(1)

CWG1IN(1)
CWG2IN(1)

ZCD1IOCA2YINT(1)
RA343T6IN(1)IOCA3Y

MCLR
VPP

RA432ANA4

T1G(1)
SMT1WIN(1)

IOCA4Y

CLKOUT
SOSCO
OSC2

RA521ANA5

T1CKI(1)

T2IN(1)

SMT1SIG(1)

CLCIN3(1)IOCA5Y

CLKIN

SOSCI

OSC1

RC0109ANC0C2IN0+T5CKI(1)

SCK1(1)

SCL1(1,3,4)

IOCC0Y
RC198ANC1

C1IN1-

C2IN1-

T4IN(1)CCP4IN(1)

SDI1(1)

SDA1(1,3,4)

CLCIN2(1)IOCC1Y
RC287

ANC2

ADACT(1)

C1IN2-

C2IN2-

MDCARL(1)IOCC2Y
RC376ANC3

C1IN3-

C2IN3-

T5G(1)CCP2IN(1)SS1(1)CLCIN0(1)IOCC3Y
RC465ANC4T3G(1)

SCK2(1,5)

SCL2(1,3,4,5)

CK1(1,3)CLCIN1(1)IOCC4Y
RC554ANC5MDCARH(1)T3CKI(1)CCP1IN(1)

SDI2(1,5)

SDA2(1,3,4,5)

RX1(1)

DT1(1,3)

IOCC5Y
VDD116VDD
VSS1413VSS
OUT(2)ADCGRDAC1OUTNCO1OUTDSM1OUTTMR0OUTCCP1OUTPWM6OUT

CWG1A

CWG2A

SDO1

SDO2

DT1(3)CLC1OUTCLKR
ADCGRDBC2OUTCCP2OUTPWM7OUT

CWG1B

CWG2B

SCK1

SCK2

CK1(3)CLC2OUT
CCP3OUT

CWG1C

CWG2C

SCL1(3)

SCL2(3)

TX1CLC3OUT
CCP4OUT

CWG1D

CWG2D

SDA1(3)

SDA2(3)

CLC4OUT
Table . 20-Pin Allocation Table
I/O20-pin PDIP/SOIC/SSOP20-pin UQFNADCReferenceComparatorNCODACDSMTimersCCPPWMCWGMSSPZCDEUSARTCLCCLKRInterruptsPull-upBasic
RA01916ANA0C1IN0+DAC1OUT1IOCA0Y

ICDDAT/

ICSPDAT

RA11815ANA1ADCVREF+

C1IN0-

C2IN0-

DAC1VREF+MDSRC(1)SS2(1)IOCA1Y

ICDCLK/

ICSPCLK

RA21714ANA2ADCVREF-DAC1VREF-T0CKI(1)

CWG1IN(1)

CWG2IN(1)

ZCD1CLCIN0(1)IOCA2YINT(1)
RA341IOCA3Y

MCLR

VPP

RA4320ANA4

T1G(1)

SMT1WIN(1)

CCP4IN(1)IOCA4Y

CLKOUT

SOSCO

OSC2

RA5219ANA5

T1CKI(1)

T2IN(1)

SMT1SIG(1)

IOCA5Y

CLKIN

SOSCI

OSC1

RB41310ANB4T5G(1)

SDI1(1)

SDA1(1,3,4)

CLCIN2(1)IOCB4Y
RB5129ANB5CCP3IN(1)

SDI2(1,5)

SDA2(1,3,4,5)

RX1(1)

DT1(1,3)

CLCIN3(1)IOCB5Y
RB6118ANB6

SCK1(1)

SCL1(1,3,4)

IOCB6Y
RB7107ANB7T6IN(1)

SCK2(1,5)

SCL2(1,3,4,5)

CK1(1,3)IOCB7Y
RC01613ANC0C2IN0+

T3CKI(1)

T3G(1)

IOCC0Y
RC11512ANC1

C1IN1-

C2IN1-

IOCC1Y
RC21411

ANC2

ADACT(1)

C1IN2-

C2IN2-

MDCARL(1)T5CKI(1)IOCC2Y
RC374ANC3

C1IN3-

C2IN3-

CCP2IN(1)CLCIN1(1)IOCC3Y
RC463ANC4IOCC4Y
RC552ANC5MDCARH(1)T4IN(1)CCP1IN(1)IOCC5Y
RC685ANC6SS1(1)IOCC6Y
RC796ANC7IOCC7Y
VDD118VDD
VSS2017VSS
OUT(2)ADCGRDAC1OUTNCO1OUTDSM1OUTTMR0OUTCCP1OUTPWM6OUT

CWG1A

CWG2A

SDO1

SDO2

DT1(3)CLC1OUTCLKR
ADCGRDBC2OUTCCP2OUTPWM7OUT

CWG1B

CWG2B

SCK1

SCK2

CK1(3)CLC2OUT
CCP3OUT

CWG1C

CWG2C

SCL1(3)

SCL2(3)

TX1CLC3OUT
CCP4OUT

CWG1D

CWG2D

SDA1(3)

SDA2(3)

CLC4OUT
Note:
  1. Default peripheral input. Input can be moved to any other pin with the PPS input selections registers.
  2. All pin outputs default to PORT latch data. Any pin can be selected as a digital peripherals output with the PPS output selection registers.
  3. These peripheral functions are bidirectional. The output pin selections must be the same as the input pin selections.
  4. These pins are configured for I2C logic levels; clock and data signals may be assigned to any of these pins. Assignments to the other pins (e.g., RA5) will operate, but logic levels will be standard TTL/ST as selected y the INLVL register.
  5. MSSP2 is not available on PIC16(L)F18424 and PIC16(L)F18444 devices.