STM32 and ILI9488, ILI9341 TFT LCD touch displays

preview_player
Показать описание
This functions library, for STM32 under HAL, handles SPI touch displays driven by ILI9341 (320x240 displays) and ILI9488 (480x320), having XPT2046 touch sensor driver.
Library provides fast data transfer to display and touch sensor poll. That will let an efficient integration to TouchGFX GUI framework.

00:00 intro: summary
00:36 intro: ILI9341 and ILI9488 display properties
02:26 ILI9341 and ILI9488 command set
03:45 Color format available and frame size on ILI9341, ILI9488 and ST7735
06:57 performance test of the three (four) displays over three different STM32 uC
08:03 ILI9488 v1.0 board vs. ILI9488 v2.0
08:32 detecting the highest SPI data transfer available on an STM32G431
09:37 performance over different Cortex M4 STM32s
10:26 XPT2046 and TSC2046 properties
12:20 test function #1: reading values returned by XPT2046
13:28 test function #2: calibrating values read
14:20 test function #3: reading, converting and drawing back to the display
14:57 GPIO interrupt callback on G0
16:07 library availability, details and "HowTos" on GitHub

Documentation:

and finally:
Рекомендации по теме
Комментарии
Автор

Not sure, if you already found out, but nowadays you can also get screens with a size of 4, 3", 5" or even 7" that are even available with a capacitive touch panel on top. These screens are not always connected via SPI, but some are available with a parallel connection instead. Those screens have a resolution of up to 800x480 pixels. I've also seen some with higher resolutions, but i think that is too much for the average microcontroller). Some of these screens are not TFTs but have an IPS panel instead. In many cases they have a built in esp32 module on them (some with an esp32-s2 or esp32-s3).
Last time I checked the screen drivers are still very similar, either some variant of ILIxxxx or STxxxxy. The capacitive touch panels are GT911 drivers in all cases, that I came across. It's easy to implement.

Quite a lot of options to choose from nowadays, which make it quite hard to find just the right one - unless one doesn't have any specific needs or doesn't really care about the options.

Noxoreos
Автор

Can i use this library with stm32f103c8t6 ?, I guess it's not enough memory

truongthong
Автор

hi sorry if sound dumb, I have not used many touch displays.

my questions is if I call Touch_GotATouch() in main loop, from Library I know in background it is calling interrupt but if I call that function in main loop does not it become polling as if my main loop is running other delay based routines and user touches the display the response will still be slow as I am still checking touchs in main loop and reacting to user input?

EmbeddedEnigma
Автор

Sir actually I have ILI9846 driver could please tell can I Used this font library for that

charumathim
Автор

I'm confused about how the Displ_FillArea function works, . In your previous video it looked like you were filling one buffer while the other was transmitting. But in the code it looks like you send ALL the color data at one time and then swap buffers. What do I not understand?

PS- I thnk you need a #endif in z_displ_ILI9XXX.h. In Device Parameters section after #define ILI9488

nohokum
Автор

Sorry, how you connecting display into stm32?
Please pinout 🙏

IvanEng
Автор

friend, to get likes and subscribers you need to enable subtitles. I don't understand your language, but thanks for the initiative!

amarobarbosa