3 Pin Allocation Tables

Table 3-1. 28-Pin Allocation Table
I/O(2)28-

Pin

SPDIP,

SOIC,

SSOP

28-

Pin

VQFN

A/DReferenceComparatorZCDTimers/SMT16-Bit PWM/

CCP

CWGCLCSPII2CUARTDSMIOCInterruptCAN FDCRC on BootJTAGBasic

RA0

2

27

ANA0

—

C1IN0-

C2IN0-

————

CLCIN0(1)

CLCIN4(1)

————

IOCA0

———TMS—

RA1

3

28

ANA1

—

C1IN1-

C2IN1-

————

CLCIN1(1)

CLCIN5(1)

————

IOCA1

—————

RA2

4

1

ANA2

DAC1OUT1

VREF- (DAC)

VREF- (ADC)

C1IN0+

C2IN0+

—————————

IOCA2

——BOOTA2——

RA3

5

2

ANA3

VREF+ (DAC)

VREF+ (ADC)

C1IN1+

————————

MDCARL(1)

IOCA3

—————

RA4

6

3

ANA4———T0CKI(1)———SS2(1)—CTS5(1)

MDCARH(1)

IOCA4

——BOOTA4——

RA5

7

4

ANA5

———————SS1(1)—RX5(1)

MDSRC(1)

IOCA5

———TCK—

RA6

10

7

ANA6

—————————CTS3(1)—

IOCA6

————

CLKOUT

OSC2

RA7

9

6

ANA7

—————————RX3(1)—

IOCA7

————

OSC1

CLKIN

RB0

21

18

ANB0

—

C2IN1+

ZCDIN

——

CWG1(1)

————

—

IOCB0

INT0(1)

————
RB12219ANB1—

C1IN3-

C2IN3-

———

CWG2(1)

———(4)—

—

IOCB1

INT1(1)

————
RB22320ANB2—————

CWG3(1)

—SDI2(1)—(4)—

—

IOCB2

INT2(1)

————
RB32421ANB3—

C1IN2-

C2IN2-

—————SCK2(1)———IOCB3—CANRX(1)—TDO—
RB42522

ANB4

ADACT(1)

———T5G(1)—————CTS4(1)—IOCB4—————
RB52623ANB5———T1G(1) CCP3(1)————RX4(1)—IOCB5———TDI—
RB62724ANB6——————

CLCIN2(1)

CLCIN6(1)

—

—

CTS2(1)—IOCB6————ICSPCLK
RB72825ANB7DAC1OUT2——T6IN(1)PWM3ERS(1)—

CLCIN3(1)

CLCIN7(1)

—

—

RX2(1)—IOCB7————ICSPDAT
RC0118ANC0———

T1CKI(1)

T3CKI(1)

T3G(1)

SMT1WIN(1)

———————IOCC0————SOSCO
RC1129ANC1———SMT1SIG(1) CCP2(1)——————IOCC1————SOSCIN

SOSCI

RC21310ANC2———T5CKI(1)

PWMIN0(1)

CCP1(1)

——————IOCC2—————
RC31411ANC3———T2IN(1)PWM1ERS(1)——SCK1(1)SCL1(3,4)——IOCC3—————
RC41512ANC4———————SDI1(1)SDA(3,4)——IOCC4——BOOTC4——
RC51613ANC5———T4IN(1)PWM2ERS(1)——————IOCC5——BOOTC5——
RC61714ANC6————PWMIN1(1)————CTS1(1)—IOCC6—————
RC71815ANC7—————————RX1(1)—IOCC7—————
RE3126————————————IOCE3————Vpp/MCLR
VSS1916—————————————————VSS
VDD(5)2017—————————————————VDD(5)
VSS85—————————————————VSS
OUT(2)——

ADGRDA

ADGRDB

—

C1OUT

C2OUT

—TMR0

PWM11

PWM12

PWM21

PWM22

PWM31

PWM32

CCP1

CCP2

CCP3

CWG1A

CWG1B

CWG1C

CWG1D

CWG2A

CWG2B

CWG2C

CWG2D

CWG3A

CWG3B

CWG3C

CWG3D

CLC1OUT

CLC2OUT

CLC3OUT

CLC4OUT

CLC5OUT

CLC6OUT

CLC7OUT

CLC8OUT

SS1

SCK1

SDO1

SS2

SCK2

SDO2

SDA1

SCL1

DTR1

RTS1

TX1

DTR2

RTS2

TX2

DTR3

RTS3

TX3

DTR4

RTS4

TX4

DTR5

RTS5

TX5

DSM1——CANTX———
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 needs to 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 uF bypass capacitor to VSS is required on the VDD pin.
Table 3-2.  40/44/48-Pin Allocation Table
I/O(2)40-

Pin

PDIP

40-

Pin

VQFN

44-

Pin

TQFP

48-

Pin

TQFP /

VQFN

A/DReferenceComparatorZCDTimers/SMT16-Bit PWM/

CCP

CWGCLCSPII2CUARTDSMIOCInterruptCAN FDCRC on BootJTAGBasic

