3 Pin Allocation Tables

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

Pin

SPDIP,

SSOP

28-

Pin

VQFN

A/DReferenceComp.ZCDTimers16-Bit PWM/

CCP

CWGDSMCLBCLC

SPI/

I2C

SRPORTUARTIOCInterruptBasic
RA0227ANA0—

C1IN0-

C2IN0-

—————CLBIN7(1)

CLCIN0(1)

CLCIN4(1)

———IOCA0——
RA1328ANA1—

C1IN1-

C2IN1-

—————CLBCLK(1)

CLCIN1(1)

CLCIN5(1)

———

IOCA1

——
RA241ANA2

DAC1OUT1

VREF- (DAC1)

VREF- (ADC)

C1IN0+

C2IN0+

——————————IOCA2——
RA352ANA3

VREF+ (DAC1)

VREF+ (ADC)

C1IN1+————MDCARL(1)—————IOCA3——
RA463ANA4———T0CKI(1)——MDCARH(1)—————

IOCA4

——
RA574ANA5——————MDSRC(1)——SS1(1)——IOCA5——
RA6107ANA6————————————IOCA6—

CLKOUT

OSC2

RA796ANA7————————————IOCA7—

OSC1

CLKIN

RB02118ANB0—C2IN1+ZCDIN——CWG1(1)————PORTWIN1(1)—IOCB0INT0(1)—
RB12219ANB1—

C1IN3-

C2IN3-

————————PORTWCLK(1)—IOCB1INT1(1)—
RB22320ANB2——————————PORTWIN0(1)—IOCB2INT2(1)—
RB32421ANB3—

C1IN2-

C2IN2-

——————————IOCB3——
RB42522

ANB4

ADACT(1)

————————————IOCB4——
RB52623ANB5———

T1G(1)

TUIN1(1)

————————IOCB5——
RB62724ANB6————————

CLCIN2(1)

CLCIN6(1)

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

CLCIN3(1)

CLCIN7(1)

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

T1CKI(1)

T3CKI(1)

T3G(1)

TUIN0(1)

———CLBIN0(1)————IOCC0—SOSCO
RC1129ANC1————PWMIN1(1)——CLBIN1(1)————IOCC1—SOSCI
RC21310ANC2————

PWMIN0(1)

CCP1(1)

——CLBIN2(1)————IOCC2——
RC3(6)1411————T2IN(1)PWM1ERS(1)——CLBIN3(1)—

SCK1(1)

SCL1(3,4)

——IOCC3——
RC4(6)1512————————CLBIN4(1)—

SDI1(1)

SDA1(3,4)

——IOCC4——
RC5(6)1613————T4IN(1)PWM2ERS(1)——CLBIN5(1)———RX1(1)IOCC5——
RC6(6)1714————————CLBIN6(1)———CTS1(1)IOCC6——
RE3126—————————————IOCE3—VPP/MCLR
VDD(5)2017———————————————VDD(5)
VDDIO2(5)1815———————————————VDDIO2
VSS8, 195, 16———————————————VSS
OUT(2)——

ADGRDA

ADGRDB

—

C1OUT

C2OUT

—TMR0

PWM11

PWM12

PWM21

PWM22

CCP1

CWG1A

CWG1B

CWG1C

CWG1D

DSM

CLBDEBUG0

CLBDEBUG1

CLBPPSOUT15

CLBPPSOUT14

CLBPPSOUT13

CLBPPSOUT12

CLBPPSOUT11

CLBPPSOUT10

CLBPPSOUT9

CLBPPSOUT8

CLBPPSOUT7

CLBPPSOUT6

CLBPPSOUT5

CLBPPSOUT4

CLBPPSOUT3

CLBPPSOUT2

CLBPPSOUT1

CLBPPSOUT0

CLC1OUT

CLC2OUT

CLC3OUT

CLC4OUT

CLC5OUT

CLC6OUT

CLC7OUT

CLC8OUT

SS1

SCK1

SDO1

SDA1

SCL1

RW7

RW6

RW5

RW4

RW3

RW2

RW1

RW0

DTR1

RTS1

TX1

DTR2

RTS2

TX2

———
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 may 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 LVBUF/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 and VDDIOx pins.
  6. MVIO pins, powered by VDDIO2.
Table 3-2. 40/48-Pin Allocation Table
I/O(2)40-

Pin

PDIP

40-

Pin

VQFN

TQFP

48-

Pin

TQFP

VQFN

A/DReferenceComparatorZCDTimers16-Bit PWM/

CCP

CWGDSMCLBCLC

SPI/

I2C

SRPORTUARTIOCInterruptBasic
RA021721ANA0—

C1IN0-

C2IN0-

—————CLBIN7(1)

CLCIN0(1)

