18.2 PPS Inputs

Each digital peripheral has a dedicated PPS Peripheral Input Selection (xxxPPS) register with which the input pin to the peripheral is selected. Devices that have 20 leads or less (8/14/16/20) allow PPS routing to any I/O pin, while devices with 28 leads or more allow PPS routing to I/Os contained within two ports (see the table below).

Important: The notation “xxx” in the generic register name is a placeholder for the peripheral identifier. For example, xxx = T0CKI for the T0CKIPPS register.

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.

Table 18-1. PPS Input Selection Table
PeripheralPPS Input RegisterDefault Pin Selection at POR
14/16-Pin Devices20-Pin Devices
External Interrupt INTPPSRA2
Timer0 ClockT0CKIPPSRA2
Timer1 ClockT1CKIPPSRA5
Timer1 GateT1GPPSRA4
Timer2 InputT2INPPSRA5
CCP1CCP1PPSRC5RC5
CCP2CCP2PPSRC3RC3
SCL1/SCK1SSP1CLKPPS(1)RC0RB4
SDA1/SDI1SSP1DATPPS(1)RC1RB6
SS1SSP1SSPPSRC3RC6
RX1/DT1RX1PPSRC5RB5
CK1CK1PPSRC4RB7
ADC Conversion TriggerADACTPPSRC2RC2
Note:
  1. Bidirectional pin. The corresponding output must select the same pin.