Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Throughput of Slave FIFO

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



Throughput of Slave FIFO
Moderator:
RSKV

Post Reply
Follow this topic



Throughput of Slave FIFO

clh23047 posted on 27 Jun 2012 9:12 AM PST
Top Contributor
65 Forum Posts

Hello, I have large amount of data to be transferred from FPGA to FX3 and then to PC (one direction). At present, our FPGA system is still in design. I plan to connect the related GPIF pins to GND or VCC to test the SlaveFifoAsync example. Then how could I check the throughput of the data transfer in this case (I did it in the USBBulkSourceSink example with Streamer)?

Thanks,
Lehua Chen



Re: Throughput of Slave FIFO

RSKV posted on 28 Jun 2012 10:28 PM PST
Cypress Employee
655 Forum Posts

Have you tried with the same streamer application.

You can use the same application for measuring the throughput in this scenario as well.

Please make sure that VID and PID of SlaveFifoAsync example code is listed in the cyusb3.inf.

Regards,

sai krishna.



Re: Throughput of Slave FIFO

clh23047 posted on 28 Jun 2012 12:44 AM PST
Top Contributor
65 Forum Posts

Hi, RSKV,

Thank you for your reply.
I have put the VID and PID of SlaveFifoAsync in the list of cyusb3.inf.
 
%VID_04B4&PID_00F0.DeviceDesc%=CyUsb3, USB\VID_04B4&PID_00F0
%VID_04B4&PID_00F1.DeviceDesc%=CyUsb3, USB\VID_04B4&PID_00F1
%VID_04B4&PID_00F2.DeviceDesc%=CyUsb3, USB\VID_04B4&PID_00F2
%VID_04B4&PID_00F3.DeviceDesc%=CyUsb3, USB\VID_04B4&PID_00F3
%VID_04B4&PID_4720.DeviceDesc%=CyUsb3, USB\VID_04B4&PID_4720
 
With this setting, I can only check the USBBulkloop examples with Bulkloop and USBBulkSourceSink and USBIsoSourceSink with Streamer. For SlaveFifoAsync, both Bulkloop and Streamer have no response. In the USB Control Center, I can download the SlaveFifoAsync.img to the RAM of FX3 and the bulk out transfer successes, as shown in the attachment. The bulk in transfer fails, the reason may be that the GPIF interface pins are floating. So I think the VID and PID settings are OK.
 
How could I activate the Streamer with the SlaveFifoAsync example?
 
Thank you,
Lehua Chen


Re: Throughput of Slave FIFO

RSKV posted on 28 Jun 2012 01:21 AM PST
Cypress Employee
655 Forum Posts

 OK. I have gone through the Streamer application soruce code.

Basically it is looking for the devices with PID F1.

So, please change the PID value of SlaveFifoAsync example to F1. (You can go to cyfxslfifousbdscr.c file and change the PID value to F1).

Then streamer application will identify your device without any issues.

Please let me know if not.

Regards,

sai krishna. 



Re: Throughput of Slave FIFO

clh23047 posted on 28 Jun 2012 02:08 AM PST
Top Contributor
65 Forum Posts

Thank you very much. It works now.

 



Re: Throughput of Slave FIFO

RSKV posted on 28 Jun 2012 03:47 AM PST
Cypress Employee
655 Forum Posts

Good to hear that. :)






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.