Page 1 of 1

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

Posted: Tue Oct 22, 2024 9:09 am
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 4850 times
Display with V10 program
HelloWorld_FCV10.jpg
HelloWorld_FCV10.jpg (28.07 KiB) Viewed 4850 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 4850 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

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

Posted: Wed Oct 30, 2024 3:06 pm
by medelec35
Hello.
For anyone who wants to follow this, I have replied here