CLCIN4(1)

———IOCA0——
RA131822ANA1—

C1IN1-

C2IN1-

—————CLBCLK(1)

CLCIN1(1)

CLCIN5(1)

———IOCA1——
RA241923ANA2

DAC1OUT1

VREF- (DAC1)

VREF- (ADC)

C1IN0+

C2IN0+

——————————IOCA2——
RA352024ANA3

VREF+ (DAC1)

VREF+ (ADC)

C1IN1+————MDCARL(1)—————IOCA3——
RA462125ANA4———T0CKI(1)——MDCARH(1)—————IOCA4——
RA572226ANA5——————MDSRC(1)——SS1(1)——IOCA5——
RA6142933ANA6————————————IOCA6—

CLKOUT

OSC2

RA7132832ANA7————————————IOCA7—

OSC1

CLKIN

RB03388ANB0—C2IN1+ZCD1IN——CWG1(1)————PORTWIN1(1)—IOCB0INT0(1)—
RB13499ANB1—

C1IN3-

C2IN3-

————————PORTWCLK(1)—IOCB1INT1(1)—
RB2351010ANB2——————————PORTWIN0(1)—IOCB2INT2(1)—
RB3361111ANB3—

C1IN2-

C2IN2-

——————————IOCB3——
RB4371216

ANB4

ADACT(1)

————————————IOCB4——
RB5381317ANB5———

T1G(1)

TUIN1(1)

————————IOCB5——
RB6391418ANB6————————

CLCIN2(1)

CLCIN6(1)

——CTS2(1)IOCB6—ICSPCLK
RB7401519ANB7DAC1OUT2———————

CLCIN3(1)

CLCIN7(1)

——RX2(1)IOCB7—ICSPDAT
RC0153034ANC0———

T1CKI(1)

T3CKI(1)

T3G(1)

TUIN0(1)

———CLBIN0(1)————IOCC0—SOSCO
RC1163135ANC1————PWMIN1(1)——CLBIN1(1)————IOCC1—SOSCI
RC2173240ANC2————

PWMIN0(1)

CCP1(1)

——CLBIN2(1)————IOCC2——
RC3(6)183341————T2IN(1)PWM1ERS(1)——CLBIN3(1)—

SCK1(1)

SCL1(3,4)

——IOCC3——
RC4(6)233846————————CLBIN4(1)—

SDI1(1)

SDA1(3,4)

——IOCC4——
RC5(6)243947————T4IN(1)PWM2ERS(1)——CLBIN5(1)———RX1(1)IOCC5——
RC6(6)254048————————CLBIN6(1)———CTS1(1)IOCC6——
RD0(6)193442————————————————
RD1(6)203543————————————————
RD2(6)213644————————————————
RD3(6)223745————————————————
RD4(6)2722————————————————
RD5(6)2833————————————————
RD6(6)2944————————————————
RD7(6)3055————————————————
RE082327ANE0———————————————
RE192428ANE1———————————————
RE2102529ANE2———————————————
RE311620—————————————IOCE3—VPP/MCLR
RF0——36ANF0———————————————
RF1——37ANF1———————————————
RF2——38ANF2——————————————
RF3——39ANF3——————————————
RF4——12ANF4——————————————
RF5——13ANF5——————————————
RF6——14ANF6——————————————
RF7——15ANF7——————————————
VDD(5)11, 327, 267, 30———————————————VDD(5)
VDDIO2(5)2611———————————————VDDIO2
VSS12, 316, 276,31———————————————VSS
OUT(2)

ADGRDA

ADGRDB

—

C1OUT

C2OUT

—TMR0

PWM11

PWM12

PWM21

PWM22

CCP1

CWG1A

CWG1B

CWG1C

CWG1D

DSM

CLBDEBUG0

CLBDEBUG1

CLBPPSOUT15

CLBPPSOUT14

CLBPPSOUT13

CLBPPSOUT12

CLBPPSOUT11

CLBPPSOUT10

CLBPPSOUT9

CLBPPSOUT8

CLBPPSOUT7

CLBPPSOUT6

CLBPPSOUT5

CLBPPSOUT4

CLBPPSOUT3

CLBPPSOUT2

CLBPPSOUT1

CLBPPSOUT0

CLC1OUT

CLC2OUT

CLC3OUT

CLC4OUT

CLC5OUT

CLC6OUT

CLC7OUT

CLC8OUT

SS1

SCK1

SDO1

SDA1

SCL1

RW7

RW6

RW5

RW4

RW3

RW2

RW1

RW0

DTR1

RTS1

TX1

DTR2

RTS2

TX2

———
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 may 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 LVBUF/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 all VDD and VDDIOx pins.
  6. MVIO pins, powered by VDDIO2.