Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How to test slfifosync

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



How to test slfifosync
Moderator:
RSKV

Post Reply
Follow this topic



How to test slfifosync

lqt76 posted on 15 Dec 2011 2:33 AM PST
Member
4 Forum Posts

hi:

How to test"Cypress\FX3 SDK\firmware\slavefifo\slfifosync"

FPGA and FX3 link below:

SLCS# --GND   SLWR# --GND   SLOE# --HIGH   SLRD#--HIGH   PKTEND--HIGH     A1 --GND       A0 --GND

PCLK---48MHZ   D0/D15--DATA

The tools with "CyControl.exe" test error.Error message:"BULK OUT transfer failed with Error Code:997"




Re: How to test slfifosync

aasi posted on 15 Dec 2011 03:07 AM PST
Cypress Employee
1073 Forum Posts

Since you're talking about Bulk OUT I assume you're trying to do slavefifo read. Please refer the datasheet for the timing diagram. Looking at your pin signalling description seems you've set it up for FIFO write.

Regards,

Anand



Re: How to test slfifosync

aasi posted on 15 Dec 2011 03:21 AM PST
Cypress Employee
1073 Forum Posts

Also I can see a few BULK OUT transfers before you run into the code 997 (which is overlapped I/O pending) so it seems FX3 is up.

Regards,

Anand



Re: How to test slfifosync

lqt76 posted on 15 Dec 2011 05:27 PM PST
Member
4 Forum Posts

Thank you!



Re: How to test slfifosync

zirconin posted on 19 Dec 2011 11:14 PM PST
Member
6 Forum Posts

Information from Cypress Tech Support team I got days before:

When you using slave fifo, nSLOE, nSLRD, nSLWR CAN NOT be ALWAYS LOW. It can be low only when there is buffer/data can be accessed. Otherwise DMA may meet problem.

That means, if you are doing fifo reading, nSLOE = nSLRD = 0 can ONLY happens when Flag Pin is High which means there is data can be read. Otherwise, the pin should keeps 'b1. Tie 0 them to 0 is not an option.

Data packet sent from PC is used to filling your internal DMA buffers.

 






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.