Yes, I'm aware of that. But when it says, "Pins that support the peripheral pin select feature include the designation, 'RPn', in their full pin designation, where 'RP' designates a remappable peripheral and 'n' is the remappable pin number," that does not mean that the 'n' in 'RPn' is the number that should be loaded into the PPS register; to translate 'RPn' into the actual PPS register load value you need to consult the table in the specific device data sheet, since the table is different for each chip.Look at the following document - full version of the device family rather than datasheet of individual device.
http://ww1.microchip.com/downloads/en/DeviceDoc/39711b.pdf
Section 12.4.1 says..
Yes, I'm aware of that. But when it says, "Pins that support the peripheral pin select feature include the designation, 'RPn', in their full pin designation, where 'RP' designates a remappable peripheral and 'n' is the remappable pin number," that does not mean that the 'n' in 'RPn' is the number that should be loaded into the PPS register; to translate 'RPn' into the actual PPS register load value you need to consult the table in the specific device data sheet, since the table is different for each chip.
The table I referred to above is NOT a table specific to any peripheral or peripheral function; it is a translation table mapping between peripheral pin select register values (i.e., the number you should load into the PPS register) and RPn designations, and it applies to ALL remappable inputs. You can't just take the "n" in "RPn" and load it into the register.As I posted above there is no table for INT1, just the traditional peripherals.
Should have mentioned the chip. This is a pic18f26J53. This is a strange one probably why I can't get the pin to work as a binary input. Probably something to do with disabling the analog.All you can do is try it and see, I guess. Without knowing the part you're working with so I can look at its datasheet myself, I can't help you much.
All I know is that for the part I'm using (dsPIC33EP64GP502), it's not as simple as what you're describing: you have to go to the table (table 11-2 on p. 178 of the datasheet) to find the PPS register value for the the particular RP/RPI you're looking for.
OK, reading your datasheet I can see the source of the confusion: apparently, PPS is done a bit differently in the PIC18F and dsPIC33EP parts. For the PIC18F, you and GopherT are correct: the "n" in "RPn" is indeed the actual number you load into the RPINR register.Should have mentioned the chip. This is a pic18f26J53. This is a strange one probably why I can't get the pin to work as a binary input. Probably something to do with disabling the analog.
by Jeff Child
by Aaron Carman
by Robert Keim
by Aaron Carman