19.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. Additionally, PPS outputs can be used as inputs to the Signal Routing Port (SRPORT).

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 19-2. PPS Output Selection Table
RxyPPSOutput SourceAvailable Output Ports
28-Pin Devices40-Pin Devices
0x23ADGRDBA—CA—C——
0x22ADGRDAA—CA—C——
0x21CLKR—BC—BC——
0x20NCO1A—CA——D—
0x1FTMR0—BC—BC——
0x1ESDA2/SDO2(1)—BC—B—D—
0x1DSCL2/SCK2(1)—BC—B—D—
0x1CSDA1/SDO1(1)—BC—BC——
0x1BSCL1/SCK1(1)—BC—BC——
0x1ACLP1OUTA—CA———E
0x19C1OUTA—CA——D—
0x18DT2—BC—B—D—
0x17Reserved
0x16TX2/CK2—BC—B—D—
0x15DT1—BC—BC——
0x14Reserved
0x13TX1/CK1—BC—BC——
0x12-0x0FReserved
0x0EPWM2S1P2_OUT—B——B—D—
0x0DPWM2S1P1_OUT—B——B—D—
0x0CPWM1S1P2_OUT—BC—BC——
0x0BPWM1S1P1_OUT—BC—BC——
0x0ACCP2—BC—BC——
0x09CCP1—BC—BC——
0x08CWG1D—BC—B—D—
0x07CWG1C—BC—B—D—
0x06CWG1B—BC—B—D—
0x05CWG1A—BC—BC——
0x04CLC4OUT—BC—B—D—
0x03CLC3OUT—BC—B—D—
0x02CLC2OUTA—CA—C——
0x01CLC1OUTA—CA—C——
0x00LATxyABCABCDE
Note:
  1. Bidirectional pin. The corresponding input must select the same pin.