Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Full speed mode on Cy7C68013A

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



Full speed mode on Cy7C68013A
Moderator:
RSKV

Post Reply
Follow this topic



Full speed mode on Cy7C68013A

giginjose posted on 06 Sep 2012 4:23 AM PST
Top Contributor
36 Forum Posts

 

Hi, 

I am working on Cypress Cy7C68013A high speed controller. How can I configure the configure the size of the endpoint buffer to be 64bytes (as in full speed), for the bulk transfer. My host also supports USB 2.0 high speed, but due to the typical nature of the project, I need to limit the endpoint size to 64bytes. How can I do this ? 

Thank You




Re: Full speed mode on Cy7C68013A

PRJI posted on 06 Sep 2012 06:24 AM PST
Cypress Employee
333 Forum Posts

 Hi,

 Refer section Disabling High-speed Chirp via EEPROM Config Byte of application note MIGRATING FROM EZ-USB(R) FX2(TM) TO EZ-USB FX2LP(TM) - AN4078 .

Regards

Prajith



Re: Full speed mode on Cy7C68013A

giginjose posted on 08 Sep 2012 07:51 AM PST
Top Contributor
36 Forum Posts

 Hi Prajith, 

I referred the section mentioned above, but since there was no detailed documentation on the procedure, I was not able to achieve it. Instead, I hard coded al the endpoint sizes to 64bytes, including that of the high speed configuration descriptors, and places where high speed feature is checked by the firmware as "EZUSB_HIGHSPEED()" .  

After hard coding the endpoint sizes as 64bytes, I am getting the 64bytes as endpoint size on EZ-USB Interface too. 

I am doing my development on a USB 2.0 host, but I will be implementing my project on a USB 1.1 host. 

Is this a reliable solution to work on. ? 

Thank You

 



Re: Full speed mode on Cy7C68013A

Gayathri posted on 10 Sep 2012 01:52 AM PST
Cypress Employee
428 Forum Posts

 Hi,

 

This might be useful for you http://www.cypress.com/?id=4&rID=30776.

 

Regards,

Gayathri



Re: Full speed mode on Cy7C68013A

giginjose posted on 11 Sep 2012 12:29 AM PST
Top Contributor
36 Forum Posts

 Hi, 

Thanks for the reply. I had pasted the following lines of code as mentioned in the link:

USBCS |= 0x08;
EZUSB_Delay(1500);
CT1 |= 0x02;
USBCS &=0xF7;

and it works on standard examples. But the USB enumeration fails once I try to use only one endpoint. 

I worked on the application example "EZ-USB® FX2LP™ GPIF and Slave FIFO Configuration Examples using FX2LP

Back-to-Back Setup", on the slave part of the firmware, which has two endpoints configured. Once the above code is used in TD_init( ), the slave gets enumerated as a full speed device. For the same example, the USB eumeration fails after using only one endpoint. Why is that happening ? 

Thank You



Re: Full speed mode on Cy7C68013A

Gayathri posted on 11 Sep 2012 06:05 AM PST
Cypress Employee
428 Forum Posts

 Hi,

 

What is the behaviour seen? Does it enumerate with VID/PID = 0x0000/0x0000 or Unkown device kind of pop ups come? What does it appear as in DEvice manager? Is it possible to attach any USB traffic trace to understand how exactly it is failing?

 

Regards,

Gayathri






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20