Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Configuration of endpoints and sockets

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



Configuration of endpoints and sockets
Moderator:
RSKV

Post Reply
Follow this topic



Configuration of endpoints and sockets

raj8889 posted on 22 Nov 2012 2:20 AM PST
Senior Member
19 Forum Posts

I have 3 endpoints 2 out bulk endpoints and 1 in endpoint. I want to implement a slavefifo interface.

 Is one consumer p-port socket is enough to transfer data from 2 out endpoints are should I create an other consumer p-port socket?

 

Thanks in advance




Re: Configuration of endpoints and sockets

Lumpi6 posted on 22 Nov 2012 06:33 AM PST
Top Contributor
183 Forum Posts

Hello,

I can not really understand why you decide to use 2 out endpoint with the slave fifo interface. Do you already read the application note to AN65974
Designing with the EZ-USB® FX3™ Slave FIFO Interface? You may get your solution out of that document, otherwise you can also describe your application more detailed. e. g. why you need the 2 end point and why both ep's have to be connected to the GPIF on the p-port?

 

I think the eaysiest way which also should work fine for most applications is to use one p-port socket.

regards,

lumpi



Re: Configuration of endpoints and sockets

Lumpi6 posted on 22 Nov 2012 06:45 AM PST
Top Contributor
183 Forum Posts

Hi,

for the application note check the cypress url...

http://www.cypress.com/?rID=51581

 

and download...

AN65974.pdf (description)

AN65974.zip (sourcecode)

for detailed informations.

regards,

lumpi



Re: Configuration of endpoints and sockets

raj8889 posted on 23 Nov 2012 12:03 AM PST
Senior Member
19 Forum Posts

Hii,

I have read the document before I will read it once again to make things clear. But I need 2 out endpoints and 2 in end points to suit my requirement because I am connecting the FX3 to a zynq-7000 data from one out end point goes to the arm processor and from the other goes to the programmable logic. But as for my knowledge I know I cant send data from both sockets at a time .I will manage it by changing the address based on the flag settings.

 

Thanks for your reply



Re: Configuration of endpoints and sockets

raj8889 posted on 23 Nov 2012 05:26 AM PST
Senior Member
19 Forum Posts

Hello Lumpi6,

I have gone through the document about slave fifo interface and also the api guide on dma channels. I didnt see any model where 2 endpoints are connected to 2 sockets all the time only many to one or one to many models are available .

So I cannot connect 2 out endpoints to 2 consumer sockets??

Is this what u wanted to say??



Re: Configuration of endpoints and sockets

Lumpi6 posted on 23 Nov 2012 05:59 AM PST
Top Contributor
183 Forum Posts

Hi raj,

sorry, I forgot... you may look at the GPIF II designer project which comes with the slave fifo example in the application note (you can also take a look at the example with the 5-bit addressing mode http://www.cypress.com/?rID=59936). Yes these examples still have no use of 2 endpoints, but if you set up your states by using the address lines and setting up different threads in the states of data. Then you able to connect the endpoints to different sockets.

Your soultion should work by using the address lines of the GPIF. There is actually no solution or example available anyway no example that I know. But looking maybe into the different states of the slave fifo project may give you a answer how to setup your prefered system.

regards,

lumpi






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.