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
28-Pin Devices40-Pin Devices48-Pin Devices
0x46CANTXBCBDBD
0x45ADGRDBACACAF
0x44ADGRDAACACAF
0x43DSM1ACADAD
0x42CLKRBCBCBE
0x41NCO3BCBEBE
0x40NCO2BCBDBD
0x3FNCO1ACADAD
0x3E - 0x3CReserved
0x3BTU16BBCBDBD
0x3ATU16ABCBCCF
0x39TMR0BCBCCF
0x38I2C1 SDA(1)BCBCBC
0x37I2C1 SCL(1)BCBCBC
0x36SPI2 SSACADAD
0x35SPI2 SDOBCBDBD
0x34SPI2 SCKBCBDBD
0x33SPI1 SSACADAD
0x32SPI1 SDOBCBCBC
0x31SPI1 SCK BCBCBC
0x30C2OUTACAEAE
0x2FC1OUTACADAD
0x2EUART5 RTSBCBCCF
0x2DUART5 TXDEBCBCCF
0x2CUART5 TXBCBCCF
0x2BUART4 RTSABADAD
0x2AUART4 TXDEABADAD
0x29UART4 TXABADAD
0x28UART3 RTSABABAF
0x27UART3 TXDEABABAF
0x26UART3 TXABABAF
0x25UART2 RTSBCBDBD
0x24UART2 TXDEBCBDBD
0x23UART2 TXBCBDBD
0x22UART1 RTSBCBCCF
0x21UART1 TXDEBCBCCF
0x20UART1 TXBCBCCF
0x1FPWM4S1P2_OUTACADAD
0x1EPWM4S1P1_OUTACACCF
0x1DPWM3S1P2_OUTBCBDBD
0x1CPWM3S1P1_OUTBCBDBD
0x1BPWM2S1P2_OUTBCBDBD
0x1APWM2S1P1_OUTBCBDBD
0x19PWM1S1P2_OUTBCBCCF
0x18PWM1S1P1_OUTBCBCCF
0x17CCP3BCBDBD
0x16CCP2BCBCCF
0x15CCP1BCBCCF
0x14CWG3DACADAD
0x13CWG3CACADAD
0x12CWG3BACAEAE
0x11CWG3ABCBCBC
0x10CWG2DBCBDBD
0x0FCWG2CBCBDBD
0x0ECWG2BBCBDBD
0x0DCWG2ABCBCBC
0x0CCWG1DBCBDBD
0x0BCWG1CBCBDBD
0x0ACWG1BBCBDBD
0x09CWG1ABCBCBC
0x08CLC8OUTBCBDBD
0x07CLC7OUTBCBDBD
0x06CLC6OUTACACAF
0x05CLC5OUTACACAF
0x04CLC4OUTBCBDBD
0x03CLC3OUTBCBDBD
0x02CLC2OUTACACAF
0x01CLC1OUTACACAF
0x00LATxyABCABCDEABCDEF
Note:
  1. Bidirectional pin. The corresponding input must select the same pin.