449 views
in Platform Packages by
Hi,

are there any members working on ESP32 with touch screen Based on ILI9341 and XPT2046.

Currently i am working on it,

if some body can help in this regard that would be great

1 Answer

+1 vote
by

Hi,

there are a couple of articles / tutorials in ESP32 forums concerning the integration of ILI9341 (display) and XPT2046 (touch) on ESP32 targets. If you have some hardware integration issues, let me recommend to search these sites.

The Build Environment for ESP-WROVER-KIT contains already an SPI driver for ILI9341 so the remaining task is the integration of the XPT2046. As soon as you have the raw touch coordinates provided from the XPT2046 controller, the integration into the GUI application is not so difficult. Here we can help.

Maybe you can describe your "other issues" more precise...

Best regards,

Manfred.

by
Hi,

I have no issue regarding regarding integration of ILI9341, as i have already experimented many examples almost all of them

with ESP32 and ILI9341, and results are very excellent.

The only problem i am facing at the moment is XPT2046, I have also checked 32F407 example and its working.

Main problem is integrating with same VSPI or HSPI connections, because you have to lower the frequency of SPI bus

while reading / writing to XPT2046.

i will be highly thankfull if you can point me to the tutorials what you have mentioned.

But as i said i do not have any problem in Hardware Side, if there is some guidance on SPI transactions on a single bus which can handle display and touch

on the same lines that would be helpful.

I have already checked many drivers and they can be integrated with but i am stuck as mentioned above.

if i use IRQ then may be it is possible to shift down the SPI freqiency and when touch is done go back to original frequency ?

what is your advise ? as i have seen this in TFT_esPI driver for arduino.

I will highly appriciate your further help and if there is tutorial.

Thanks and best regards

Embedded Wizard Website | Privacy Policy | Imprint

...