Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > apiRetStatus = CyU3PGpifSocketConfigure(3,3,3,CyFalse,0);

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



apiRetStatus = CyU3PGpifSocketConfigure(3,3,3,CyFalse,0);
Moderator:
RSKV

Post Reply
Follow this topic



apiRetStatus = CyU3PGpifSocketConfigure(3,3,3,CyFalse,0);

Sil posted on 25 Jan 2012 4:55 AM PST
Top Contributor
93 Forum Posts

Hi

 

I need to set the watermark level for the slave fifo interface. So far I was using the following function:

apiRetStatus = CyU3PGpifSocketConfigure(3,3,3,CyFalse,0)

 

This was working with Beta 3.1 but now with Release 1.0 the function returns bad argument (CY_U3P_ERROR_BAD_ARGUMENT). Is there something different with Release 1.0? I am using GPIF2 Designer 1.0.669.0 while before it was 0.7.480.0.

 

-Silvio




Re: apiRetStatus = CyU3PGpifSocketConfigure(3,3,3,CyFalse,0);

Chris R. posted on 25 Jan 2012 06:10 AM PST
Top Contributor
135 Forum Posts

Right, there was a change from beta to the release. You have to change the second parameter to "CY_U3P_PIB_SOCKET_3" in your case. As you can see in cyu3dma.h, the P port sockets don´t begin with 0: CY_U3P_PIB_SOCKET_0 = 0x0100,



Re: apiRetStatus = CyU3PGpifSocketConfigure(3,3,3,CyFalse,0);

Sil posted on 26 Jan 2012 11:05 PM PST
Top Contributor
93 Forum Posts

Thanks Chris! This was the problem.

 

-Silvio






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.