Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > USB2.0+FPGA for data acquisition

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



USB2.0+FPGA for data acquisition
Moderator:
RSKV

Post Reply
Follow this topic



USB2.0+FPGA for data acquisition

beiming10 posted on 24 Apr 2013 8:11 PM PST
Member
4 Forum Posts

Hi everyone!

I am trying to design a FPGA high speed data acquisition system based on USB communication to solve the problems of
high speed data acquisition and transmission.The USB2.0 I use is CY7C68013A. And I want to use the slave fifo mode(Synchronous or Asynchronous) in my design.

However, I am a green hand; I do not know how to design a Firmware for the USB. What's more, the computer interface is totally unfamiliar for me. I know the slave fifo is a little case for you experts. But the EDA is really difficult for me being a researcher in optics. Somebody can give me the fifo project (if you ever did) to help my learning and design? Of course, any suggestions about my design are appreciated.

If you want to give me some useful materials, you can send it to me Email: beiming200906@gmail.com.

Thank you guys.




Re: USB2.0+FPGA for data acquisition

beiming10 posted on 24 Apr 2013 08:15 PM PST
Member
4 Forum Posts

My FPGA is EP3C10E144C8 from Altera-Cyclone III.



Re: USB2.0+FPGA for data acquisition

RSKV posted on 25 Apr 2013 10:37 PM PST
Cypress Employee
848 Forum Posts

Hi,

 

Please refer to the following application note:

http://www.cypress.com/?rID=43046

 

FPGA code and FX2LP firmware are attached to that application note.

Here, you just need to port the FPGA code to your Altera one.

 

Thanks,

Sai krishna.

 



Re: USB2.0+FPGA for data acquisition

beiming10 posted on 25 Apr 2013 06:45 AM PST
Member
4 Forum Posts

Thank you for your imformation. I will have a try.



Re: RSKV

beiming10 posted on 27 Apr 2013 06:53 PM PST
Member
4 Forum Posts

Hi RSKV,

First of all, thank you for your help in the forum.  I am learning the AN61345 following your suggestion. Because my FPGA is EP3C10E144C8 from Altera-Cyclone III, I encountered some problems when I refer to you design in AN61345. I hope to get your further help with my confusions. I am so sorry to trouble you and my problems are as follows:

No.1: about the clock issue. 

As I know, in the design with Altera FPGA we can generate the clock from PLL. So, I think I can get the global clock of FPGA from PLL; then the FPGA can supply the IFCLK for the FX2LP. Is that right? And then, my confusion comes. How do I modify the codes in the file fx2lp_slaveFIFO2b_loopback_fpga_top.v? I do not understand the function of clk_wiz_v3_6.v clearly and the modification is difficult.

No.2: the function of ‘done’? I have referred to the handbooks of FPGA and USB and I did not find a pin named ‘done’; so I do not know how to make the pin mapping. By the way, the ‘done’ is equal to ‘PKTEND’, right?

What’s more, I want use the Verilog HDL codes, should I just copy and modify fx2lp_slaveFIFO2b_loopback_fpga_top.v using another tool-Quartus II and ignore other files in folder ‘Loopback’? I have no idea.


Looking forward to hearing from you!






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.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20