Page 1 of 1

ILI9341 2,4'' Version Problem

Posted: Sat May 15, 2021 12:32 pm
by dl6zb
Hi.

THX cicciocb for great software.

I got a problem with ILI9341 2,4'' and ANNEX32.

The default cicciocb picture on ESP32 is ok.
However, pictures loaded with resolution 320x240 are not ok. So this indicates that the display ILI9341 is ok.

If pictures are downsized to 285 x 214 these are displayed ok.

Example is the software Quake V1.2 where the world map 320x240 is loaded and displayed.

I had tried other pictures with full resolution 320x240, same result. It doesn't matter if BMP or JPG. Same result. Only the default cicciocb picture is displayed without errors.

See attached pictures.

Thanks for help.
default.jpg
320x240.jpg
285x214.jpg
320x240_02.jpg

Re: ILI9341 2,4'' Version Problem

Posted: Sat May 15, 2021 12:36 pm
by cicciocb
Have you tried to reduce the speed of the SPI ?
Maybe it's an H/W problem

Try

Code: [Local Link Removed for Guests]

TFT.SETFREQ 20000000

Re: ILI9341 2,4'' Version Problem

Posted: Sat May 15, 2021 1:17 pm
by dl6zb
Yes. I reduced it to very low speed, too. (downto 100000). Picture load very slow. However...Same problem even with low speed.

Re: ILI9341 2,4'' Version Problem

Posted: Sat May 15, 2021 7:20 pm
by AndyGadget
Annex is not at fault. I've used several ILI9341 2.4" displays on ESP32 with no problem; see my posts in the 'projects' section.

However, I've had similar screens to yours when I've loaded image files with insufficient memory on the device. Annex does not give an error message when transferring the files from PC, but if you check the bytes free you may see it is zero.
Try reformatting the ESP32 memory (save your programs elsewhere first, of course) and re-flash with a minimum load, i.e. without all the example programs.

Re: ILI9341 2,4'' Version Problem

Posted: Sat May 22, 2021 9:46 am
by dl6zb
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat May 15, 2021 7:20 pm Annex is not at fault. I've used several ILI9341 2.4" displays on ESP32 with no problem; see my posts in the 'projects' section.

However, I've had similar screens to yours when I've loaded image files with insufficient memory on the device. Annex does not give an error message when transferring the files from PC, but if you check the bytes free you may see it is zero.
Try reformatting the ESP32 memory (save your programs elsewhere first, of course) and re-flash with a minimum load, i.e. without all the example programs.
Hi Andy...
Thank you for your hint.
Problem solved.