21.3 PPS Outputs

Each digital peripheral has a dedicated Pin Rxy Output Source Selection (RxyPPS) 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. The I2C module is an example of such a peripheral.

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.

The table below shows the output codes for each peripheral, as well as the available Port selections.

Table 21-2. PPS Output Selection Table
RxyPPSOutput SourceAvailable Output Ports
14-Pin Devices20-Pin Devices
0x28ADGRDBA—CABC
0x27ADGRDAA—CABC
0x26DSM1A—CABC
0x25CLKRA—CABC
0x24NCO1A—CABC
0x23TMR0A—CABC
0x22I2C1 SDA(1)A—CABC
0x21I2C1 SCL(1)A—CABC
0x20SPI2 SSA—CABC
0x1FSPI2 SDOA—CABC
0x1ESPI2 SCKA—CABC
0x1DSPI1 SSA—CABC
0x1CSPI1 SDOA—CABC
0x1BSPI1 SCK A—CABC
0x1AC2OUTA—CABC
0x19C1OUTA—CABC
0x18UART3 RTSA—CABC
0x17UART3 TXDEA—CABC
0x16UART3 TXA—CABC
0x15UART2 RTSA—CABC
0x14UART2 TXDEA—CABC
0x13UART2 TXA—CABC
0x12UART1 RTSA—CABC
0x11UART1 TXDEA—CABC
0x10UART1 TXA—CABC
0x0FPWM3S1P2_OUTA—CABC
0x0EPWM3S1P1_OUTA—CABC
0x0DPWM2S1P2_OUTA—CABC
0x0CPWM2S1P1_OUTA—CABC
0x0BPWM1S1P2_OUTA—CABC
0x0APWM1S1P1_OUTA—CABC
0x09CCP1A—CABC
0x08CWG1DA—CABC
0x07CWG1CA—CABC
0x06CWG1BA—CABC
0x05CWG1AA—CABC
0x04CLC4OUTA—CABC
0x03CLC3OUTA—CABC
0x02CLC2OUTA—CABC
0x01CLC1OUTA—CABC
0x00LATxyA—CABC
Note:
  1. Bidirectional pin. The corresponding input must select the same pin.