Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > would you please give me some information about the 32 endpoints in FX3

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



would you please give me some information about the 32 endpoints in FX3
Moderator:
RSKV

Post Reply
Follow this topic



would you please give me some information about the 32 endpoints in FX3

才哥 posted on 28 Oct 2011 6:49 AM PST
Top Contributor
40 Forum Posts

 Hi, evvery one.

I'd like to know the information of endpoints,such as the size,the access from ARM core and GPIF, how to configure them……. however,I don't find it in the programmers' manual. The datasheet doesn't include this info also.

 

so,would you please give me some information about the 32 endpoints in FX3? thanks!




Re: would you please give me some information about the 32 endpoints in FX3

zirconin posted on 29 Oct 2011 07:35 PM PST
Member
6 Forum Posts

 Designing Endpoint is depends on your requirements.

 

1 Change USB Descriptor for Host side.

  Refer Demos for all the descriptor required.

 

2 Using code below which can be found in SDK demos to set FX3 endpoint.

/* Producer Endpoint configuration */

endPointConfig.enable = 1;

endPointConfig.epType = CY_U3P_USB_EP_BULK;

endPointConfig.burstLen = 1;

endPointConfig.streams = 0;

 

/* Configure the Endpoint */

apiRetStatus = CyU3PSetEpConfig(CY_FX_EP_PRODUCER,&endPointConfig);

if (apiRetStatus != CY_U3P_SUCCESS)

 

3 If using DMA, refer the demos and there is callback when you received a packet. You can using it for CPU processing.

  How to direct access packet buffer of endpoint using CPU is not known yet.

 

4 Using GPIF, Auto DMA may handle everything for you. Due to GPIF II is not packet based.

 

FYI.

 


Re: would you please give me some information about the 32 endpoints in FX3

才哥 posted on 30 Oct 2011 05:26 AM PST
Top Contributor
40 Forum Posts

thank you!   FIY!

Your reply is very invaluable.

however, in fact,I want to know the architecture of endpoint. If you have the documents about this, Can you email me? my email address is 21032038@zju.edu.cn.



Re: would you please give me some information about the 32 endpoints in FX3

zirconin posted on 30 Oct 2011 06:39 AM PST
Member
6 Forum Posts

 Errr, I have the documents just the same as yours. If you reading them carefully, you could find something interesting but not quite clear.

Another source is reading the firmware examples and firmware including files. They are carefully commented and show lots of things not in the docs.

 

Currently, I did not see any documents shows internal implementation of the peripheral, like UART, IIC, USB, GPIF II. But docs suggest something about how they are working. Maybe helpful for you if you reading and guessing.



Re: would you please give me some information about the 32 endpoints in FX3

才哥 posted on 30 Oct 2011 07:11 PM PST
Top Contributor
40 Forum Posts
Than you!zirconin! You are right, I know how to do it.




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.