Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How to set the GPIF clock frequency (by default running @ 200Mhz)?

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



How to set the GPIF clock frequency (by default running @ 200Mhz)?
Moderator:
RSKV

Post Reply
Follow this topic



How to set the GPIF clock frequency (by default running @ 200Mhz)?

dtromp_nl posted on 30 Mar 2012 9:05 AM PST
Senior Member
11 Forum Posts

Using the GPIF designer, I configured the GPIF interface as master with internal clock.
It appears that the statemachine runs @ 200Mhz, and that the clock provided by the FX3 to the outside world is also 200Mhz.

I tried using CyU3PDeviceInit but that doesn't change the GPIF frequency

I tried changing the CY_U3P_GPIF_CONF_DDR_MODE field in the GPIF Configuration Register by manually changing the generated cyfxgpif2config.h file, but that doesn't help either..

In both cases the external clock remains 200.8Mhz ...
 

Q: Has anyone ideas how to change this to 100Mhz?

(since that is the maximum frequency the interface supports...)




Re: How to set the GPIF clock frequency (by default running @ 200Mhz)?

sodafarl posted on 30 Mar 2012 11:12 AM PST
Top Contributor
128 Forum Posts

I haven't used this but maybe another function to try is CyU3PPibInit(). See slavefifo example for some details about it.

Sodafarl



Re: How to set the GPIF clock frequency (by default running @ 200Mhz)?

dtromp_nl posted on 02 Apr 2012 01:46 AM PST
Senior Member
11 Forum Posts

That seems to work, thanks!

 

 

 






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.