gLCD ILI9341 SPI

For general Flowcode discussion that does not belong in the other sections.
Post Reply
peterUA
Posts: 9
http://meble-kuchenne.info.pl
Joined: Sun Nov 10, 2024 4:55 pm
Has thanked: 1 time

gLCD ILI9341 SPI

Post by peterUA »

Hello Matrix. Display gLCD ILI9341 in Flowcode environment. How to remove slowly creeping black screensaver after turning on the device. Very annoying. And how to hang the data transfer rate. On the oscilloscope it is visible that it happens very slowly. Much slower than SPI is capable of at the global frequency of 20 MHz of the chip 18F47K40
Petro

BenR
Matrix Staff
Posts: 1945
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 509 times
Been thanked: 692 times

Re: gLCD ILI9341 SPI

Post by BenR »

Hi Petro,

The 18F47K40 can be driven at up to 64MHz using the internal oscillator. That should hopefully give you a fair old speed boost.

Maybe the chip is not running at the speed you think it is. the good old one second flasher test can clarify and ensure you are setup correctly.

https://www.flowcode.co.uk/wiki/index.p ... ED_flasher

peterUA
Posts: 9
Joined: Sun Nov 10, 2024 4:55 pm
Has thanked: 1 time

Re: gLCD ILI9341 SPI

Post by peterUA »

That's not the point. I found out. Matrix applied Bit-Banging

medelec35
Matrix Staff
Posts: 2001
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 630 times
Been thanked: 672 times

Re: gLCD ILI9341 SPI

Post by medelec35 »

Hi Petro,
There are two ILI9341's to choose from.
One is dedicated SPI, the other is not!
Have you selected the correct version?
ILI9341.png
ILI9341.png (8.27 KiB) Viewed 19 times
If you have added the wrong component by accident, select the ILI9341 display on the 2D panel right-click > Selection > Replace...
Then choose the SPI version.
Saves being done manually.
Martin

Post Reply