6.5.5.2.1 Pin Output RP Registers

Register RPnR shows the RP Remap Register format for output functions. See RPnR from Related Links. Each RP pin has a 4-bit field that can be assigned to the desired output function. For a complete list of output function values and their associated register names, see Remappable Output Pin Configuration – Group1, Remappable Output Pin Configuration – Group2, Remappable Output Pin Configuration – Group3 and Remappable Output Pin Configuration – Group4 tables in the Output Mapping in PIC32CX-BZ3/PIC32CX-BZ36 Family of Devices from Related Links.

When transitioning the pin usage from one peripheral to another, it is mandatory to make sure the pins are not configured for any other peripheral. Therefore, to avoid glitching outputs, the user is responsible for turning off the appropriate peripherals before remapping the pin functions associated with that peripheral. After Reset, map all inputs to a default value and disable all outputs. The user must perform the mapping after any device Reset.

Figure 6-3. Example Multiplexing of Remappable Output Signal for RPA0 (Map Output Function to Pin)