ILI9341 2,4'' Version Problem

Recurrent H/W and software problems
Post Reply
dl6zb
Posts: 3
Joined: Fri Apr 30, 2021 9:38 am

ILI9341 2,4'' Version Problem

Post 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
You do not have the required permissions to view the files attached to this post.
cicciocb
Site Admin
Posts: 308
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 85 times
Been thanked: 197 times
Contact:

Re: ILI9341 2,4'' Version Problem

Post 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
dl6zb
Posts: 3
Joined: Fri Apr 30, 2021 9:38 am

Re: ILI9341 2,4'' Version Problem

Post by dl6zb »

Yes. I reduced it to very low speed, too. (downto 100000). Picture load very slow. However...Same problem even with low speed.
AndyGadget
Posts: 62
Joined: Mon Feb 15, 2021 1:44 pm
Has thanked: 24 times
Been thanked: 54 times

Re: ILI9341 2,4'' Version Problem

Post 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.
dl6zb
Posts: 3
Joined: Fri Apr 30, 2021 9:38 am

Re: ILI9341 2,4'' Version Problem

Post 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.
Post Reply