GLCD ILI9341 component not working correctly in FC 10 - Part 1

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Arix
Posts: 8
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 9:53 pm
Has thanked: 3 times
Been thanked: 7 times

GLCD ILI9341 component not working correctly in FC 10 - Part 1

Post by Arix »

Dear Matrix team,

I downloaded the free version of Flowcode V10 to try before I go ahead and purchase the pro version, unfortunately the trial has not gone well. I am unable to get the Arduino UNO and ILI9341 SPI component to work nicely together.
To demonstrate the issue, I have created a simple Hello World flowchart in both Flowcode V8 and Flowcode V10 using the Arduino Uno R3 SMD target and the GLCD ILI9341 SPI component.
The hardware comprises; an Arduino Uno R3 SMD clone and a 3.2 inch SPI Module MSP3218 with ILI9341 driver IC.
After downloading the FC V8 program to the Arduino the display operates as I expected. However, with the FC V10 program loaded the entire display is white with no text visible.

Display with V8 program:
HelloWorld_FCV8.jpg
HelloWorld_FCV8.jpg (30.9 KiB) Viewed 4847 times
Display with V10 program
HelloWorld_FCV10.jpg
HelloWorld_FCV10.jpg (28.07 KiB) Viewed 4847 times
The included flashing yellow LED indicator confirms the code is running in both FC versions. Both versions simulate correctly.

I am not sure if the problem lies with the operation of the Arduino Uno target or the display (may be a timiing problem with the SPI bus), but I have a number of the ILI9341 based displays that I would like to use with Flowcode, so it would be nice to have a solution.

As a further observation albeit only cosmetic, I noticed the target chip view in FC V10 displays the PDIP package rather than the SMD package, Whereas FC V8 displays the package correctly.

Uno SMD Target devices as displayed in FC V8 and FC V10
Target Chip views.jpg
Target Chip views.jpg (96 KiB) Viewed 4847 times
As I have not worked out how to attach more than 3 files to a post I will provide the Flowcode files in a separate post titled 'GLCD ILI9341 component not working correctly in FC 10 - Part 2' following this one.

Kind regards

Martin

medelec35
Matrix Staff
Posts: 1956
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 657 times

Re: GLCD ILI9341 component not working correctly in FC 10 - Part 1

Post by medelec35 »

Hello.
For anyone who wants to follow this, I have replied here
Martin

Post Reply