【Project source code】The PC of FPGA transmits the image to FPGA based on USB3.0 and displays it on the TFT screen
[Copy link]
This example uses the USB 3.0 function, DDR2 memory and 5-inch TFT display of the Xiaomi AC6102 development board.
https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU4NjM1fGQ1Yjc0OTZmZTNmZDc5NGY0YjU4MWIxYmM1OWI2MTM0fDE3MzE2MTk4NDE%3D&request=yes&_f=.rar
When using it, you need to use the USB host computer software we provide to send the binary data of the 16-bit color image to the FPGA. The FPGA will store the received data in real time in the DDR2 memory on the AC6102 development board.
On the other side, the TFT drive logic reads the image data from DDR2 in real time and displays it on the TFT display. The block diagram of the entire system is shown below (hand-drawn sketch)
The USB3.0 host computer software is required to transfer images from the PC. The software was developed by Xiao Meige himself while learning CPP. The interface is very simple and the functions are very simple. The following is a screenshot of the software running:
https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU4NjM4fDI1MTE4NDU0OWY0YjI2NTdhOGU0MzM3YzI1MTQ2NTM0fDE3MzE2MTk4NDE%3D&request=yes&_f=.rar
The transmitted image is a pure binary file generated by Image2Lcd software. When generating it, you first need a picture with an accurate resolution of 800*480, and then use this software to open and output the bin format file. The settings for generating the bin file are shown in the figure below.
|