Hi Ben,
I have a problem with the PIC32MZ2048EFM100 MCU, UART component Remap Pin settings.
Bug Description:
First I create a new project and only add one UART (RS232) component to the 2D dashboard.
Then I try to configure TX and RX Remap Pins, but the "Properties" window shows the wrong ports for the selection.
If I choose an other channel and try to set again a TX and RX ports, then first, a different port name will be added to the table than the one I selected.
I tried this procedure on more computer and this bug always seems in Flowcode 8.2.0.12 version.
Please try it out.
Change channels and set up ports over and over again.
I hope you will see the bug I wrote about.
Best Regards,
Lagoda
PIC32 UART port Remap Pins setup
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC32 UART port Remap Pins setup
Hi Lagoda,
All looks ok to me.
Here's the pin list for UART channel 1 RX pins.
And here is the datasheet for the U1RX peripheral pin, note not quite in the same order but seems to be the same pins available.
The PIC32 devices have a more limited approach to remapping where they use a banking system. Only certain peripherals can access certain remap pins.
All looks ok to me.
Here's the pin list for UART channel 1 RX pins.
And here is the datasheet for the U1RX peripheral pin, note not quite in the same order but seems to be the same pins available.
The PIC32 devices have a more limited approach to remapping where they use a banking system. Only certain peripherals can access certain remap pins.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 170
- Joined: Fri Jul 15, 2016 9:51 pm
- Has thanked: 69 times
- Been thanked: 61 times
- Contact:
Re: PIC32 UART port Remap Pins setup
Hi Ben,
Thanks for the quick response.
You're right, the assignment of UART Channels and port banks is OK.
I thought there was a bug in the Flowcode8 because if I change the Channel of UART, the port information in the Connection table will not be updated.
If then click on the RX Remap Pin or TX Remap Pin field and select a port ( I do not see still the correct port bank associated with the Channel in this case) it will update the Connection table with the correct port data.
In Flowcode7, it is worked fine and the Connection table fields on the screen was updated immediately after the Channel changed.
Best Regards,
Lagoda
Thanks for the quick response.
You're right, the assignment of UART Channels and port banks is OK.
I thought there was a bug in the Flowcode8 because if I change the Channel of UART, the port information in the Connection table will not be updated.
If then click on the RX Remap Pin or TX Remap Pin field and select a port ( I do not see still the correct port bank associated with the Channel in this case) it will update the Connection table with the correct port data.
In Flowcode7, it is worked fine and the Connection table fields on the screen was updated immediately after the Channel changed.
Best Regards,
Lagoda