Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > SlaveFIFO 32 bit error

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



SlaveFIFO 32 bit error
Moderator:
RSKV

Post Reply
Follow this topic



SlaveFIFO 32 bit error

cusialbi posted on 24 Jan 2013 4:00 AM PST
Member
3 Forum Posts

 Hello,

I am using FX3 as a Device controller used for USB3.0 communication with PC. I'm interfacing an FPGA xilinx Spartan6 to the FX3 with the slave fifo 32 bit by GPIG II  following the the guide of the website. For testing communication I'm using the loopback example of AN65974 downloaded folder and I custmoized the GPIF for my board with the GPIF tool . With the USB Control Center  I stream data to the FPGA and it write back to the fifo correctly (I can watch them with chiscpope analyzer). Something fails in the communication from fx3 to pc. In the the attached file you can see  the error in the 4th byte of 3rd line, 5th line, 7th line and so on.

Each line of the GPIO are right routered to the FPGA and equalized, I don't think there are problem with signal integrity. The hardware it seems ok.

Could you help me please?

thanks a lot

 




Re: SlaveFIFO 32 bit error

andreaabba1983 posted on 24 Jan 2013 05:58 AM PST

1 Forum Post

 I have exactly the same problem. I have rewritten the FPGA code without success.

Is there any silicon bug or path to the software?

We are changint the USB controller (for our project) because we did't fuond any solution.

 



Re: SlaveFIFO 32 bit error

kalev posted on 24 Jan 2013 09:29 AM PST
Senior Member
15 Forum Posts

Hi cusialbi,

Let's analyze the data.

32-bit word on GPIF bus before error is 1C 1D 1E 1F  (2nd row, bytes 13...16)
last byte in binary: 0001 1111

Next 32-bit word on bus is assumed to be 20 21 22 23  (3rd row, bytes 1...4)
last byte in binary: 0010 0011

But FX3 seems to capture this last byte as 0011 0011 (33 in hex) - 4th bit is high like in previous word on bus. For next 32-bit word after that, this 4th bit has correctly settled to 0.  All the errors are exactly the same. The same bit of 32-bit word seems to go from 1 to 0 too slowly. This is very characteristic of  timing errors.

You don't think there are problem with signal integrity. But, have you verified that FPGA output indeed fulfills FX3 data setup requirement?

Best regards,

kalev



Re: SlaveFIFO 32 bit error

RSKV posted on 25 Jan 2013 10:57 PM PST
Cypress Employee
655 Forum Posts

Hi,

I totally agree with the reasoning that has been given by kalev.

This is definitely a timing related issue.

Thanks,

sai krishna.



Re: SlaveFIFO 32 bit error

cusialbi posted on 25 Jan 2013 04:51 AM PST
Member
3 Forum Posts

 Thank you for the reply,

the problem is exactly that, I'll try to solve it.

Best regards

 



Re: SlaveFIFO 32 bit error

cusialbi posted on 25 Jan 2013 05:16 AM PST
Member
3 Forum Posts

 Ok I solved it. I simply set the time constraints of the data bus tightly and it works perfectly now.

Thank you very match Kalev and RSKV






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.