2 Pinout I/O Descriptions

Table 2-1. Pinout I/O Descriptions
Pin Name(1)Pin

Type

Buffer

Type

PPSDescription

AN1P0 - AN1P11

AN1N1 - AN1N3

AN2P0 - AN2P10

AN2N1 - AN2N3

I

I

I

I

Analog

Analog

Analog

Analog

No

No

No

No

ADC1 positive input channels

ADC1 negative input channels

ADC2 positive input channels

ADC2 negative input channels

ADTRG31ISTYesADC Trigger Input 31

CLKI

CLKO

I

O

ST/CMOS

No

No

External Clock (EC) source input. Always associated with OSCI pin 
function.

Oscillator crystal output. Connects to crystal or resonator in Crystal Oscillator mode. Optionally functions as CLKO in RC and EC modes. Always associated with OSCO pin function.

OSCI

OSCO

I

I/O

ST/CMOS

No

No

Oscillator crystal input. ST buffer when configured in RC mode; CMOS otherwise.

Oscillator crystal output. Connects to crystal or resonator in Crystal Oscillator mode. Optionally functions as CLKO in RC and EC modes.

REFCLKIISTYesReference clock input
REFCLKOOYesReference clock output

INT0

INT1

INT2

INT3

INT4

I

I

I

I

I

ST

ST

ST

ST

ST

No

Yes

Yes

Yes

Yes

External interrupt 0

External interrupt 1

External interrupt 2

External interrupt 3

External interrupt 4

IOCA[4:0]

IOCB[15:0]

IOCC[15:0]

IOCD[15:0]

IOCE[15:0]

IOCF[15:0]

I

I

I

I

I

I

ST

ST

ST

ST

ST

ST

No

No

No

No

No

No

Interrupt-on-Change input for PORTA

Interrupt-on-Change input for PORTB

Interrupt-on-Change input for PORTC

Interrupt-on-Change input for PORTD

Interrupt-on-Change input for PORTE

Interrupt-on-Change input for PORTF

IOMD[n:0]

IOMF[n:0]

O

I

ST

ST

Yes

Yes

I/O monitor reference

I/O monitor feedback

QEIA1

QEIB1

QEINDX1

QEIHOM1

QEICMP

I

I

I

I

O

ST

ST

ST

ST

Yes

Yes

Yes

Yes

Yes

QEI Input A1

QEI Input B1

QEI Index 1 input

QEI Home 1 input

QEI Comparator output

RA0-RA4I/OSTNoPORTA is a bidirectional I/O port
RB0-RB15I/OSTNoPORTB is a bidirectional I/O port
RC0-RC15I/OSTNoPORTC is a bidirectional I/O port
RD0-RD15I/OSTNoPORTD is a bidirectional I/O port
RE0-RE15I/OSTNoPORTE is a bidirectional I/O port
RF0-RF15I/OSTNoPORTF is a bidirectional I/O port
T1CKISTYesTimer1 external clock input

U1CTS

U1RTS

U1RX

U1TX

U1DSR

U1DTR

I

O

I

O

I

O

ST

ST

ST

Yes

Yes

Yes

Yes

Yes

Yes

UART1 Clear-to-Send

UART1 Request-to-Send

UART1 Receive

UART1 Transmit

UART1 Data-Set-Ready

UART1 Data-Terminal-Ready

U2CTS

U2RTS

U2RX

U2TX

U2DSR

U2DTR

I

O

I

O

I

O

ST

ST

ST

Yes

Yes

Yes

Yes

Yes

Yes

UART2 Clear-to-Send

UART2 Request-to-Send

UART2 Receive

UART2 Transmit

UART2 Data-Set-Ready

UART2 Data-Terminal-Ready

U3CTS

U3RTS

U3RX

U3TX

U3DSR

U3DTR

I

O

I

O

I

O

ST

ST

ST

Yes

Yes

Yes

Yes

Yes

Yes

UART3 Clear-to-Send

UART3 Request-to-Send

UART3 Receive

UART3 Transmit

UART3 Data-Set-Ready

UART3 Data-Terminal-Ready

SENT1

SENT2

SENT1OUT

SENT2OUT

I

I

O

O

ST

ST

Yes

Yes

Yes

Yes

SENT1 input

SENT2 input

SENT1 output

SENT2 output

PTGTRG24

PTGTRG25

O

O

Yes

Yes

PTG Trigger Output 24

PTG Trigger Output 25

TCKI1-TCKI4

ICM1-ICM9

OCFA-OCFD

OCM1-OCM4

I

I

I

O

ST

ST

ST

Yes

Yes

Yes

Yes

SCCP timer inputs 1 through 4

SCCP capture inputs 1 through 9

SCCP Fault inputs A through D

SCCP compare outputs 1 through 4

SCK1

SDI1

SDO1

SS1

I/O

I

O

I/O

ST

ST

ST

