3 Pin Allocation Tables

Table 3-1. 14-Pin Allocation Table
I/O 14-Pin SOIC/TSSOP A/D Reference Comparator ZCD Timers/SMT 16-Bit PWM/CCP CWG CLC SPI I2C UART DSM IOC Interrupts Basic
RA0 13 ANA0 DAC1OUT1 C1IN0+ SS2(1) IOCA0

ICDDAT
ICSPDAT

RA1 12 ANA1

VREF+ (ADC)
VREF+ (DAC1)
VREF+ (DAC2)

C1IN0-
C2IN0-

MDSRC(1) IOCA1

ICDCLK
ICSPCLK

RA2 11 ANA2

VREF- (ADC)
VREF- (DAC1)
VREF- (DAC2)
DAC1OUT2

ZCDIN T0CKI(1) CWGIN(1) IOCA2 INT0(1)
RA3 4 IOCA3

MCLR
VPP

RA4 3 ANA4

T1G(1)

CLCIN3(1) RX3(1) IOCA4 INT1(1)

CLKOUT
SOSCO
OSC2

RA5 2 ANA5

T1CKI(1)
T2IN(1)
SMT1WIN(1)

PWM1ERS(1) CTS3(1) IOCA5 INT2(1)

CLKIN
SOSCI
OSC1

RC0 10 ANC0 C2IN0+ SMT1SIG(1) SCK1(1) SCL1(3,4) IOCC0
RC1 9 ANC1

C1IN1-
C2IN1-

T4IN(1) PWM2ERS(1) CLCIN2(1) SDI1(1) SDA1(3,4) RX2(1) IOCC1
RC2 8

ANC2
ADACT(1)

C1IN2-
C2IN2-

PWM3ERS(1) CTS2(1) MDCARL(1) IOCC2
RC3 7 ANC3

C1IN3-
C2IN3-


PWMIN2(1)

CLCIN0(1) SS1(1) IOCC3
RC4 6 ANC4 T3G(1) CLCIN1(1) SCK2(1) CTS1(1) IOCC4
RC5 5 ANC5 T3CKI(1)

CCP1IN(1)
PWMIN1(1)

SDI2(1) RX1(1) MDCARH(1) IOCC5
VDD 1 VDD
VSS 14 VSS
OUT(2)

ADCGRDA
ADCGRDB

CM1OUT
CM2OUT

TMR0

PWM11
PWM12
PWM21
PWM22
PWM31
PWM32
CCP1

CWG1A
CWG1B
CWG1C
CWG1D

CLC1OUT
CLC2OUT
CLC3OUT
CLC4OUT

SS1
SCK1
SD01
SS2
SCK2
SDO2

SDA1
SCL1

DTR1
RTS1
TX1
DTR2
RTS2
TX2
DTR3
RTS3
TX3

DSM1
Note:
  1. This is a PPS re-mappable input signal. The input function may be moved from the default location shown to one of several other PORTx pins.
  2. All digital output signals shown in these rows are PPS re-mappable. These signals may be mapped to output onto one of several PORTx pin options.
  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.
  5. A 0.1 μF bypass capacitor to VSS is required on the VDD pin.
Table 3-2. 20-Pin Allocation Table
I/O 20-Pin PDIP/SOIC/SSOP 20-Pin VQFN A/D Reference Comparator ZCD Timers/SMT 16-Bit PWM/CCP CWG CLC SPI I2C UART DSM IOC Interrupts Basic
RA0 19 16 ANA0 DAC1OUT1 C1IN0+ IOCA0

ICDDAT
ICSPDAT

RA1 18 15 ANA1

VREF+ (ADC)
VREF+ (DAC1)
VREF+ (DAC2)

C1IN0-
C2IN0-

SS2(1) MDSRC(1) IOCA1

ICDCLK
ICSPCLK

RA2 17 14 ANA2

VREF- (ADC)
VREF- (DAC1)
VREF- (DAC2)
DAC1OUT2

ZCDIN CWGIN(1) CLCIN0(1) IOCA2
RA3 4 1 IOCA3

MCLR
VPP

RA4 3 20 ANA4

T1G(1)
SMT1SIG(1)

IOCA4

CLKOUT
SOSCO
OSC2

RA5 2 19 ANA5


T2IN(1)
SMT1WIN(1)

PWM1ERS(1) IOCA5

CLKIN
SOSCI
OSC1

RB4 13 10 ANB4 CLCIN2(1) SDI1(1) SDA1(3,4) IOCB4
RB5 12 9 ANB5 CLCIN3(1) SDI2(1) RX1(1) IOCB5
RB6 11 8 ANB6 SCK1(1) SCL1(3,4) IOCB6
RB7 10 7 ANB7 SCK2(1) CTS1(1) IOCB7
RC0 16 13 ANC0 C2IN0+ IOCC0 INT0(1)
RC1 15 12 ANC1

C1IN1-
C2IN1-

T4IN(1) PWM2ERS(1) RX2(1) IOCC1 INT1(1)
RC2 14 11

ANC2
ADACT(1)

C1IN2-
C2IN2-

PWM3ERS(1) CTS2(1) MDCARL(1) IOCC2 INT2(1)
RC3 7 4 ANC3

C1IN3-
C2IN3-


PWMIN2(1)

CLCIN1(1) RX3(1) IOCC3
RC4 6 3 ANC4 T3G(1) IOCC4
RC5 5 2 ANC5

T3CKI(1)
T0CKI(1)

CCP1IN(1)
PWMIN1(1)

CTS3(1) MDCARH(1) IOCC5
RC6 8 5 ANC6 T1CKI(1) SS1(1) IOCC6
RC7 9 6 ANC7 IOCC7
VDD 1 18 VDD
VSS 20 17 VSS
OUT(2)

ADCGRDA
ADCGRDB

CM1OUT
CM2OUT

TMR0

PWM11
PWM12
PWM21
PWM22
PWM31
PWM32
CCP1

CWG1A
CWG1B
CWG1C
CWG1D

CLC1OUT
CLC2OUT
CLC3OUT
CLC4OUT

SS1
SCK1
SD01
SS2
SCK2
SDO2

SDA1
SCL1

DTR1
RTS1
TX1
DTR2
RTS2
TX2
DTR3
RTS3
TX3

DSM1
Note:
  1. This is a PPS re-mappable input signal. The input function may be moved from the default location shown to one of several other PORTx pins.
  2. All digital output signals shown in these rows are PPS re-mappable. These signals may be mapped to output onto one of several PORTx pin options.
  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.
  5. A 0.1 μF bypass capacitor to VSS is required on the VDD pin.