Adafruit Pi TFT Resistive Touch Screens - 2.2", 2.4", and 2.8"

Hi All,

We just had a customer with one of Adafruit’s 2.4" Touchscreens they couldn’t get working despite following the guides for a Pi 4. The HDMI worked flawlessly, but the touchscreen was a no go.

Adafruit’s last known good image no longer works, but the answer was buried in Adafruit’s forums:

We’ll update our product page and get in touch with Adafruit to get them to update their guide!

To get it up and running, here are the steps we took:

  1. Do a clean install of the latest Raspberry Pi OS and update everything.

  2. Download the relevant pitft file from here:

  3. Edit this file with your favourite text editor and add spi-cpha; ​ to the relevant section:

  4. Copy this modified file to /boot/overlays using:
    sudo mv <file location>/pitft28-resistive-overlay.dts /boot/overlays/

  5. Follow Adafruit’s Easy Install process as normal:
    cd ~
    sudo pip3 install --upgrade adafruit-python-shell click==7.0
    sudo apt-get install -y git
    git clone
    cd Raspberry-Pi-Installer-Scripts
    sudo python3 --display=28r --rotation=90 --install-type=console

  6. Finally, compile the modified overlay file and reboot:
    sudo dtc -@ -I dts -O dtb -o /boot/overlays/pitft28-resistive.dtbo pitft28-resistive-overlay.dts
    ​sudo reboot

If you follow these steps, you should have a working Pi TFT Hat!