Pin Allocation Tables

Table . 64-Pin Allocation Table
I/O(2)64-Pin TQFP, QFNA/DDACComparatorTimersCCP and PWMCWGZCDSMTClock Reference
(CLKR)InterruptEUSARTDSMMSSPBasic

RA0

24

ANA0

C1IN4-

C2IN4-

C3IN4-

T8IN(1)

RA1

23

ANA1

T2IN(1)

RA2

22

ANA2

Vref-

Vref-

C1IN1+

C2IN1+

C3IN1+

RA3

21

ANA3

Vref+

Vref+

RA4

28

ANA4

T0CKI(1)

RA5

27

ANA5

T3G(1)

RA6

40

ANA6

CLKOUT

OSC2

RA7

39

ANA7

OSC1

CLKIN

RB0

48

ANB0

ZCDIN

IOCB0

INT0(1)

RB1

47

ANB1

IOCB1

INT1(1)

(4)

RB2

46

ANB2

IOCB2

INT2(1)

(4)

RB3

45

ANB3

IOCB3

INT3(1)

RB4

44

ANB4

IOCB4

RB5

43

ANB5

T1G(1)

T3CKI(1)

IOCB5

RB6

42

ANB6

IOCB6

ICSPCLK

RB7

37

ANB7

DAC1OUT2

IOCB7

ICSPDAT

RC0

30

T1CKI(1)

IOCC0

CK4(1,3)

SOSCO

RC1

29

T6IN(1)

IOCC1

RX4(1,3)
DT4(1,3)

SOSCI

RC2

33

CWG1IN(1)

IOCC2

RC3

34

IOCC3

SCL1(3,4)
SCK1(1)

RC4

35

IOCC4

SDA1(3,4)
SDI1(1)

RC5

36

IOCC5

RC6

31

IOCC6

CK1(1,3)

RC7

32

IOCC7

RX1(1,3)
DT1(1,3)

RD0

58

AND0

RD1

55

AND1

T5CKI(1)
T7G(1)

RD2

54

AND2

RD3

53

AND3

MDCARL(1)

RD4

52

AND4

MDCARH(1)

RD5

51

AND5

MDSRC(1)

SDA2(3,4)
SDI2(1)

RD6

50

AND6

SCL2(3,4)
SCK2(1)

RD7

49

AND7

SS2(1)

RE0

2

ANE0

IOCE0

CK3(1,3)

RE1

1

ANE1

IOCE1

RX3(1,3)
DT3(1,3)

RE2

64

ANE2

IOCE2

CK5(1,3)

RE3

63

ANE3

IOCE3

RX5(1,3)
DT5(1,3)

RE4

62

ANE4

T4IN(1)

CCP2(1)

IOCE4

RE5

61

ANE5

CCP1(1)

IOCE5

RE6

60

ANE6

CCP3(1)

SMT1WIN1(1)

IOCE6

RE7

59

ANE7

SMT1SIG1(1)

IOCE7

RF0

18

C1IN0-C2IN0-
RF117ANF1
RF216ANF2
RF315C1IN2-
C2IN2-
C3IN2-
RF414ANF4C2IN0+
RF513ANF5DAC1OUT1C1IN1-
C2IN1-
RF612ANF6C1IN0+
RF711C2IN3-C1IN3-C3IN3-SS1(1)
RG03ANG0
RG14ANG1CK2(1,3)
RG25ANG2C3IN0+RX2(1,3)
DT2(1,3)
RG36ANG3C3IN0-CCP4(1)
RG48ANG4C3IN1-T5G(1)
T7CKI(1)CCP5(1)
RG57IOCG5Vpp/MCLR
RG620ANG6SMT2WIN1(1)
RG719ANG7SMT2SIG1(1)
RH026
RH125ADCACT(1)
RH257
RH356
VDD10, 38VDD
VSS9, 41VSS
OUT(2)ADGRDA

ADGRDB

C1OUT C2OUT C3OUTTMR0CCP1

CCP2

CCP3

CCP4

CCP5

PWM6OUT

PWM7OUT

CWG1A

CWG1B

CWG1C

CWG1D

CLKRTX1/CK1(3) 
DT1(3)
TX2/CK2(3)
DT2(3)
 TX3/CK3(3) 
DT3(3)
TX4/CK4(3)
DT4(3) TX5/CK5(3) 
DT5(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 must 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.