18.2 PPS Outputs

Each I/O pin has an 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. These peripherals include:

  • EUSART (synchronous operation)
  • MSSP (I2C)

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

Important: The notation “Rxy” is a place holder 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 18-2. Peripheral PPS Output Selection Codes
RxyPPSPin Rxy Output SourcePORT To Which Output Can Be Directed
28-Pin Devices40-Pin Devices
0x1FCLC8OUT—BC—B—D—
0x1ECLC7OUT—BC—B—D—
0x1DCLC6OUTA—CA—C——
0x1CCLC5OUTA—CA—C——
0x1BCLC4OUT—BC—B—D—
0x1ACLC3OUT—BC—B—D—
0x19CLC2OUTA—CA—C——
0x18CLC1OUTA—CA—C——
0x17ADGRDBA—CA—C——
0x16ADGRDAA—CA—C——
0x15DSMA—CA——D—
0x14CLKR—BC—BC——
0x13TMR0—BC—BC——
0x12MSSP2 (SDO/SDA)—BC—B—D—
0x11MSSP2 (SCK/SCL)—BC—B—D—
0x10MSSP1 (SDO/SDA)—BC—BC——
0x0FMSSP1 (SCK/SCL)—BC—BC——
0x0ECMP2A—CA———E
0x0DCMP1A—CA——D—
0x0CEUSART2 (DT)—BC—B—D—
0x0BEUSART2 (TX/CK)—BC—B—D—
0x0AEUSART1 (DT)—BC—BC——
0x09EUSART1 (TX/CK)—BC—BC——
0x08PWM4A—CA—C——
0x07PWM3A—CA——D—
0x06CCP2—BC—BC——
0x05CCP1—BC—BC——
0x04CWG1D—BC—B—D—
0x03CWG1C—BC—B—D—
0x02CWG1B—BC—B—D—
0x01CWG1A—BC—BC——
0x00LATxyABCABCDE