Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > CyU3PGpifSocketConfigure() burst parameter at 100 MHz

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



CyU3PGpifSocketConfigure() burst parameter at 100 MHz
Moderator:
RSKV

Post Reply
Follow this topic



CyU3PGpifSocketConfigure() burst parameter at 100 MHz

Sil posted on 30 Jul 2012 3:02 AM PST
Top Contributor
93 Forum Posts

After updating to SDK 1.1.1  my FX3 application stopped working. Now I figured out that this was because I set the "burst" parameter in CyU3PGpifSocketConfigure() to 0. The description for this parameter is rather interesting:

 

"Logarithm (to the base 2) of the burst size for this socket.
The burst size is the minimum number of words of data that will
be sourced/sinked across the GPIF interface without further
updates of the GPIF DMA flags. The device connected to FX3 is
expected to complete a burst that it has started regardless of any
flag changes in between. Please note that this has to be set to
a non-zero value (burst size is greater than one), when the GPIF
is being configured with a 32-bit data bus and functioning at
100 MHz."

 

As I am running the interface a 100 MHz and 32 Bit, this is affecting me. But does it also apply if I run the interfaceat at 95 MHz? Up to now I had the upstream data transfer stalling from time to time with certain USB host controllers. Can this be the reason? And if I understand correctly, I now need to adjust the FPGA logic, so that it ignores the flags during a burst packet? Does it mean that during a burst read or write the flags may become invalid?

If this parameter has to be non-zero, it means that the smallest burst size will be 2^1 = 2?.

 

It think Cypress should provide more detailled information on this as I did not find any mention of this in the slave fifo application note.

 

-Silvio




Re: CyU3PGpifSocketConfigure() burst parameter at 100 MHz

RSKV posted on 02 Aug 2012 12:19 AM PST
Cypress Employee
655 Forum Posts

Hi Silvio,

I think you have created a tech support case to get more details regarding this. right?.

Thanks,

sai krishna.



Re: CyU3PGpifSocketConfigure() burst parameter at 100 MHz

Chris R. posted on 02 Aug 2012 01:32 AM PST
Top Contributor
135 Forum Posts

I think this is no problem. You can set the burst size to 1 which means every 2 words the flags are updatetd. And in my opinion the best solution is to slow down the write access if partial full is active and monitor the full flag in this mode. This is now described in the slave fifo application note (I think upon my suggestion here in the forum).



Re: CyU3PGpifSocketConfigure() burst parameter at 100 MHz

Sil posted on 02 Aug 2012 04:43 AM PST
Top Contributor
93 Forum Posts

Chris,

 

what makes me suspicious is the sentence that says the host needs to ignore flag changes in between:

 

"The device connected to FX3 is expected to complete a burst that it has started regardless of any flag changes in between"

 

Doesn't this imply that the flags can become invalid in between? And why would somebody want to define a burst size of more than 2?

 

-Silvio



Re: CyU3PGpifSocketConfigure() burst parameter at 100 MHz

Chris R. posted on 02 Aug 2012 05:07 AM PST
Top Contributor
135 Forum Posts

Hmm...good question. Maybe the burst is also aborted on packet end....but I´m not sure. As I use 75MHz PCLK only, it works with burst = 0.






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.