Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > No PCLK

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



No PCLK
Moderator:
RSKV

Post Reply
Follow this topic



No PCLK

dreitz posted on 15 Mar 2012 9:56 AM PST
Top Contributor
74 Forum Posts

We are using the GPIF II as a synchronous slave FIFO and the sample SlaveFifoSync software from Cypress .  We are not able to see PCLK coming from the chip.  Is PCLK free-running or only active during a data transfer? 




Re: No PCLK

dreitz posted on 15 Mar 2012 10:06 AM PST
Top Contributor
74 Forum Posts

Nevermind....seems I was misinformed about the direction of PCLK.  It's an input.



Re: No PCLK

dreitz posted on 15 Mar 2012 10:38 AM PST
Top Contributor
74 Forum Posts

How does one do this..."a clock signal can be generated by any GPIO pin by using Pulse or PWM mode of GPIOs"?  Any sample code available?



Re: No PCLK

dreitz posted on 15 Mar 2012 11:59 AM PST
Top Contributor
74 Forum Posts

Based on further research into the "complex GPIO", I will not be able to use GPIO23 and GPIO26 in PWM mode to generate a clock.  It also looks like I cannot use GPIO32 because of PMODE2.  Right?



Re: No PCLK

RobK posted on 19 Mar 2012 12:25 AM PST
Top Contributor
56 Forum Posts

Hi,

regarding PMOD-pin I found the following in the FX3's programmers manual:

"Pins [30-32] are used as PMODE [0-2] inputs during boot. After boot, these are available as
GPIOs."

 

Best Regards!



Re: No PCLK

lint posted on 19 Mar 2012 06:47 AM PST
Top Contributor
21 Forum Posts

" I was misinformed about the direction of PCLK.  It's an input." "it's an input" what do you mean? anybody tell me if I can select the PCLk direction without change any firmware parameter? 



Re: No PCLK

dreitz posted on 20 Mar 2012 10:14 AM PST
Top Contributor
74 Forum Posts

PCLK is always an input.

There is sample code in the latest SDK that deals with complex GPIO and supplying a clock from the PMW.  I don't think you can internally route it to PCLK.  Luckily, my PCLK is connected to an FPGA, we can supply the clock from there if we have to.






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.