SPI touch screen with RPi?

How to use SPI touch screen with RPi?

Ask Question

Asked today

Modified today

Viewed 19 times


I bought a SPI TFT 2.4″ display with a resistive touchscreen from eBay (this one).

The screen is ILI9341 and works fine with Python and displays what I want. But how do I make use of the touch screen?

The PCB shows that the touch screen has got 5 pins: T_IRQ, T_DO, T_DIN, T_CS, T_CLK. From the Clock and CS pins presence I suspect that it’s a SPI touchscreen? How do I make use of it? Ideally in Python. Any pointers?

Update: FWIW the touchscreen controller seems to be labelled XPT2046 if I’m not mistaken.

SPI TFT 2.4" display with resistive touch screen


EditFollowClose 1Flag

edited 7 hours ago

asked 9 hours ago

MLu's user avatar


15166 bronze badges

Add a comment

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.