Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > I can't get USBUART to work.

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



I can't get USBUART to work.
Moderator:
RKRM

Post Reply
Follow this topic



I can't get USBUART to work.

k2ox posted on 20 Apr 2012 4:11 PM PST
Member
4 Forum Posts

This is my first try with PSoC.  I tried to get my dev kit, cy8ckit-030 to look like a serial com port on my PC.  Did my own coding coding. When I connect to the PC, Windows says 'USB Device Not Recognized'.  I futzed around for a few hours and it's still not working.  Tried to load  USBUART.inf, but it doesn't seem to do anything.  I then discovered  an example project in Creator 2.0, USB_UART.  Unfortunately, it has the same problem.  What's wrong???  Do I need a *.sys file??

TIA,

John




Re: I can't get USBUART to work.

k2ox posted on 20 Apr 2012 06:11 PM PST
Member
4 Forum Posts

Got it working.  Code was set to 3V, hardware jumpers to 5V



Re: I can't get USBUART to work.

Gautam Das posted on 21 Apr 2012 10:27 AM PST
Cypress Employee
742 Forum Posts

That's a very common mistake many users do.



Re: I can't get USBUART to work.

U2 posted on 26 Apr 2012 04:03 AM PST
Cypress Employee
589 Forum Posts

 It is always a good practice to make your code dependent on the voltage setting in the design wide resource tab. It will always work and this error can be eliminated.



Re: I can't get USBUART to work.

hli posted on 26 Apr 2012 11:48 AM PST
Top Contributor
675 Forum Posts

Can you explain how to do this? The examples from Cypress use hard-coded voltage settings, so they cannot be used as reference for that :(

 

Thanks!



Re: I can't get USBUART to work.

U2 posted on 27 Apr 2012 03:17 AM PST
Cypress Employee
589 Forum Posts

When you call the USBFS_Start() API, the second parameter determines the operating voltage of the USB component. To make the system dependent on the design wide resource configuration this parameter can be set to "USBFS_DWR_VDDD_OPERATION".

Hence the API would look like, USBFS_Start(0, USBFS_DWR_VDDD_OPERATION); 

And you need to configure the design wide resource anyway for proper calculations if you have any analog components depenedent on VDDA in your design.

 

 

 






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