Touchscreen 3.2" (SSD1289 & XPT2046) sporadically work on MEGA 2560.


hi all,
i'm using lcd tft display application. quite famous tft_320qvt, 3.2" tft lcd display based on ssd1289 , xpt2046 controllers.
i mount on arduino mega 2560 using adaptor shield (to adjust voltage level 3.3 v), lcd mega shield v2.2.
sw side use utft libraries, utouch , example code, utouch_buttontest.

the display work touch not start work. e.g. if touch work @ start, continue work shut down. likewise, if touch not work @ start, not begin work during runtime (i need power off , on device still not work minutes). don't know when work or doesn't work! seems random.

arduino powered external 7.1 v (12 v 1 regulated 7.1 v lm317) , internal regulated +5 v power line 4.96 v it's power supply: ripple <80mv , vdc stable.
i measured spi signal of touch controller (d_clk, , d_out that's miso of xpt2046) oscilloscope , can see signals when touch work , cannot see (0v line) when touch not work.

i try different arduino mega 2560 (a clone) , different lcd module problem still alive!
i'm quite sure sw ok because use example's code anyhow problem still exist application custom code.

what source of problem? hw, sw?
any ideas ?

examine soldering magnifying glass.    if tft , touch work sometimes,    must have correct shield hw , software constructor()s.

as general rule,    shields reliable bad joint.    if had trailing wires,    have 50% confidence in reliability.    shields should 99% reliable.

david.


Arduino Forum > Using Arduino > Displays > Touchscreen 3.2" (SSD1289 & XPT2046) sporadically work on MEGA 2560.


arduino

Comments