Datasheet

This sets up the screen, if you ever want to temporarily 'undo the DPI Hat install' just delete these lines
enable_dpi_lcd=1
display_default_lcd=1
To finish installation, just run sudo reboot
Touch screen support
If you have a DPI HAT with touchscreen circuitry installed
and
a touch-screen display, you can easily use it for touch
screen support
A microUSB cable is required (not included) connect it from the MicroUSB connector on the HAT into one of the Pi's
USB port
# Disable spi and i2c, we need these pins.
dtparam=spi=off
dtparam=i2c_arm=off
# Set screen size and any overscan required
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0
framebuffer_width=480
framebuffer_height=272
# enable the DPI display
enable_dpi_lcd=1
display_default_lcd=1
# set up the size to 480x272
dpi_group=2
dpi_mode=87
# set up the hsync/vsync/clock polarity and format
dpi_output_format=520197
# set up the size to 480x272
hdmi_timings=480 0 40 48 88 272 0 13 3 32 0 0 0 60 0 32000000 3
© Adafruit Industries https://learn.adafruit.com/adafruit-dpi-display-kippah-ttl-tft Page 13 of 20