Re: Trouble using Programmable Peripheral Interface inside of MPLAB X IDE's Code Configura
Assuming you really mean PPS, have you read chapter 17 in the datasheet? That's all I ever did.
17.1 PPS Inputs
Each peripheral has a PPS register with which the inputs to the peripheral are selected. Inputs include the device pins. Multiple peripherals can operate from the same source simultaneously.
17.2 PPS Outputs
Each I/O pin has a PPS register with which the pin output source is selected.
Note that PPS starts off unlocked allowing changes, but can (and generally should) be locked to prevent them after initialization. The PPS1WAY config bit can prevent them from ever being unlocked again.
Also note that peripherals can not use just any pin. Each peripheral function can be assigned to any pin on only two ports which are listed in the input and output register tables.