AlhambraII Display

Demo project for driving SSD1331 display connected to Lattice AlhambraII board from PC. Is based in Oleg Stepanov project that was for the board ICEstick https://github.com/reostat/usb_displ

Required tools

  • PC code: C compiler, make and cmake
  • FPGA code: yosys, arachne_pnr, icebox tools (icepack, icetime, iceprog), iverilog, gtkwave

Build

  • For FPGA side: cd fpga_code then make all then make prog
  • For PC side: cd pc_code, mkdir build, cd build, cmake .. && make

Run

  • ./demo - display some shapes on SSD1331
  • ./send_img <filename> - send picture to display. Before sending, picture must be scaled to 96x64 and the converted to RGB565 raw format (see pc_code/img folder)