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

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EvSt_281971
Level 2
Level 2
First like received First like given

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!

0 Likes
6 Replies
Anonymous
Not applicable

 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

0 Likes
Anonymous
Not applicable

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

   
   

Regards,

   
   

Anand

0 Likes
EvSt_281971
Level 2
Level 2
First like received First like given

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? 🙂

0 Likes
lock attach
Attachments are accessible only for community members.
EvSt_281971
Level 2
Level 2
First like received First like given

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

0 Likes
Anonymous
Not applicable

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

   

Regards,

   

Anand

0 Likes
EvSt_281971
Level 2
Level 2
First like received First like given

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

0 Likes