7.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 6-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 – Group 1, Remappable Output Pin Configuration – Group 2, Remappable Output Pin Configuration – Group 3, Remappable Output Pin Configuration – Group 4, Remappable Output Pin Configuration – Group 5 and Remappable Output Pin Configuration – Group 6 tables in the Output Mapping in PIC32CX-BZ6 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 7-3. Example Multiplexing of Remappable Output Signal for RPA0 (Map Output Function to Pin)