Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
press first cross left side then press second cross right side then error > GUI CALIBRATE Error : Touch hardware failure 4095,4095,4095,4095
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2583
Posted: 10:47pm 02 Jul 2025
Copy link to clipboard
Print this post
You don't appear to have connected the SPI touch pins. These are shared with the display and SD card System SPI. t_irq gp7 t_do = MISO - GP16 t_din = MOSI - GP19 t_cs gp5 t_clk = SPI_CK - GP18
If that isn't the problem try directly entering either of these touch settings from two of my panels:-
Then do GUI TEST TOUCH to check the accuracy, as those values may not be accurate for yours. If they are too far out experiment with slightly different values to get closer.
Some panels have the touch foil reversed so require different settings like this:-
GUI CALIBRATE 0, 3956, 3841, -876, -647
If GUI TEST TOUCH draws lines at the wrong end of the screen use those settings.
PS To ensure your posts go on Microcontrollers rather than Windmills go to Forum Index : Microcontroller and PC projects rather than Active Topics. . Edited 2025-07-03 11:39 by phil99