bare-metal drivers for the DisplayTech DT028 TFT display
--------------------------------------------------------

Using parallel 8-bit mode, it takes about 3.5ms to dump a complete bitmap 320x240 16-bit to the display. That's about 10 times faster than SPI running with DMA on a 40MHz clock (gonna be 20 times if using parallel 16-bit mode).

PL built with Vivado 2014.3 (TCL script is provided so project can easily be modified to earlier or future Vivado versions)
PS built with Crossworks for Arm toolchain.

Only done Basic testing.

A word of caution: DisplayTech recommends 2.8V to power this display but I've always been using 3.3V without any problems. Also, DisplayTechs recommends a minimum of 66ns write cycle in parallel mode but so far 20ns seems to be working fine. Still, exceeding the OEM recommended settings does carry some risks, so be warned.

------------------------------------------------------------------------

PL
--
- copy SFT028ATFTip in your ip_repo directory
- "Edit in IP Packager" and "Re-Package IP" to make sure everything is ok
- create xaxidma_tft project
- click Project Settings - IP and add your IP directory in "Add Repository"
- type "source xaxidma_tft.tcl" in Tcl Console
- change DDR3 settings if using Parallella
- "Add or Create Constraints" and select PL_pins.xdc
- Create HDL Wrapper
- Generate Bistream

(as a convenience, BOOT.mcs is provided for the MicroZed QSPI flash:
 Xilinx SDK - Xilinx Tools - Program Flash)

PS
--
- open DTFT_axidma.hzp with Crossworks for Arm 3.2 and build
- connect JTAG probe to board
- click start execution
