Menu
JAQForum Ver 19.10.27

Forum Index : Windmills : problems whit my touch panel and  GUI CALIBRATE

Posted: 02:15pm
02 Jul 2025
Copy link to clipboard
tenij000
Newbie

ili9341 display

t_irq gp7
t_do
t_din
t_cs gp5
t_clk

PicoMite MMBasic RP2040 Edition V6.00.02RC26
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL ILI9341, LANDSCAPE,GP15,GP14,GP13,GP20
OPTION TOUCH GP5,GP7

if do GUI CALIBRATE

press first cross left side then press second cross right side then error
> GUI CALIBRATE
Error : Touch hardware failure 4095,4095,4095,4095
 
Posted: 10:47pm
02 Jul 2025
Copy link to clipboard
phil99
Guru


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:-

GUI CALIBRATE 0, 128, 194, 872, 630
GUI CALIBRATE 0, 180, 202, 870, 638

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
 


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025