16.2 PPS Outputs

Each I/O pin has a PPS register with which the pin output source is selected. With few exceptions, the port TRIS control associated with that pin retains control over the pin output driver. Peripherals that control the pin output driver as part of the peripheral operation will override the TRIS control as needed. These peripherals include:

  • EUSART (synchronous operation)
  • MSSP (I2C)

Although every pin has its own PPS peripheral selection register, the selections are identical for every pin as shown in RxyPPS.

Important: The notation “Rxy” is a placeholder for the pin identifier. The ‘x’ holds the place of the PORT letter and the ‘y’ holds the place of the bit number. For example, Rxy = RA0 for the RA0PPS register.

Table 16-3 shows detailed output routing options for each peripheral.

Table 16-3. PPS Output Signal Routing Options
RxyPPS Register ValueOutput Signal NameRemappable to Any PORT (14-pin devices)Remappable to Any PORT (20-pin devices)
10 0000ADCGRDBXX
01 1111ADCGRDAXX
01 1110CWG2DXX
01 1101CWG2CXX
01 1100CWG2BXX
01 1011CWG2AXX
01 1010DSM1OUTXX
01 1001CLKRXX
01 1000NCO1OUTXX
01 0111TMR0OUTXX
01 0110SDO2/SDA2X
01 0101SCK2/SCL2X
01 0100SDO1/SDA1XX
01 0011SCK1/SCL1XX
01 0010C2OUTXX
01 0001C1OUTXX
01 0000DT1XX
00 1111CK1/TX1XX
00 1110PWM7OUTXX
00 1101PWM6OUTXX
00 1100CCP4OUTXX
00 1011CCP3OUTXX
00 1010CCP2OUTXX
00 1001CCP1OUTXX
00 1000CWG1DXX
00 0111CWG1CXX
00 0110CWG1BXX
00 0101CWG1AXX
00 0100CLC4OUTXX
00 0011CLC3OUTXX
00 0010CLC2OUTXX
00 0001CLC1OUTXX