Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15514

Dollatek 2.8 TFT Touchscreen Driver Question

$
0
0

Hi Guys,

Has anyone ever got one of these touchscreens working with an XPT2046 driver on a Mega ?

The display works great and now that I’ve finally got it on hardware SPI it’s actually a lot faster than I was anticipating, but the touchscreen is giving me a headache.

If I wire the touchscreen to 5 vacant pins on the mega and bit bang it with the URTouch driver it works fine, and there is surprisingly little overhead, but I would prefer to use hardware SPI with the touch interrupt just to free up every last bit of processor time.

With the XPT2046 driver no matter what configuration of wiring or software options I try (with irq, without irq etc) I only ever get a constant stream of incorrect data, even if the screen is not touched.

Using URTouch wouldn’t be the end of the world but I’d like to try to understand why I can’t get the XPT2046 working.

Any pointers gratefully received !

Thanks,

Gareth

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 15514

Trending Articles