Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Can CTL lines of GPIF II used as simple I/Os?

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



Can CTL lines of GPIF II used as simple I/Os?
Moderator:
RSKV

Post Reply
Follow this topic



Can CTL lines of GPIF II used as simple I/Os?

Rick426 posted on 30 May 2012 11:38 PM PST
Member
9 Forum Posts

Hi,

I have two questions.

(1) I am designing a data acquisition board using CYUSB3014 chip. I want to use 32bit GPIF II bus for data communication. But not all CTL lines are used. So for the unused CTL lines, can they be seperated as simple I/Os (programmed to generate other independent control signals).

(2) From the newly released GPIF II Designer, it says that when 32 bit data bus is not supported if SPI  is selected. Does it mean that when I am using 32bit data comminucation, I can not use the GPIO [53-56] which associated with SPI pins? Or I can still used those pins as I/O and program them by firmware?

 

Thank you.

 

 




Re: Can CTL lines of GPIF II used as simple I/Os?

dbir posted on 30 May 2012 07:53 AM PST
Cypress Employee
26 Forum Posts

Please refer Page#33, Table#16 of FX3 datasheet for IO configuration. Yes, These pins can be used as general purpose IO. You need to use "CyU3PDeviceGpioOverride" API for it. refer cyfxspi.c file of attached project. It also use 32 bit GPIF and IO are control lines are configured as IOs and these IOs are used for software(bit-banged) SPI.






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.