WangXuan95 / FPGA-ftdi245fifo

FPGA-based USB fast data transmission using FT232H/FT600 chip. 使用FT232H/FT600芯片进行FPGA与电脑之间的高速数据传输。
https://gitee.com/wangxuan95/FPGA-ftdi245fifo
GNU General Public License v3.0
238 stars 74 forks source link

Implemented design on a Zynq no PC -> FPGA communication #13

Closed gswdh closed 2 months ago

gswdh commented 8 months ago

I have this core implemented in a Zynq with a DMA implemented to send and receive data from the FTDI core which is connected to an FT601. However, sending data from the PC to the FPGA does not work, FPGA -> PC does work.

I have tested my DMA on the Zynq via a loop back - working great.

A loop back with or without a FIFO on the IP core does not work.

With the DMA connected to the IP core does not work.

I did have to manually implement two of the parameters as follows due to synth error in Vivado.

localparam  CHIP_EW               = 2;
localparam  CHIP_DRIVE_AT_NEGEDGE = 0;

The project I have it implemented in is in this project https://github.com/gswdh/CameraFPGA/tree/develop

I wonder if there's any advice or example project of implementing this core on a Xilinx device.

josephorender commented 2 months ago

I have the same issue. I am using a Zedboard with a UMFT601x FMC card. Here is the block design

image

image

image

Nothing ever comes out the axi stream.

gswdh commented 2 months ago

@josephorender what happens if you send more data? Perhaps there needs to be enough to justify a flush somewhere?

josephorender commented 2 months ago

@gswdh I pulled your project and noticed you are using Vivado 2023.2. Im using 2023.1. Either way, I think the out of context runs are causing problems with this guys code. Vivado will delete half the tristate buffers in one of his fifo blocks. You need to set this: image and it will keep the buffers. I followed the Critical warnings until they were gone, but I can still get the loopback to work even with timing currently failing. image Hope this helps!

josephorender commented 2 months ago

image

gswdh commented 2 months ago

Nice work @josephorender unfortunealy I decided to drop the FT601 for the gigabit ethernet on the Zynq. Is your issue solved now?

josephorender commented 2 months ago

It is. I bet they were related. You can probably close this one out.

gswdh commented 2 months ago

Thanks, all the best!