TFT_eSPI: Touchscreen (XPT2046) freezes after a period of normal operation. #3917
Unanswered
abideberry
asked this question in
Q&A - Touch
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Bodmer,
I'm working on a GUI project based on an ESP32-S3-DevkitC-1 v1.1 and a 3.2-inch 240px x 360px touchscreen driven by an ILI9346 for the graphics. The touchscreen is handled by an XPT2046. Both drivers are connected to the ESP32-S3 via the SPI bus. I'm using your TFT_eSPI library.
The application worked perfectly, both graphically and in terms of touchscreen functionality. I enabled calibration via a switch mounted on the breadboard to recalibrate the touchscreen when necessary. This also worked very well. However, upon restarting, the touchscreen freezes, forcing me to recalibrate it. The message "Touch corners as indicated" appears. After examining your code, I realized that it doesn't exit the
calibrateTouch()function.I conducted several tests with different displays of the same model number. Some worked correctly and then froze. Others remained frozen as I described above
I can send the project code (but it is very long), the wiring diagrams, and screenshots.
Beta Was this translation helpful? Give feedback.
All reactions