Slave FIFO loopback transfer problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

   

I'm working with the FX3 DVK, following the application notes AN65974 to perform stream_in, stream_out and loopback transfer with my Xilinx FPGA. When performing stream_in and stream_out transfer, it seems quite ok.

   

However, during loopback transfer, after transfer data out, when I was trying to read data back from bulk in endpoint, it shows that zero length data transfered. I think the communication betwwen FX3 and FPGA failed. So I tried to capture how each control signal data react from FPGA side during transfer. I found that my flagd is always 1 and never changed to 0 and my flagc once changed from 0 to 1, never changed back to 0. As a result, SLRD# keeps asserted during the whole process. Btw, I used the firmware code provided by Cypress and the flag configuration is just same.

   

How can I solve this problem?

   

 

   

Regards,

   

Zoe 

0 Likes
1 Reply
Anonymous
Not applicable

 Hi,

   

If you are getting a ZLP it means the PKTEND signal is kept asserted (low) for some reason. Can you please probe that pin and confirm?

   

Regards,

   

-Madhu Sudhan

0 Likes