Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > IO pin's status send to USB (need sample code...)

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



IO pin's status send to USB (need sample code...)
Moderator:
RSKV

Post Reply
Follow this topic



IO pin's status send to USB (need sample code...)

sekil posted on 21 Dec 2011 9:06 AM PST
Member
6 Forum Posts

Sorry for my english.

Controller - cy7c6801 - 56pins.

From the examples I do not understand how you can easily convey the state of input-output ports on the usb in my application. If not hard - give a simple example for learning (very desirable in the C language).
Thanks in advance!

 




Re: IO pin's status send to USB (need sample code...)

Gayathri posted on 21 Dec 2011 09:33 PM PST
Cypress Employee
428 Forum Posts

 Hi,

 

The part number that you had mentioned is incomplete. I believe you are using FX2LP (CY7C68013). If so, for using the various IO pins as GPIOs, you can refer section 11.9 in the EZ-USB Technical reference manual, which you can find at  " \Cypress\USB\doc\FX2LP " after installing FX2LP DVK (http://www.cypress.com/?rID=14321)

 

Regards,

Gayathri



Re: IO pin's status send to USB (need sample code...)

aasi posted on 21 Dec 2011 09:35 PM PST
Cypress Employee
1090 Forum Posts

You should find http://www.cypress.com/?rID=49154 useful.


Regards,


Anand



Re: IO pin's status send to USB (need sample code...)

sekil posted on 22 Dec 2011 12:29 PM PST
Member
6 Forum Posts

Thank you - good example..

Yes controller cy7c68013 - 56 Pins
With the transfer of data from the ports figured out.

I can not find an example of software implementation of SPI interface - specifically found only AN14558 document but there is no source projects, and the realization I did not like.

Help? :)

 



Re: IO pin's status send to USB (need sample code...)

sekil posted on 22 Dec 2011 03:00 PM PST
Member
6 Forum Posts

I wrote a pilot project based on third-party sources - - such as working fine:)

 

 



Re: IO pin's status send to USB (need sample code...)

aasi posted on 22 Dec 2011 05:47 PM PST
Cypress Employee
1090 Forum Posts

 http://www.cypress.com/?rID=49176 also should be a good reference.

Regards,

Anand



Re: IO pin's status send to USB (need sample code...)

sekil posted on 24 Dec 2011 10:58 PM PST
Member
6 Forum Posts

Thank, but my MCU with 56 pins not have UART interface - i  need other example.






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20