Based on the Remappable Pins table in the Peripheral Pin Select Library , I will not be able to use the function below?
Unlock_IOLOCK()
PPS_Mapping(_RPF5, _OUTPUT, _U2TX) ' USB -UARTA
PPS_Mapping(_RPF4, _INPUT, _U2RX)
Lock_IOLOCK()
The same problem for UARTB (RF13, RF12, RF3, RF2) ?
PIC32MZ2048EFH PPS to UART EasyPIC Fusion v7
PIC32MZ2048EFH PPS to UART EasyPIC Fusion v7
- Attachments
-
- remap table.JPG (73.84 KiB) Viewed 1902 times
Re: PIC32MZ2048EFH PPS to UART EasyPIC Fusion v7
You do not say which PIC32MZ2048EFH, but I am going to assume that you are using PIC32MZ2048EFH144
Be sure to select "allow multiple configurations" in project configuration settings.
... or use PPS_Mapping_Nolock library function.
Datasheet tables 12-2 and 12-3 show which PPS mappings are available.
Sample project attached.
Be sure to select "allow multiple configurations" in project configuration settings.
... or use PPS_Mapping_Nolock library function.
Datasheet tables 12-2 and 12-3 show which PPS mappings are available.
Sample project attached.
- Attachments
-
- UART2.zip
- (360.26 KiB) Downloaded 100 times
Start every day with a smile...... (get it over with)
Re: PIC32MZ2048EFH PPS to UART EasyPIC Fusion v7
Yes, PIC32MZ2048EFH144. I got it working perfectly. The real issue came from the "Remappable Pins" table that was found in the help menu. It made it look like those were the only choices available for some unknown reason. I just trusted what I saw listed as the only options. I do see that I would use U1TX and U1RX for the pins shown in my example. Thanks for your help.