Page 1 of 1

GLCD ILI9341

Posted: Fri Apr 17, 2020 10:40 am
by Alkaline
Hello

I have some problems with the ili9341 display and would like to understand if it depends on the single display or it happens to everyone.

I am currently using this display https://www.buydisplay.com/color-2-4-in ... serial-spi

the interface is 8 bit parallel.

In simulation everything is ok while on the hardware I have a rotated and corrupt image.

To eliminate vertical lines I have to set the display area differently by inverting the widht and hight dimensions.

But at that point I have no correlation between the image drawn on the real display and the simulation

With the latest version if I set the rotation on the number 3 I get only the black screen

Re: GLCD ILI9341

Posted: Sat May 16, 2020 10:32 am
by faveremario
Hi Alkaline

I just started experimenting with the ILI9341 (SPI).

Be careful to select the wright component. Do not select the SPI-component when using the 8-bit // interface and vice-verse.

The last image shown is typical for miss-initing the TFT. I suggest to switch XY-dimensions in the component:
H : 320 (in stead of 240)
W : 240 (in stead of 320)

Hope this helps a little.

Re: GLCD ILI9341

Posted: Sat May 16, 2020 3:24 pm
by Alkaline
Hello

I confirm that if I invert the coordinates the problem disappears

In the last few weeks I have tried the various versions and the one I can use correctly is the n12.

Both in simulation and in hardware the images and numbers are correctly represented.

Performance has improved compared to version 10 especially on STM

In versions after 12 I can't rotate the screen and write numbers or text. In simulation it works but in hardware it does not.

Let me know if it does the same to you even if you use the SPI interface

Re: GLCD ILI9341

Posted: Sat May 16, 2020 4:57 pm
by faveremario
Hi

I do not see what you mean by n10 or n12.... ?
Screen rotation works for me.
My test-environment : PIC18F4455

Re: GLCD ILI9341

Posted: Sat May 16, 2020 7:58 pm
by Alkaline
Hello

I am referring to the version of the glcd componentĀ as photo attached.

The problem of rotation is the following.

For example I set the value 3 to the rotation, I want to write a number the number on the display, the number will not be drawn.

Re: GLCD ILI9341

Posted: Sun May 17, 2020 8:48 am
by faveremario
This is what I get....

Component version 2.0

Re: GLCD ILI9341 + Flowcode 9 + Simulation

Posted: Thu Jan 14, 2021 10:15 am
by OwenPrice
Flowcode 9 In simulation mode has anybody had the following problem and fixed it?


Flowcode 9 + gLCD_ILI9341 + SetBackgroundColour(0,0,0) = White Background

Also,
Flowcode 9 + gLCD_ILI9341 + SetBackgroundColour(255,255,255) = White Background

Thanks
Owen

Re: GLCD ILI9341

Posted: Thu Jan 14, 2021 10:23 am
by kersing
Do you actually display anything with that background? Just setting the background does not change the currently displayed information.

Re: GLCD ILI9341

Posted: Thu Jan 14, 2021 5:13 pm
by jgu1
Hi Owen!

I have just made a testprogram in FC9. It work fine for me.

All color 255 = white
All color 0 = Black

Br jorgen