FC7 issues - SPI and zoom

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
pladnows
Posts: 11
Joined: Thu Sep 08, 2016 1:27 pm
Has thanked: 6 times
Been thanked: 6 times
Contact:

FC7 issues - SPI and zoom

Post by pladnows »

Hello everyone,
I'm switching to Flowcode 7 and would like to ask some questions regarding its functionality.
Firstly, after adding a SPI Master component I'm unable to map the CLK pin unless its in software mode. If, in properties, I choose a SPI channel other than ""Software" the CLK field remains greyed out and I'm unable to alter it. The dropdown menu in the CLK Remap section is at the same time empty, making it impossible to map the CLK pin. The chip I'm writing the program for is 32MZ2048ECM064.

The other issue is interface related. In Flowcode 6 zooming out resulted in shrinking the icons but not the text, which made navigating in a bigger project easier. In FL7 the zoom out decreases the size of both the icons and the text. Was this change intended? Is there an option to switch back to how it worked in FL6?

Many thanks for all replies.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: FC7 issues - SPI and zoom

Post by LeighM »

Hi

Thanks for the spot re SPI CLK, yes a bug, most likely in the fcd for the device,
we will look into fixing that asap

I'll get someone else to comment on the zoom.

Regards,
Leigh

Brendan
Posts: 243
Joined: Tue Nov 27, 2012 12:53 pm
Location: Cambridge, UK
Has thanked: 140 times
Been thanked: 118 times
Contact:

Re: FC7 issues - SPI and zoom

Post by Brendan »

Hi Leigh.

Thanks for the confirmation.

I can say that Pladnows checks confirm that 32MX and MZ chips are affected, so common across a range of devices if this helps (we haven't checked them all).

Please let me know if this is likely to take time to resolve, in-case we should need to workaround before the fix. Switching to software mode to map the clock, and then switching back to the hardware channel seems to satisfy settings for an error-free build whilst the project remains open, but lost if Flowcode is closed and re-opened.

Many thanks,

Brendan

User avatar
Steve
Matrix Staff
Posts: 3427
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: FC7 issues - SPI and zoom

Post by Steve »

Regarding the zoom, I believe this was by design because the custom colouring of icons would also help navigation through a big flowchart.

As a workaround, you can alter the text font size in the global options. However, I realise you'll need to change this whenever you changed the zoom setting.

I will add this to our features list and see what solution we can provide, but I don't expect a quick fix for this.

User avatar
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: FC7 issues - SPI and zoom

Post by Benj »

Hello,
after adding a SPI Master component I'm unable to map the CLK pin unless its in software mode. If, in properties, I choose a SPI channel other than ""Software" the CLK field remains greyed out and I'm unable to alter it. The dropdown menu in the CLK Remap section is at the same time empty, making it impossible to map the CLK pin. The chip I'm writing the program for is 32MZ2048ECM064.
For some reason the CLK pins for the SPI on the PIC32 devices are not included in the pin remapping functionality and are fixed to specific pins.

I have now fixed this bug in the SPI components, simply copy the two fcpx files below into your "Flowcode 7/components" directory and restart Flowcode for the changes to be loaded.
cal_spi.fcpx
(9.61 KiB) Downloaded 302 times
SPI_Master.fcpx
(11.14 KiB) Downloaded 302 times

Brendan
Posts: 243
Joined: Tue Nov 27, 2012 12:53 pm
Location: Cambridge, UK
Has thanked: 140 times
Been thanked: 118 times
Contact:

Re: FC7 issues - SPI and zoom

Post by Brendan »

Thank you Ben and all.

Your considerations and early bug resolution is truly appreciated.

Best regards,

Brendan

pladnows
Posts: 11
Joined: Thu Sep 08, 2016 1:27 pm
Has thanked: 6 times
Been thanked: 6 times
Contact:

Re: FC7 issues - SPI and zoom

Post by pladnows »

Many thanks for the solution.

Post Reply