RA0

2171921

ANA0

—

C1IN0-

C2IN0-

————

CLCIN0(1)

CLCIN4(1)

————

IOCA0

———TMS—

RA1

3182022

ANA1

—

C1IN1-

C2IN1-

————

CLCIN1(1)

CLCIN5(1)

————

IOCA1

—————

RA2

4192123

ANA2

DAC1OUT1

VREF- (DAC)

VREF- (ADC)

C1IN0+

C2IN0+

—————————

IOCA2

——BOOTA2——

RA3

5202224

ANA3

VREF+ (DAC)

VREF+ (ADC)

C1IN1+

————————

MDCARL(1)

IOCA3

—————

RA4

6212325ANA4———T0CKI(1)———SS2(1)—CTS5(1)

MDCARH(1)

IOCA4

——BOOTA4——

RA5

7222426

ANA5

———————SS1(1)—RX5(1)

MDSRC(1)

IOCA5

———TCK—

RA6

14293133

ANA6

—————————CTS3(1)—

IOCA6

————

CLKOUT

OSC2

RA7

13283032

ANA7

—————————RX3(1)—

IOCA7

————

OSC1

CLKIN

RB0

33888

ANB0

—

C2IN1+

ZCDIN

——

CWG1(1)

————

—

IOCB0

INT0(1)

————
RB134999ANB1—

C1IN3-

C2IN3-

———

CWG2(1)

———(4)—

—

IOCB1

INT1(1)

————
RB235101010ANB2—————

CWG3(1)

—SDI2(1)—(4)—

—

IOCB2

INT2(1)

————
RB336111111ANB3—

C1IN2-

C2IN2-

—————SCK2(1)———IOCB3—CANRX(1)—TDO—
RB437121416

ANB4

ADACT(1)

———T5G(1)—————CTS4(1)—IOCB4—————
RB538131517ANB5———T1G(1) CCP3(1)————RX4(1)—IOCB5———TDI—
RB639141618ANB6——————

CLCIN2(1)

CLCIN6(1)

—

CTS2(1)—IOCB6————ICSPCLK
RB740151719ANB7DAC1OUT2——T6IN(1)PWM3ERS(1)—

CLCIN3(1)

CLCIN7(1)

—

—

RX2(1)—IOCB7————ICSPDAT
RC015303234ANC0———

T1CKI(1)

T3CKI(1)

T3G(1)

SMT1WIN(1)

———————IOCC0————SOSCO
RC116313535ANC1———SMT1SIG(1) CCP2(1)——————IOCC1————SOSCIN

SOSCI

RC217323640ANC2———T5CKI(1)

PWMIN0(1)

CCP1(1)

——————IOCC2—————
RC318333741ANC3———T2IN(1)PWM1ERS(1)——SCK1(1)SCL1(3,4)——IOCC3—————
RC423384246ANC4———————SDI1(1)SDA(3,4)——IOCC4——BOOTC4——
RC524394347ANC5———T4IN(1)PWM2ERS(1)——————IOCC5——BOOTC5——
RC625404448ANC6————PWMIN1(1)————CTS1(1)—IOCC6—————
RC726111ANC7—————————RX1(1)—IOCC7—————
RD019343842AND0—————————————————
RD120353943AND1—————————————————
RD221364044AND2—————————————————
RD322374145AND3—————————————————
RD427222AND4—————————————————
RD528333AND5—————————————————
RD629444AND6—————————————————
RD730555AND7—————————————————
RE08232527ANE0—————————————————
RE19242628ANE1—————————————————
RE210252729ANE2—————————————————
RE31161820————————————IOCE3————Vpp/MCLR
RF0———36ANF0—————————————————
RF1———37ANF1—————————————————
RF2———38ANF2————————————————
RF3———39ANF3————————————————
RF4———12ANF4————————————————
RF5———13ANF5————————————————
RF6———14ANF6————————————————
RF7———15ANF7————————————————
VSS12, 316, 276, 296,31—————————————————VSS
VDD(5)11, 327, 267, 287, 30—————————————————VDD(5)
OUT(2)

ADGRDA

ADGRDB

—

C1OUT

C2OUT

—TMR0

PWM11

PWM12

PWM21

PWM22

PWM31

PWM32

CCP1

CCP2

CCP3

CWG1A

CWG1B

CWG1C

CWG1D

CWG2A

CWG2B

CWG2C

CWG2D

CWG3A

CWG3B

CWG3C

CWG3D

CLC1OUT

CLC2OUT

CLC3OUT

CLC4OUT

CLC5OUT

CLC6OUT

CLC7OUT

CLC8OUT

SS1

SCK1

SDO1

SS2

SCK2

SDO2

SDA1

SCL1

DTR1

RTS1

TX1

DTR2

RTS2

TX2

DTR3

RTS3

TX3

DTR4

RTS4

TX4

DTR5

RTS5

TX5

DSM1——CANTX———
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 needs to 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 uF bypass capacitor to VSS is required on all VDD pins.