Help with touch for TFT 3.5" ILI9488 with ESP32 #3606
Unanswered
MemoJimenez
asked this question in
Q&A - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A few months ago I started working with a TFT 3.5" ILI9488 display with an integrated XPT2046 touch controller chip.
I am using an ESP32 (version 3.0.7), ARDUINO IDE (version 2.3.4) and TFT_eSPI (version 2.5.43).
So far, the library has worked correctly, and I have managed to turn on and display information on the screen, but, I have not been able to configure the touch screen. These are the pins I have defined.
SDO (MISO) — None (default 19)
SDI (MOSI) — 23
SCK — 18
CS — 15
DC — 2
RST — 4
T_CLK — 18 (connected to the same SCK pin)
T_CS — 21
T_DIN — 23 (connected to the same SDO pin)
T_DO — None as it is the same as the SDO
T_IRQ — None
Here is a picture of the back of my display for a better guide.
In my case, I have the MOSI pins disconnected, since, I have read in different forums that by doing this, the touch can work (but it didn't work yet).
I am using the following setup:
#include <User_Setups/Setup21_ILI9488.h> // Setup file for ESP32 and ILI9488 SPI bus TFT
I have tried to run the Test_Touch_Controller example, but it does not give me any data. Also, I have tried with the Keypad_480x32 example to see if the calibration data is generated, but, I have not been successful either (it only shows me the keypad, but it does not respond to the touchpad).
Thank you very much for creating this library, it would be great your help (@Bodmer).
Does anyone know what I am doing wrong or if I am missing something else to configure?
Beta Was this translation helpful? Give feedback.
All reactions