Yes

Yes

Yes

Yes

Synchronous serial clock I/O for SPI1

SPI1 data in

SPI1 data out

SPI1 client synchronization or frame pulse I/O

SCK2

SDI2

SDO2

SS2

I/O

I

O

I/O

ST

ST

ST

Yes

Yes

Yes

Yes

Synchronous serial clock I/O for SPI2

SPI2 data in

SPI2 data out

SPI2 client synchronization or frame pulse I/O

SCK3

SDI3

SDO3

SS3

I/O

I

O

I/O

ST

ST

ST

Yes

Yes

Yes

Yes

Synchronous serial clock I/O for SPI3

SPI3 data in

SPI3 data out

SPI3 client synchronization or frame pulse I/O

SCL1

SDA1

ASCL1

ASDA1

I/O

I/O

I/O

I/O

ST

ST

ST

ST

No

No

No

No

Synchronous serial clock I/O for I2C1

Synchronous serial data I/O for I2C1

Alternate synchronous serial clock I/O for I2C1

Alternate synchronous serial data I/O for I2C1

SCL2

SDA2

ASCL2

ASDA2

I/O

I/O

I/O

I/O

ST

ST

ST

ST

No

No

No

No

Synchronous serial clock I/O for I2C2

Synchronous serial data I/O for I2C2

Alternate synchronous serial clock I/O for I2C2

Alternate synchronous serial data I/O for I2C2

BISS1SL

BISS1GS

I

I

ST

ST

Yes

Yes

BiSS1 return input

BiSS1 Get Sense

BISS1MO

BISS1MA

O

O

ST

ST

Yes

Yes

BiSS1 output

BiSS1 clock

TMS

TCK

TDI

TDO

I

I

I

O

ST

ST

ST

No

No

No

No

JTAG Test mode select pin

JTAG test clock input pin

JTAG test data input pin

JTAG test data output pin

PCI8-PCI18

PCI19-PCI22

PWMEA-PWMEF

PWM1L-PWM4L(2)

PWM1H-PWM4H(2)

I

I

O

O

O

ST

ST

Yes

No

Yes

Yes

Yes

PWM inputs 8 through 18

PWM inputs 19 through 22

PWM event Outputs A through F

PWM low Outputs 1 through 4

PWM high Outputs 1 through 4

CLCINA-CLCIND

CLC1OUT-CLC8OUT

I

O

ST

Yes

Yes

CLC inputs A through D

CLC outputs 1 through 8

CMP1

CMP1A-CMP3A

CMP1B-CMP3B

CMP1C-CMP3C

CMP1D-CMP3D

O

I

I

I

I

Analog

Analog

Analog

Analog

Yes

No

No

No

No

Comparator 1 output

Comparator channels 1A through 3A inputs

Comparator channels 1B through 3B inputs

Comparator channels 1C through 3C inputs

Comparator channels 1D through 3D inputs

DACOUT1

O

No

DAC1 output voltage

IBIAS3, IBIAS2, IBIAS1,

IBIAS0/ISRC3, ISRC2,

ISRC1, ISRC0

O

Analog

No

Constant-current outputs 0 through 3

OA1IN+

OA1IN-

OA1OUT

OA2IN+

OA2IN-

OA2OUT

OA3IN+

OA3IN-

OA3OUT

I

I

O

I

I

O

I

I

O

No

No

No

No

No

No

No

No

No

Op Amp 1+ input

Op Amp 1- input

Op Amp 1 output

Op Amp 2+ input

Op Amp 2- input

Op Amp 2 output

Op Amp 3+ input

Op Amp 3- input

Op Amp 3 output

PGD1

PGC1

PGD2

PGC2

PGD3

PGC3

I/O

I

I/O

I

I/O

I

ST

ST

ST

ST

ST

ST

No

No

No

No

No

No

Data I/O pin for programming/ debugging communication channel 1

Clock input pin for programming/ debugging communication channel 1

Data I/O pin for programming/ debugging communication channel 2

Clock input pin for programming/ debugging communication channel 2

Data I/O pin for programming/ debugging communication channel 3

Clock input pin for programming/ debugging communication channel 3

MCLRI/PSTNoMaster Clear (Reset) input. This pin is an active-low Reset to the device.
AVDDPPNoPositive supply for analog modules. This pin must be connected at all times.
AVSSPPNoGround reference for analog modules. This pin must be connected at all times.
VDDPNoPositive supply for peripheral logic and I/O pins
VSSPNoGround reference for logic and I/O pins

Legend: CMOS = CMOS compatible input or output; TTL = TTL input buffer; Analog = Analog input; P = Power; ST = Schmitt Trigger input with CMOS levels; O = Output; I = Input; PPS = Peripheral Pin Select

Note:
  1. Not all pins are available in all package variants. See the Pin Diagrams section for pin availability.
  2. These pins are remappable as well as dedicated.