9.9 Mapping Limitations

The control schema of the peripheral select pins is not limited to a small range of fixed peripheral configurations. There are no mutual or hardware-enforced lockouts between any of the peripheral mapping SFRs. Literally, any combination of peripheral mappings, across any or all of the RPn pins, is possible. This includes both many-to-one and one-to-many mappings of peripheral inputs, and outputs to pins. While such mappings may be technically possible from a configuration point of view, they may not be supportable from an electrical point of view (see Table 9-5).

Table 9-5. Remappable Output Pin Registers(1)
RegisterRP PinI/O Port
RPOR0[5:0]RP32Port Pin RB0
RPOR0[13:8]RP33Port Pin RB1
RPOR1[5:0]RP34Port Pin RB2
RPOR1[13:8]RP35Port Pin RB3
RPOR2[5:0]RP36Port Pin RB4
RPOR2[13:8]RP37Port Pin RB5
RPOR3[5:0]RP38Port Pin RB6
RPOR3[13:8]RP39Port Pin RB7
RPOR4[5:0]RP40Port Pin RB8
RPOR4[13:8]RP41Port Pin RB9
RPOR5[5:0]RP42Port Pin RB10
RPOR5[13:8]RP43Port Pin RB11
RPOR6[5:0]RP44Port Pin RB12
RPOR6[13:8]RP45Port Pin RB13
RPOR7[5:0]RP46Port Pin RB14
RPOR7[13:8]RP47Port Pin RB15
RPOR8[5:0]RP48Port Pin RC0
RPOR8[13:8]RP49Port Pin RC1
RPOR9[5:0]RP50Port Pin RC2
RPOR9[13:8]RP51Port Pin RC3
ReservedRP52-RP53Reserved
RPOR11[5:0]RP54Port Pin RC6
RPOR11[13:8]RP55Port Pin RC7
RPOR12[5:0]RP56Port Pin RC8
RPOR12[13:8]RP57Port Pin RC9
ReservedRP58-RP59Reserved
RPOR14[5:0]RP60Port Pin RC12
RPOR14[13:8]RP61Port Pin RC13
RPOR15[5:0]RP62Port Pin RC14
RPOR15[13:8]RP63Port Pin RC15
RPOR16[5:0]RP64Port Pin RD0
RPOR16[13:8]RP65Port Pin RD1
RPOR17[5:0]RP66Port Pin RD2
ReservedRP67-RP68Reserved
RPOR18[13:8]RP69Port Pin RD5
RPOR19[5:0]RP70Port Pin RD6
RPOR19[13:8]RP71Port Pin RD7
RPOR20[5:0]RP72Port Pin RD8
RPOR20[13:8]RP73Port Pin RD9
RPOR21[5:0]RP74Port Pin RD10
RPOR21[13:8]RP75Port Pin RD11
RPOR22[5:0]RP76Port Pin RD12
RPOR22[13:8]RP77Port Pin RD13
RPOR23[5:0]RP78Port Pin RD14
RPOR23[13:8]RP79Port Pin RD15
ReservedRP80-RP175Reserved
RPOR34[5:0]RP176Virtual Pin RPV0
RPOR34[13:8]RP177Virtual Pin RPV1
RPOR35[5:0]RP178Virtual Pin RPV2
RPOR35[13:8]RP179Virtual Pin RPV3
RPOR36[5:0]RP180Virtual Pin RPV4
RPOR36[13:8]RP181Virtual Pin RPV5
Note:
  1. Not all RPn pins are available on all packages. Make sure the selected device variant has the feature 
available on the device.
Table 9-6. Output Selection for Remappable Pins (RPn)(1)
FunctionRPnR[5:0]Output Name
Default Port0RPn tied to Default Pin
U1TX1RPn tied to UART1 Transmit
U1RTS2RPn tied to UART1 Request-to-Send
U2TX3RPn tied to UART2 Transmit
U2RTS4RPn tied to UART2 Request-to-Send
SDO15RPn tied to SPI1 Data Output
SCK16RPn tied to SPI1 Clock Output
SS17RPn tied to SPI1 Client Select
SDO28RPn tied to SPI2 Data Output
SCK29RPn tied to SPI2 Clock Output
SS210RPn tied to SPI2 Client Select
SD0311RPn tied to SPI3 Data Output
SCK312RPn tied to SPI3 Clock output
SS313RPn tied to SPI3 Client Select
REFCLKO14RPn tied to Reference Clock Output
OCM115RPn tied to SCCP1 Output
OCM216RPn tied to SCCP2 Output
OCM317RPn tied to SCCP3 Output
OCM418RPn tied to SCCP4 Output
OCM519RPn tied to SCCP5 Output
OCM620RPn tied to SCCP6 Output
CAN121RPn tied to CAN1 Output
CAN222RPn tied to CAN2 Output
CMP123RPn tied to Comparator 1 Output
CMP224RPn tied to Comparator 2 Output
CMP325RPn tied to Comparator 3 Output
CMP426RPn tied to Comparator 4 Output
U3TX27RPn tied to UART3 Transmit
U3RTS28RPn tied to UART3 Request-to-Send
CMP5 32RPn tied to Comparator 5 Output
CMP633RPn tied to Comparator 6 Output
PWM4H34RPn tied to PWM4H Output
PWM4L35RPn tied to PWM4L Output
PWMEA36RPn tied to PWM Event A Output
PWMEB37RPn tied to PWM Event B Output
QEICMP138RPn tied to QEI1 Comparator Output
QEICMP239RPn tied to QEI2 Comparator Output
CLC1OUT40RPn tied to CLC1 Output
CLC2OUT41RPn tied to CLC2 Output
OCM742RPn tied to SCCP7 Output
OCM843RPn tied to SCCP8 Output
PWMEC44RPn tied to PWM Event C Output
PWMED45RPn tied to PWM Event D Output
PTGTRG2446PTG Trigger Output 24
PTGTRG2547PTG Trigger Output 25
SENT1OUT48RPn tied to SENT1 Output
SENT2OUT49RPn tied to SENT2 Output
MCCP9A50RPn tied to MCCP9 Output A
MCCP9B51RPn tied to MCCP9 Output B
MCCP9C52RPn tied to MCCP9 Output C
MCCP9D53RPn tied to MCCP9 Output D
MCCP9E54RPn tied to MCCP9 Output E
MCCP9F55RPn tied to MCCP9 Output F
QEICMP358RPn tied to QEI3 Comparator Output
CLC3OUT59RPn tied to CLC3 Output
CLC4OUT60RPn tied to CLC4 Output
U1DTR61RPn tied to UART1 DTR
U2DTR62RPn tied to UART2 DTR
U3DTR63RPn tied to UART3 DTR
Note:
  1. Not all RPn pins are available on all packages. Make sure the selected device variant has the feature 
available on the device.