Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > how to make my project working?

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



how to make my project working?
Moderator:
RSKV

Post Reply
Follow this topic



how to make my project working?

jogn_li posted on 09 Feb 2012 12:09 AM PST
Top Contributor
49 Forum Posts

I use the fx3+fpga and SlaveFifoSync to take some data from pc,but  it did not work.

I use the 0x02 and 0x82 eps in the SlaveFifoSync and A0:A1=0 in my fpga project

#define CY_FX_EP_PRODUCER               0x02    /* EP 1 OUT */
#define CY_FX_EP_CONSUMER               0x82    /* EP 1 IN */

#define CY_FX_PRODUCER_USB_SOCKET    CY_U3P_UIB_SOCKET_PROD_2    /* USB Socket 1 is producer */
#define CY_FX_CONSUMER_USB_SOCKET    CY_U3P_UIB_SOCKET_CONS_2    /* USB Socket 1 is consumer */


/* Used with FX3 Silicon. */
#define CY_FX_PRODUCER_PPORT_SOCKET    CY_U3P_PIB_SOCKET_0    /* P-port Socket 0 is producer */
#define CY_FX_CONSUMER_PPORT_SOCKET    CY_U3P_PIB_SOCKET_3    /* P-port Socket 3 is consumer */
 

then when I use the Control Center,

Bulk out endpoint (0x02) print is "00000000000.........BULK OUT transfer completed"

Bulk out endpoint(0x82) print is"BULK IN transfer BULK IN transfer failed with Error Code:997"

help.999!!!

 




Re: how to make my project working?

aasi posted on 09 Feb 2012 01:24 AM PST
Cypress Employee
1073 Forum Posts

What are you to send data in the IN direction. Is your FPGA sending data to FX3 or have you just configured it to write always and sending junk data to it?

Regards,

Anand



Re: how to make my project working?

jogn_li posted on 09 Feb 2012 05:26 PM PST
Top Contributor
49 Forum Posts

FPGA always send data to fx3,seems fx3 did not know the FPGA at all.

there is any sample to introduce how to use the slavefifo?

the "SlaveFifoSync" in the SDK is working in the RAM and inside,it did not show us how to configure slavefifo receive data from outside.

best regard!!






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.