Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > USB Code for PSoC 3

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



USB Code for PSoC 3
Moderator:
RKRM

Post Reply
Follow this topic



USB Code for PSoC 3

pnielsen3 posted on 26 Apr 2011 7:49 PM PST
Top Contributor
107 Forum Posts

Has anyone had success setting up the USB for PSoC 3? I am trying to pass voltage signals to the PC.




Re: USB Code for PSoC 3

Gautam Das posted on 27 Apr 2011 10:38 PM PST
Cypress Employee
742 Forum Posts

Hi,

 

Are you referring to setting up PSoC as a USB HID Device?

There are Application Notes available along with projects associated with them.

These can be found at the following Links:

http://www.cypress.com/index.cfm?rID=39327

http://www.cypress.com/index.cfm?rID=39404

http://www.cypress.com/index.cfm?rID=40103

http://www.cypress.com/index.cfm?rID=39553

 



Re: USB Code for PSoC 3

U2 posted on 27 Apr 2011 05:29 AM PST
Cypress Employee
589 Forum Posts

Can you give more information about what you are trying to do. Please describe you application, so that a possble solution using PSoC can be arrived at.



Re: USB Code for PSoC 3

pnielsen3 posted on 27 Apr 2011 08:04 PM PST
Top Contributor
107 Forum Posts

I am excited about the PSoC 3 -30 kit. I need to read low voltages for instrumentation, controll I/O ports to perform sequences, etc. I would like to read the data back from the PSoC 3 or 5 and import the data into Labview. I will be checking for conditions for ON/OFF states. I thought of using the RS232. And then use a RS232 to USB converter. RS232 is still around but I would like to have my communications in the USB format.



Re: USB Code for PSoC 3

U2 posted on 28 Apr 2011 10:15 PM PST
Cypress Employee
589 Forum Posts

The CY8CKIT-030 provides you with very good accuracy on the analog front. It has a very low noise floor. You can read low voltages as required in your application using PSoC3 and control some I/Os as required. You can provide USB connectivity to your application. The best way to do it is to implement a vendor defined class. You can define and issue vendor defined commands (your own commands) to control the ststus of some I/Os or to read the status of the same. The Application Note, AN56377 - PSoC® 3 / PSoC 5 USB Vendor Commands 

 

describes the same and that should get you going with USB. The application Note AN14557, available here http://www.cypress.com/?rID=12974 will help you with C# programming. AN61744 availabe here, http://www.cypress.com/?rID=43538, will help you with C++ programming to generate your GUI for the PC.



Re: USB Code for PSoC 3

jram posted on 17 Aug 2011 03:30 PM PST
Top Contributor
31 Forum Posts

Did you ever get USB data acquisition working on the PSoC 3?



Re: USB Code for PSoC 3

U2 posted on 18 Aug 2011 10:27 PM PST
Cypress Employee
589 Forum Posts

There are multiple example projects that we provide to perform data acquisition with PSoC3. All the projects are thoroughly tested for their working. You can take these projects and modify them according to your needs. Let us what you are trying to achieve, we can certainly help you out.

 






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