In this project I ported TouchGFX to STM32F407G + ILI9341 + XPT2064
-
I used Cube HAL and Low Level Driver (LL Library to drive SPI for optimization)
-
ILI9341 Connected via SPI + DMA
-
It works in my opinion very well and stable! :)
-
Update!!! In this example: https://github.com/trteodor/TouchGFX_PortTo_STM32F407_ILI9341_XPT2046/tree/master/TouchGFXPortTo_ILI9341_XPT2046_basic_yt_tut2 I Added Calibration procedure for Touch Controller! :)
External Links and sources:
Based on: https://github.com/PeraZver/TouchGFX-Test
The ILI9341 Driver is Based on: https://github.com/ScarsFun/lvgl_STM32F103_ILI9341_XPT2046 I modified a large part of this driver
XPT2064 Driver is taken directly from: https://kursstm32.pl/
Demo Video: https://youtu.be/AI_AbwAoxG4
Connections: