Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > 3 questions about 68013

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



3 questions about 68013
Moderator:
RSKV

Post Reply
Follow this topic



3 questions about 68013

才哥 posted on 14 Jun 2011 2:01 AM PST
Top Contributor
40 Forum Posts
three questions 1,it's well konwn that CY7C68013's endpoint 2/4/6/8 can be configured to double/triple/quad,and it also can be 8/16 bits.So what's the physical size of the FIFO buffer? When one of the endpoints is configured to be triple or quad,does some endpoints have no physical buffer?So can you tell me what are the effects on other endpoints when one is configured to be triple/quad? 2,Are all the 2/4/6/8 endpoint FIFO buffer are physically 16bits wide? if not so,when some endponts are configured to be 16bits wide,other endpoints would be influeced? 3,Maybe all the 2/4/6/8 endpoint FIFO buffers are 8bits wide,configuring to 16 bits wide just makes the cy7c68013's FD pins be 16 bits,which is convenient to connect to external controller(DSP,ARM).so how to do when firmware has many datum greater than 255 to transmit.can firmware write a int data into FIFO buffer?I have done it in my firmware and the compiling didn't generate any error,but the transfer failed and I don't konw which code segment is wrong.


Re: 3 questions about 68013

aasi posted on 14 Jun 2011 03:58 AM PST
Cypress Employee
1090 Forum Posts

Ian,

The FIFO is 4k in size.

There are only 12 valid endpoint buffer (FIFO) configuration, please look at section 1.17 EZ-USB Endpoint Buffers in the TRM for more details.

8/16 bit width is the configuration of data width you want on the GPIF/Slave FIFO interface. It has nothing to do with the FIFO or the way the data is placed inside the FIFO.

Please read through GPIF and Slave FIFO chapters of the TRM to understand how the interface works. The 16/8 lines are data lines. The interface have other signals and the data lines are used for only data. So you can send or receive more than 255 bytes.

-Anand



Re: 3 questions about 68013

才哥 posted on 14 Jun 2011 06:06 PM PST
Top Contributor
40 Forum Posts
so when a external contoller write a 16 bits wide data on the FD,the fifo buffer is load 2 datum,is it so?

Re: 3 questions about 68013

aasi posted on 14 Jun 2011 08:51 PM PST
Cypress Employee
1090 Forum Posts

Yep. 16 bits = 2 bytes.

Regards,

Anand






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.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20