Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Application using CYAPI

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



Application using CYAPI
Moderator:
RSKV

Post Reply
Follow this topic



Application using CYAPI

alecha posted on 04 Feb 2011 7:47 AM PST
Senior Member
11 Forum Posts

 I have a FX2 configured as a SLAVE FIFO (I loaded the firmware for slave in the application note EP63787). I tried to read through CYCONSOLE data from an external master from EP6 and everything is working correctly. Now my problem is this: in a user application (written in C++) I have to write the data that arrives from EP6 on a file. In practice, I read every byte to see if a particular value, since the arrival of a particular configuration I have to stop reading. I found in the sample projects of Suite USB the application Streamer, is the only one I can help? There is no other example code? Thank you very much.




Re: Application using CYAPI

alecha posted on 07 Feb 2011 11:10 AM PST
Senior Member
11 Forum Posts

I'm having problems with data transfer rate, I can only get 10kb/sec, using CyAPIas how much can i get?



Re: Application using CYAPI

alecha posted on 08 Feb 2011 01:56 AM PST
Senior Member
11 Forum Posts

I've attached the Streamer.h file modified by me.



Re: Application using CYAPI

Shub posted on 15 Feb 2011 04:28 AM PST
Cypress Employee
27 Forum Posts

Hi,

I believe the problem would not be the cyapi as we can acheieve speeds as supported by usb spec for example around 43-45 MBps with bulk endpoints.There would be some problem in the firmware.

Check whether the external master is supplying data at a constant rate which is high enough.Aso to achieve good sppeds use AUTO mode.

 

-Shub






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: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20