Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > using USB port of CY8CKIT-014

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



using USB port of CY8CKIT-014
Moderator:
ANCY

Post Reply
Follow this topic



using USB port of CY8CKIT-014

jil posted on 26 Jul 2010 9:36 AM PST
Member
2 Forum Posts

I had a FirstTouch starter kit, CY8CKIT-014.  I like to use the USB port to send ADC data back to PC.

According the schematics there are two pairs of SWD signals, one wired to USB D+/D- pins, and the other to regular SWD pins.  What is the default setting of this board?  Is there a way allowing me to use SWD for programing and free the USB pins for my application?




Re: using USB port of CY8CKIT-014

posted on 28 Jul 2010 02:54 PM PST
Top Contributor
99 Forum Posts

The PSoC 5 FirstTouch Starter Kit (CY8CKIT-014) doesn't bond out the D+ and D- pins from the PSoC 5 device to the USB connector.

 

You can't use the USB feature of PSoC 5 with the FirstTouch Starter Kit.  If you need to do development with USB, I recommend you use the PSoC Development Kit (CY8CKIT-001).


-Bobby



Re: using USB port of CY8CKIT-014

jil posted on 29 Jul 2010 01:23 PM PST
Member
2 Forum Posts

I have two questions about using USB port of this board:

1.  Can the board still be programmable when I cut the connections of D+ and D- to the programmer chip U3, CY7C68013A?

2. Which SWD signal pair used by this board?  The schematic shows two pairs SWD signal both wired to U3.  Is there any way I can specify not to use USBIO SWD pair?

Thanks very much.

 

 



Re: using USB port of CY8CKIT-014

Bob Goatse posted on 17 Nov 2010 08:05 AM PST
Member
3 Forum Posts

Hello. Would it by any means be possible to get some clarification to this issue?

As it stands, the D+ and D- pins (P15_6 DP and P15_7 DM) of the PSoC are connected to the PB0/FD0 and PB1/FD1 pins of the USB programmer chip (CY7C68013A) and pulled high with 100kOhm resistors R22 and R23. When programming (or running) the PSoC, absolutely no data seems to go through these pins. Furthermore, the programming stream is clearly passed through pins PD0/FD8 and PD1/FD9 to the SWDIO and SWDCK (P1_0 and P1_1) pins of the PSoC.

So, reiterating jil's question: is it safe to assume that the connection between the D+/- pins of the PSoC and the programmer chip serves no purpose, and can be cut to obtain USB functionality?

Soldering wires to R22 and R23 should be reasonably easy, and removing the resistors (if needed) even easier. I might be wrong here but if (and as it seems to be) the programmer chip never drives the PB0/FD0 and PB1/FD1 pins, there should not even be a need to cut the connections from these pins.

 

BTW, I _was_ using CY8CKIT-001 but moved to CY8CKIT-014 after discovering the shocking design flaw (which lead to two burned boards) on the voltage regulators you are using on CY8CKIT-001.

TIA for a quick answer.



Re: using USB port of CY8CKIT-014

Bob Goatse posted on 26 Nov 2010 06:03 AM PST
Member
3 Forum Posts

Well, never mind. I removed the resistors, soldered two wires to the resistors' tabs, and connected these to an USB cable. Works like a charm. I didn't even cut the connections to the programmer chip (to pins PB0/FD0 and PB1/FD1).

So, you _can_ use the USB feature of PSoC 5 with the FirstTouch Starter Kit.



Re: using USB port of CY8CKIT-014

RatOmeter posted on 29 Dec 2010 09:08 AM PST
Member
5 Forum Posts

Thanks for the insight, Bob.

 

At first I was quite dismayed at the inability to use USB with -014, but this'll get me where I want to be.



Re: using USB port of CY8CKIT-014

fruoff posted on 30 Jan 2011 01:14 PM PST
Member
2 Forum Posts

Works really good, thanks!



Re: using USB port of CY8CKIT-014

Gautam Das posted on 01 Feb 2011 04:38 AM PST
Cypress Employee
742 Forum Posts

Bob,

Thank you for sharing this with all of us.

 

 



Re: using USB port of CY8CKIT-014

Danielek posted on 22 Feb 2011 12:29 PM PST
Member
3 Forum Posts

above my solution,

I didn't cut the connections to the programmer chip and I didn't remove the resistors (R22,R23), just connect the D+ and D- with a 22 Ohm Resistor to the Resistorpads on the kit.  (see attach picture)



Re: using USB port of CY8CKIT-014

bclark6ft4 posted on 24 Nov 2011 05:57 AM PST
Member
3 Forum Posts

This is great note! Good work and thanks for sharing.

I've followed your lead and implemented this hack and still can not get the part to be recognized as a valid USB device. My woes are described here:

http://www.cypress.com/?app=forum&id=2233&rID=56359

 

What steps did you take after the hardware hack to get an extra USB connector on the board?






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