Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > GPIO's clock is not synch with input clock!

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



GPIO's clock is not synch with input clock!
Moderator:
RSKV

Post Reply
Follow this topic



GPIO's clock is not synch with input clock!

Nazila posted on 18 Oct 2011 5:32 PM PST
Top Contributor
55 Forum Posts

Hi,

I used the DVK to see if gpio and the oscillator clocks are synch or not. Based on my test, they are not, Is there any explanation on this? What about if I use CLKIN instead of crystal oscillator?

Thanks,

Nazila




Re: GPIO's clock is not synch with input clock!

aasi posted on 20 Oct 2011 02:52 AM PST
Cypress Employee
1073 Forum Posts

Please let me know why would you expect the GPIO to be synchronous with the clock source especially given that the internal core runs at a higher frequency than the clock source? Please let me know the reason behind this synchronous requirement.

Regards,

Anand



Re: GPIO's clock is not synch with input clock!

aasi posted on 20 Oct 2011 03:02 AM PST
Cypress Employee
1073 Forum Posts

*different



Re: GPIO's clock is not synch with input clock!

Nazila posted on 20 Oct 2011 02:20 PM PST
Top Contributor
55 Forum Posts

The FX3.0 is suppose to transfer data (8-bit) to an FPGA using GPIO. In order to be able to transfer data we provide them two synch clocks. So the clocking on the GPIO have to be synch with this clock so that FPGA can receive the data.



Re: GPIO's clock is not synch with input clock!

aasi posted on 21 Oct 2011 02:03 AM PST
Cypress Employee
1073 Forum Posts

If you want to use a bus architecture then you've to go with GPIF II. If you use the GPIO then you'll be setting one at time and there will be a time difference even between each of the GPIOs. Have you taken this into account.

The 19.2, 26 MHz etc is the clock source for the internal clock mechanism. It is hard to comment in terms of time synchronization for a GPIO. You can find the timing diagram of the GPIF II interface in the datasheet and app notes. Please let me know why you are trying to implement a 8-bit bus using GPIO rather than the GPIF II interface.

Regards,

Anand.



Re: GPIO's clock is not synch with input clock!

Nazila posted on 21 Oct 2011 11:34 AM PST
Top Contributor
55 Forum Posts

I use both GPIF and GPIOs for communicating between USB FX3 and FPGA.

The GPIOs are in two groups:

1. some are used to configure the FPGA

2. the rest are used for sending and receiving commands and small byte of data for example to set-up the paths of data for the large which are transferring throuhg GPIF

I will use the GPIF as slave synch FIFO. This is the method I used with FX2LP IC and worked just fine. Is there anyway I can reue my desing for the FX3.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.