Pin Allocation Tables

Table . 28-Pin Allocation Table
I/O(2)28-Pin SPDIP, SOIC, SSOP28-Pin (V)QFNA/DReferenceComparatorTimersCCPCWGZCDInterruptEUSARTDSMMSSPPull-upBasic

RA0

2

27

ANA0

C1IN0-

C2IN0-

IOCA0

Y

RA1

3

28

ANA1

C1IN1-

C2IN1-

IOCA1

Y

RA2

4

1

ANA2

DAC1OUT1

VREF- (DAC)

VREF- (ADC)

C1IN0+

C2IN0+

IOCA2

Y

RA3

5

2

ANA3

VREF+ (DAC)

VREF+ (ADC)

C1IN1+

IOCA3

MDCARL(1)

Y

RA4

6

3

ANA4

T0CKI(1)

IOCA4

MDCARH(1)

Y

RA5

7

4

ANA5

IOCA5

MDSRC(1)

SS1(1)

Y

RA6

10

7

ANA6

IOCA6

Y

CLKOUT

OSC2

RA7

9

6

ANA7

IOCA7

Y

OSC1

CLKIN

RB0

21

18

ANB0

C2IN1+

CWG1(1)

ZCDIN

IOCB0

INT0(1)

SS2(1)

Y
RB12219ANB1C1IN3-

C2IN3-

IOCB1

INT1(1)

SCK2(1)

SCL2(3,4)

Y
RB22320ANB2IOCB2

INT2(1)

SDI2(1)

SDA2(3,4)

Y
RB32421ANB3C1IN2-

C2IN2-

IOCB3Y
RB42522ANB4T5G(1)IOCB4Y
RB52623ANB5T1G(1)IOCB5Y
RB62724ANB6IOCB6CK2(1,3)YICSPCLK
RB72825ANB7DAC1OUT2T6IN(1)IOCB7RX2/DT2(1,3)YICSPDAT
RC0118ANC0T1CKI(1)

T3CKI(1)

T3G(1)

IOCC0YSOSCO
RC1129ANC1CCP2(1)IOCC1YSOSCIN

SOSCI

RC21310ANC2T5CKI(1)CCP1(1)IOCC2Y
RC31411ANC3T2IN(1)IOCC3SCK1(1)

SCL1(3,4)

Y
RC41512ANC4IOCC4SDI1(1)

SDA1(3,4)

Y
RC51613ANC5T4IN(1)IOCC5Y
RC61714ANC6IOCC6CK1(1,3)Y
RC71815ANC7IOCC7RX1/DT1(1,3)Y
RE3126IOCE3YVPP/MCLR
VSS1916VSS
VDD(5)2017VDD
VSS85VSS
OUT(2)ADGRDA

ADGRDB

C1OUT

C2OUT

TMR0CCP1

CCP2

PWM3

PWM4

CWG1A

CWG1B

CWG1C

CWG1D

TX1/CK1(3)

DT1(3)

TX2/CK2(3)

DT2(3)

DSMSDO1

SCK1

SDO2

SCK2

Note:
  1. This is a PPS remappable input signal. The input function may be moved from the default location shown to one of several other PORTx pins. Refer to the peripheral input selection table for details on which port pins may be used for this signal.
  2. All output signals shown in this row are PPS remappable. These signals may be mapped to output onto one of several PORTx pin options as described in the peripheral output selection table.
  3. This is a bidirectional signal. For normal module operation, the firmware should map this signal to the same pin in both the PPS input and PPS output registers.
  4. These pins are configured for I2C logic levels; The SCLx/SDAx signals may be assigned to any of these pins. PPS assignments to the other pins (e.g., RB1) will operate, but input logic levels will be standard TTL/ST as selected by the INLVL register, instead of the I2C specific or SMBus input buffer thresholds.
  5. A 0.1 μF bypass capacitor to VSS is required on the VDD pin.