Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Default Levels CTL0-5

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



Default Levels CTL0-5
Moderator:
RSKV

Post Reply
Follow this topic



Default Levels CTL0-5

wdolson posted on 18 Jan 2011 10:06 PM PST
Senior Member
17 Forum Posts

It looks like this forum doesn't have a lot of activity.  Hopefully someone can answer a simple question.

I'm a bit confused about the default levels of the CTL output lines used by GPIF.  Looking at the data sheet, it appears they default to 1 and this is controlled with the GPIFIDLECTL register.  However, the only code example I could find that referenced this register had comments that looked more like it was talking about FLOWEG0CTL or FLOWEG1CTL.

If I wanted the CTL lines all == 0 when not in use, would I write 0x00 to GPIFIDLECTL at initialization?

Thanks,

Bill




Re: Default Levels CTL0-5

Shub posted on 18 Jan 2011 01:06 AM PST
Cypress Employee
27 Forum Posts

Bill,

The forum is growing day by day and you can expect a lot more activity in coming few days.

Regarding the CTL lines.

If you are using all CTL(6 total) lines in your state machine then you can set them to be 0 using the GPIF designer graphic interface.

If you are not used to it let me know I can explain more about this.

 

If you are not using all the CTL lines you can leave them disconnected.If you can explain more about the application I could help more.

 

-Shubham



Re: Default Levels CTL0-5

wdolson posted on 18 Jan 2011 01:14 AM PST
Senior Member
17 Forum Posts

I think I figured it out.  I need to write 0 to GPIFCTLCFG and then write 0 to GPIFIDLECTL.

Bill



Re: Default Levels CTL0-5

wdolson posted on 18 Jan 2011 01:34 AM PST
Senior Member
17 Forum Posts

It looks like we wrote just about the same time. 

The initial firmware design doesn't use GPIF, but the hardware we are designing has all the necessary lines wired in for future use.  For the hardware and firmware to work correctly I just need the CTL lines set to 0 for now.

Bill



Re: Default Levels CTL0-5

Shub posted on 18 Jan 2011 02:21 AM PST
Cypress Employee
27 Forum Posts

Bill,

 

Yes you can do that as well, I thought you were using the GPIF, thats why I suggested to use designer.

-Shubham






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.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20