18.1 PPS Inputs

Each peripheral has a PPS register with which the input pin to the peripheral is selected. Although each peripheral has its own PPS input selection register, the selections are identical for every peripheral, as shown in xxxPPS. Not all ports are available for input, as shown in the “PPS Input Selection Register Details” table.

Multiple peripherals can operate from the same source simultaneously. Port reads always return the pin level regardless of peripheral PPS selection. If a pin also has analog functions associated, the ANSEL bit for that pin must be cleared to enable the digital input buffer.

Important: The notation “xxx” in the generic register name is a placeholder for the peripheral identifier. For example, xxx = INT for the INTPPS register.
Table 18-1. PPS Input Selection Register Details
PeripheralPPS Input RegisterDefault Pin Selection
 at PORRegister Reset Value
 at PORPORT From Which Input Is Available
28-Pin Devices40-Pin Devices
Interrupt 0INT0PPSRB00x08ABAB
Interrupt 1INT1PPSRB10x09ABAB
Interrupt 2INT2PPSRB20x0AABAB
Timer0 ClockT0CKIPPSRA40x04ABAB
Timer1 ClockT1CKIPPSRC00x10ACAC
Timer1 GateT1GPPSRB50x0DBCBC
Timer3 ClockT3CKIPPSRC00x10BCBC
Timer3 GateT3GPPSRC00x10ACAC
Timer5 ClockT5CKIPPSRC20x12ACAC
Timer5 GateT5GPPSRB40x0CBBD
Timer2 ClockT2INPPSRC30x13ACAC
Timer4 ClockT4INPPSRC50x15BCBC
Timer6 ClockT6INPPSRB70x0FBBD
ADC Conversion TriggerADACTPPSRB40x0CBCBD
CCP1CCP1PPSRC20x12BCBC
CCP2CCP2PPSRC10x11BCBC
CWGCWG1PPSRB00x08BCBD
DSM Carrier LowMDCARLPPSRA30x03ACAD
DSM Carrier HighMDCARHPPSRA40x04ACAD
DSM SourceMDSRCPPSRA50x05ACAD
EUSART1 ReceiveRX1PPSRC70x17BCBC
EUSART1 ClockCK1PPSRC60x16BCBC
EUSART2 ReceiveRX2PPSRB70x0FBCBD
EUSART2 ClockCK2PPSRB60x0EBCBD
MSSP1 ClockSSP1CLKPPSRC30x13BCBC
MSSP1 DataSSP1DATPPSRC40x14BCBC
MSSP1 Client SelectSSP1SSPPSRA50x05ACAD
MSSP2 ClockSSP2CLKPPSRB10x09BCBD
MSSP2 DataSSP2DATPPSRB20x0ABCBD
MSSP2 Client SelectSSP2SSPPSRB00x08BCBD
Note:
  1. Some pads are configured for I2C logic levels; clock and data signals may be assigned to any of these pins. Assignments to other pins (e.g., RA5) will operate, but logic levels will be standard TTL/ST as selected by the INLVL register.
Table 18-2. PPS Input Register Values
Desired Input PinValue to Write to Register
RE310 0011
RC701 0111
RC601 0110
RC501 0101
RC401 0100
RC301 0011
RC201 0010
RC101 0001
RC001 0000
RB700 1111
RB600 1110
RB500 1101
RB400 1100
RB300 1011
RB200 1010
RB100 1001
RB000 1000
RA700 0111
RA600 0110
RA500 0101
RA400 0100
RA300 0011
RA200 0010
RA100 0001
RA000 0000