Pic32mz2048EFH064 RS232 Channel 6 Problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
SpeedPIC32
Posts: 252
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by SpeedPIC32 »

The PINS are the same for TX and RX.
Example TX $PORTB.14
RX $PORTB:14

FC 10.1.0.38 Professional

With kind regards
SpeedPic32

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by chipfryer27 »

Hi

Not sure I understand the issue.

Under properties you can use the remap pin feature for both Tx and Rx.

In the below example I have ch6 on B14 / B6

Capture.JPG
Capture.JPG (57.03 KiB) Viewed 1631 times

Regards

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by SpeedPIC32 »

hello,
That's exactly what I mean.
I have the same pins for tx and rx
greetings SpeedPic32

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by chipfryer27 »

Hi

So you can't click the arrow and remap to any of the available pins? Have you update all components?

Regards

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by SpeedPIC32 »

Hi, that works.
I do not have the option of selecting B14 for RX and B15 for TX, for example, but B14 is displayed for TX.
G9, B2, B6, B14, F3, D0, D1, D5 are displayed in both selection windows

When I switch to channel 4, all TX pins are correctly present.
B6, B0, B7, B8, B15, D9, D4, E3.

With kind regards
SpeedPic32

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by chipfryer27 »

Hi

I thought I was going crazy, possibly still do (and am).

I created a new chart with your chip and populated it with the UART component. I then documented my options to remap per channel.

I (eventually) settled on the below

Capture.JPG
Capture.JPG (50.86 KiB) Viewed 1484 times

I say "eventually" as when I moved off the chart to populate Excel and returned, I swear the available ports had changed....

Using Channel six as an example, you can see that B0 is not documented anywhere as being an available port, yet when I returned to check for the umpteenth time I see I now have the option.
Capture2.JPG
Capture2.JPG (62.23 KiB) Viewed 1484 times
Each time I move channels then return, my options change too.

Can someone else please check the above and confirm my sanity before the guys in white coats arrive.?

Regards

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by Steve-Matrix »

It looks to me like changing the channel does not update the dropdown lists for the pins. The workaround seems to be to select a pin after changing the channel. This will force the lists to update and then you can select the pin again.

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by SpeedPIC32 »

The selection must be made twice at the moment.
Steve has recognized this correctly.
This is of course unpleasant and should be fixed. But what is not possible at all is that TX and RX have the same legs. that is not possible at all. I also know that this is not done, but it is offered, which in turn should not be. The same is not true for the other channels.
See pictures.

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: Pic32mz2048EFH064 RS232 Channel 6 Problem

Post by SpeedPIC32 »

The selection must be made twice at the moment.
Steve has recognized this correctly.
This is of course unpleasant and should be fixed. But what is not possible at all is that TX and RX have the same legs. that is not possible at all. I also know that this is not done, but it is offered, which in turn should not be. The same is not true for the other channels.
See pictures.
Attachments
U6C6.jpg
U6C6.jpg (48.04 KiB) Viewed 1398 times
U6C5.jpg
U6C5.jpg (46.95 KiB) Viewed 1398 times

Post Reply