You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
microwatt/fpga
Paul Mackerras 172eae61cb arty a7: Add an interface for a TFT LCD touchscreen
This adds an interface for an Arduino-compatible LCD touchscreen.  The
screen module plugs directly on to the Arduino/chipKit shield
connector on the Arty A7.  Unfortunately, the slightly strange way the
resistive touchscreen is brought out (connected to the D0, D1, RS and
CS pins) combined with the 200 ohm protection resisters on the Arty
board mean that some hardware hacks to the module are necessary.  I
rewired mine so that D0 and D1 are on the A4 and A5 pins and the reset
is where D0 was (shield I/O 8).

This interface is suitable for boards with a HX8347 driver chip.  The
timing may not be quite suitable for other driver chips.

The interface is a byte which can be read and written at 0xc8050000,
containing an index register, and a 1-8 byte data register at
0xc8050008.  Reading at offsets 1 to 7 from those addresses yields the
same value as at offset 0.  Writing 64 bits to the data register
writes the bytes at offset 1, 0, 3, 2, 5, 4, 7, 6 in that order to the
driver chip.  This allows pixel data to be transferred using 64-bit
writes, ending up in the frame buffer in the expected order (for
16-bit pixels, the driver chip expects MS byte then LS byte).  32-bit
writes do 1, 0, 3, 2, and 16-bit writes do 1, 0.

The touchscreen support so far is a 1-byte register containing bits to
set RS, D0, D1 and CS high or low or make them tri-state.  There is
nothing to do analog conversions of the signal levels at this stage.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
3 months ago
..
LICENSE Initial import of microwatt 7 years ago
acorn-cle-215.xdc acorn: Add support for the Acorn CLE 215+ 6 years ago
antmicro_artix_dc_scm.xdc antmicro-artix-dc-scm: Add Ethernet pins 4 years ago
arty-lcd-ts.vhdl arty a7: Add an interface for a TFT LCD touchscreen 3 months ago
arty_a7.xdc arty a7: Add an interface for a TFT LCD touchscreen 3 months ago
clk_gen_bypass.vhd Fix clk_gen_bypass 7 years ago
clk_gen_ecp5.vhd ECP5: Adjust PLL constants so the PLL lock indication works 5 years ago
clk_gen_mcmm.vhd Fix some whitespace issues 5 years ago
clk_gen_plle2.vhd fpga/clk_gen_plle2: Add support for 50Mhz->100Mhz 5 years ago
cmod_a7-35.xdc Remove -add from xdc files 5 years ago
firmware.hex Add a few more FPGA related files 7 years ago
fpga-random.vhdl Add random number generator and implement the darn instruction 6 years ago
fpga-random.xdc Add random number generator and implement the darn instruction 6 years ago
genesys2.xdc Remove -waveform from xdc files 5 years ago
hello_world.hex hello_world: Use new headers and frequency from syscon 6 years ago
main_bram.vhdl Rename 'do' signal to avoid verilator System Verilog warning 5 years ago
nexys-video.xdc litesdcard: Add Nexys Video support 5 years ago
nexys_a7.xdc Remove -add from xdc files 5 years ago
pp_fifo.vhd pp_fifo: Fix full fifo losing all data on simultaneous push & pop 6 years ago
pp_soc_uart.vhd uart: Remove combinational loops on ack and stall signal 6 years ago
pp_utilities.vhd Initial import of microwatt 7 years ago
soc_reset.vhdl soc_reset: Use counters, add synchronizers 6 years ago
soc_reset_tb.vhdl Exit cleanly from testbench on success 6 years ago
top-acorn-cle-215.vhdl acorn-cle-215: Implement SMP and enable FPU and BTC 11 months ago
top-antmicro-artix-dc-scm.vhdl Move alt_reset to syscon 4 years ago
top-arty.vhdl arty a7: Add an interface for a TFT LCD touchscreen 3 months ago
top-ecpix5.vhdl ECPIX-5: Add liteeth support 2 years ago
top-generic.vhdl Remove option for "short" 16x16 bit multiplier 4 years ago
top-genesys2.vhdl genesys2: Fix SPI_FLASH_OFFSET (#449) 8 months ago
top-nexys-video.vhdl liteeth: Regenerate from current upstream litex 2 years ago
top-orangecrab0.2.vhdl Move alt_reset to syscon 4 years ago
top-wukong-v2.vhdl liteeth: Regenerate from current upstream litex 2 years ago
wukong-v2.xdc Add support for QMTech Wukong v2 board 5 years ago