Pin Allocation Tables
I/O | 8-Pin PDIP SOIC DFN | ADC | DAC | Comparator | Timers | CCP | 10-Bit PWM | CLB | CLC | MSSP | EUSART | IOC | Interrupt | Basic |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RA0 | 7 | ANA0 | — | C1IN0+ | — | — | — | CLBIN3(1) | CLCIN3(1) | — | CK1(1,3) | IOCA0 | — | ICSPDAT ICDDAT |
RA1 | 6 | ANA1 VREF+ (ADC) |
DAC1REF0+ | C1IN0- C2IN0- | — | — | — | CLBIN2(1) | CLCIN2(1) | SCL1(1,3) SCK1(1,3) | RX1(1)
DT1(1,3) | IOCA1 | — | ICSPCLK ICDCLK |
RA2 | 5 |
ANA2 | — | — | T0CKI(1) | — | — | — | — | SDA1(1,3) SDI1(1,3) | — | IOCA2 | INT(1) | — |
RA3 | 4 | — | — | — | — | — | — | CLBIN0(1) | CLCIN0 (1) | SS1(1) | — | IOCA3 | — | MCLR VPP |
RA4 | 3 |
ANA4 | — | C1IN1- | T1G(1) | — | — | — | — | — | — | IOCA4 | — |
CLKOUT OSC2 |
RA5 | 2 | ANA5 ADACT(1) | — | — | T1CKI(1) T2IN(1) | CCP1(1) CCP2(1) | — | CLBIN1(1) | CLCIN1(1) | — | — | IOCA5 | — |
CLKIN OSC1 |
VDD | 1 | — | — | — | — | — | — | — | — | — | — | — | — | VDD |
VSS | 8 | — | — | — | — | — | — | — | — | — | — | — | — | VSS |
OUT(2) | — |
ADGRDA ADGRDB | — |
CMP1 CMP2 | TMR0 | CCP1 CCP2 | PWM1 PWM2 |
CLBOUT0 CLBOUT1 CLBOUT2 CLBOUT3 CLBOUT4 CLBOUT5 CLBOUT6 CLBOUT7 |
CLC1OUT CLC2OUT CLC3OUT CLC4OUT | SCL1 SCK1 SDA1 SDO1 | TX1 DT1 CK1 | — | — | — |
Note:
|
I/O | 14-Pin PDIP SOIC TSSOP | 16-Pin VQFN | ADC | DAC | Comparator | Timers | CCP | 10-Bit PWM | CLB | CLC | MSSP | EUSART | IOC | Interrupt | Basic |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RA0 | 13 | 12 |
ANA0 | — | C1IN0+ | — | — | — | — | — | — | — | IOCA0 | — | ICSPDAT ICDDAT |
RA1 | 12 | 11 |
ANA1 VREF+(ADC) |
DAC1REF0+ |
C1IN0- C2IN0- | — | — | — | — | — | — | — | IOCA1 | — | ICSPCLK ICDCLK |
RA2 | 11 | 10 |
ANA2 | — | — | T0CKI(1) | — | — | — | — | — | — | IOCA2 | INT(1) | — |
RA3 | 4 | 3 | — | — | — | — | — | — | — | — | — | — | IOCA3 | — | MCLR VPP |
RA4 | 3 | 2 |
ANA4 | — | — | T1G(1) | — | — | — | — | — | — | IOCA4 | — |
CLKOUT OSC2 |
RA5 | 2 | 1 |
ANA5 | — | — | T1CKI(1) T2IN(1) | — | — | CLBIN3(1) | CLCIN3(1) | — | — | IOCA5 | — |
CLKIN OSC1 |
RC0 | 10 | 9 |
ANC0 | — | C2IN0+ | — | — | — | — | — | SCL1(1,3,4) SCK1(1,3,4) | — | IOCC0 | — | — |
RC1 | 9 | 8 |
ANC1 | — |
C1IN1- C2IN1- | — | — | — | CLBIN2(1) | CLCIN2(1) | SDA1(1,3,4) SDI1(1,3,4) | — | IOCC1 | — | — |
RC2 | 8 | 7 | ANC2 ADACT(1) | — |
C1IN2- C2IN2- | — | — | — | — | — | — | — | IOCC2 | — | — |
RC3 | 7 | 6 |
ANC3 | — |
C1IN3- C2IN3- | — | CCP2(1) | — | CLBIN0(1) | CLCIN0(1) | SS1(1) | — | IOCC3 | — | — |
RC4 | 6 | 5 |
ANC4 | — | — | — | — | — | CLBIN1(1) | CLCIN1(1) | — | CK1(1,3) | IOCC4 | — | — |
RC5 | 5 | 4 |
ANC5 | — | — | — | CCP1(1) | — | — | — | — | RX1(1) DT1(1,3) | IOCC5 | — | — |
VDD | 1 | 16 | — | — | — | — | — | — | — | — | — | — | — | — | VDD |
VSS | 14 | 13 | — | — | — | — | — | — | — | — | — | — | — | — | VSS |
OUT(2) | — | — |
ADGRDA ADGRDB | — |
CMP1 CMP2 | TMR0 | CCP1 CCP2 | PWM1 PWM2 |
CLBOUT0 CLBOUT1 CLBOUT2 CLBOUT3 CLBOUT4 CLBOUT5 CLBOUT6 CLBOUT7 |
CLC1OUT CLC2OUT CLC3OUT CLC4OUT | SCL1 SCK1 SDA1 SDO1 | TX1 DT1 CK1 | — | — | — |
Note:
|
I/O | 20-Pin PDIP SOIC SSOP | 20-Pin VQFN | ADC | DAC | Comparator | Timers | CCP | 10-Bit PWM | CLB | CLC | MSSP | EUSART | IOC | Interrupt | Basic |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RA0 | 19 | 16 |
ANA0 | — | C1IN0+ | — | — | — | — | — | — | — | IOCA0 | — | ICSPDAT ICDDAT |
RA1 | 18 | 15 |
ANA1 VREF+(ADC) |
DAC1REF0+ |
C1IN0- C2IN0- | — | — | — | — | — | — | — | IOCA1 | — | ICSPCLK ICDCLK |
RA2 | 17 | 14 |
ANA2 | — | — | T0CKI(1) | — | — | CLBIN0(1) | CLCIN0(1) | — | — | IOCA2 | INT(1) | — |
RA3 | 4 | 1 | — | — | — | — | — | — | — | — | — | — | IOCA3 | — | MCLR VPP |
RA4 | 3 | 20 |
ANA4 | — | — | T1G(1) | — | — | — | — | — | — | IOCA4 | — |
CLKOUT OSC2 |
RA5 | 2 | 19 |
ANA5 | — | — | T1CKI(1) T2IN(1) | — | — | — | — | — | — | IOCA5 | — |
CLKIN OSC1 |
RB4 | 13 | 10 |
ANB4 | — | — | — | — | — | CLBIN2(1) | CLCIN2(1) | SDA1(1,3,4) SDI1(1,3,4) | — | IOCB4 | — | — |
RB5 | 12 | 9 |
ANB5 | — | — | — | — | — | CLBIN3(1) | CLCIN3(1) | — | RX1(1) DT1(1,3) | IOCB5 | — | — |
RB6 | 11 | 8 |
ANB6 | — | — | — | — | — | — | — | SCL1(1,3,4) SCK1(1,3,4) | — | IOCB6 | — | — |
RB7 | 10 | 7 | ANB7 | — | — | — | — | — | — | — | — | CK1(1,3) | IOCB7 | — | — |
RC0 | 16 | 13 | ANC0 | — | C2IN0+ | — | — | — | — | — | — | — | IOCC0 | — | — |
RC1 | 15 | 12 | ANC1 | — | C1IN1- C2IN1- | — | — | — | — | — | — | — | IOCC1 | — | — |
RC2 | 14 | 11 | ANC2 ADACT(1) | — | C1IN2- C2IN2- | — | — | — | — | — | — | — | IOCC2 | — | — |
RC3 | 7 | 4 | ANC3 | — | C1IN3- C2IN3- | — | CCP2(1) | — | CLBIN1(1) | CLCIN1(1) | — | — | IOCC3 | — | — |
RC4 | 6 | 3 | ANC4 | — | — | — | — | — | — | — | — | — | IOCC4 | — | — |
RC5 | 5 | 2 | ANC5 | — | — | — | CCP1(1) | — | — | — | — | — | IOCC5 | — | — |
RC6 | 8 | 5 | ANC6 | — | — | — | — | — | — | — | SS1(1) | — | IOCC6 | — | — |
RC7 | 9 | 6 | ANC7 | — | — | — | — | — | — | — | — | — | IOCC7 | — | — |
VDD | 1 | 18 | — | — | — | — | — | — | — | — | — | — | — | — | VDD |
VSS | 20 | 17 | — | — | — | — | — | — | — | — | — | — | — | — | VSS |
OUT(2) | — | — | ADGRDA ADGRDB | — | CMP1 CMP2 | TMR0 | CCP1 CCP2 | PWM1 PWM2 | CLBOUT0 CLBOUT1 CLBOUT2 CLBOUT3 CLBOUT4 CLBOUT5 CLBOUT6 CLBOUT7 | CLC1OUT CLC2OUT CLC3OUT CLC4OUT |
SCL1 SCK1 SDA1 SDO1 |
TX1 DT1 CK1 | — | — | — |
Note:
|