RPi-DPI-HAT

Raspberry Pi HAT (Hardware Attached on Top) for TFT-Displays with DPI (Display Parallel Interface).

RPi-DPI-HAT

Features

  • 40pin connector for TFT-Display
  • LED Backlight Boost Regulator (up to 35V)
  • Single 5V Power Supply via GPIO connector
  • Note: The HDMI and video output cannot be used at the same time with a DPI display.

Shop

Documents

Software

  • Install device tree blob (originally from Robert Ely):

    $ sudo apt-get install device-tree-compiler
    $ wget -N https://raw.github.com/watterott/RPi-DPI-HAT/master/software/dt-blob-dpi.dts
    $ sudo dtc -I dts -O dtb -o /boot/dt-blob.bin dt-blob-dpi.dts
    
  • Open the file /boot/config.txt and add the following lines at the file end:

    $ sudo nano /boot/config.txt
    
    # disable SPI and I2C
    dtparam=spi=off
    dtparam=i2c_arm=off
        
    # enable 800x480 display (TFT050-3, TFT070-4)
    enable_dpi_lcd=1
    display_default_lcd=1
    dpi_group=2
    dpi_mode=87
    dpi_output_format=454661
    hdmi_ignore_edid=0xa5000080
    hdmi_cvt=800 480 60 6 0 0 0
        
    # 0 degrees - normal
    #display_rotate=0
    # 90 degrees
    #display_rotate=1
    # 180 degrees
    #display_rotate=2
    # 270 degrees
    #display_rotate=3
    # horizontal flip
    #display_rotate=0x10000
    # vertical flip
    #display_rotate=0x20000
    
  • Reboot the system:

    $ sudo reboot
    

    If there are problems then check, that you have not bootloader version 1.20150923, which has a bug. Upgrade the system with $ sudo apt-get update and $ sudo apt-get upgrade.