Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > 3rd flag for slavefifo configuration

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



3rd flag for slavefifo configuration
Moderator:
RSKV

Post Reply
Follow this topic



3rd flag for slavefifo configuration

spider01 posted on 18 Jan 2012 3:00 AM PST
Senior Member
11 Forum Posts

AN65974 states that up to 4 flags/threads can be configured for slavefifo GPIF II.

How do I configure a 3rd flag besides FLAGA and FLAGB?

How can I assign a dedicated FX3 PIN for it?

My project is derived from the synchronous slave fifo example project of the 1.0 SDK.

 

 




Re: 3rd flag for slavefifo configuration

Bob Marlowe posted on 18 Jan 2012 03:23 AM PST
Top Contributor
1466 Forum Posts

Sorry, off-topic: Your username didn't let me sleep! What is behind that number???

Happy Gödeling

Bob



Re: 3rd flag for slavefifo configuration

Chris R. posted on 18 Jan 2012 06:37 AM PST
Top Contributor
135 Forum Posts

This is no problem. You have to change the GPIF registers in the header file:

PIB_GPIF_CTRL_BUS_DIRECTION

PIB_GPIF_CTRL_BUS_POLARITY

PIB_GPIF_CTRL_BUS_SELECT[0...15] for each control pin

Take a look into the gpif_regs.h for register content. I changed the control(6) in my slave fifo to output the full flag additional to the partial full flag. It works well.



Re: 3rd flag for slavefifo configuration

spider01 posted on 18 Jan 2012 09:14 AM PST
Senior Member
11 Forum Posts

Hi Chris,

thanx a lot !

It seems to work well. I used CTRL9.

Regards

Guenter

@Bob: Obviously my nickname was a generated one. No magic afaik ..

I fixed it now. I hope  you will have a better sleep now ;-)






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.