Help on PSoC 5 Custom PCB

A catchall for PSoC5 discussions not captured by the other forums.

Moderator: ericb

Help on PSoC 5 Custom PCB

Postby Justinedtric » Mon Sep 09, 2013 1:42 am

Hi, I'm new to PCB design and the PSoC 5 and wanted to learn how to create my own PCB using Eagle. I'm still learning how to read datasheets properly but I'm lost on how to create a USB connection to interface with the PSoC. I've already created the PSoC library part but don't know what components I need to model a USB interface. One of my goals would be to program the PSoC through the USB to control a servo with a PWM signal. I'm am very new to all of this so if there is any more information I need to provide, please let me know. I will appreciate any help

Thanks
Justinedtric
Newbie
Newbie
 
Posts: 4
Joined: Mon Sep 09, 2013 12:44 am

Re: Help on PSoC 5 Custom PCB

Postby danadak » Mon Sep 09, 2013 8:59 am

This should help on the layout considerations -

http://www.cypress.com/?rID=39677

On USB -

http://www.cypress.com/?id=4562&source=header
http://www.cypress.com/?rID=40103

If you go here, the -050 kit page, you can download an ISO file for the kit which includes schematics, gerbers, etc.
showing how USB is implemented. One USP port is driven by DUT, the other is for debug/programming.

Regards, Dana.
Field Application Engineer
KB1RHB Mostly listen :)
Semi Retired
User avatar
danadak
The Big Cheese
The Big Cheese
 
Posts: 2008
Joined: Thu Dec 27, 2007 8:42 am
Location: New Hampshire

Re: Help on PSoC 5 Custom PCB

Postby Justinedtric » Mon Sep 09, 2013 10:27 am

Would those links guide me as to how to design my own PCB using the PSoC 5 microcontroller similar to how FreeSoc (http://freesoc.net/) and EzPSoC3 (http://dangerousprototypes.com/docs/EzPSoC3) were designed? My first design would be to just have a USB interface though
Justinedtric
Newbie
Newbie
 
Posts: 4
Joined: Mon Sep 09, 2013 12:44 am

Re: Help on PSoC 5 Custom PCB

Postby EricS » Mon Sep 09, 2013 2:09 pm

Hi,

For your pcb development, give a look to DipTrace it's an alternative to eagle which is way more user friendly.

Good luck
EricS
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 20
Joined: Tue May 10, 2011 7:25 am

Re: Help on PSoC 5 Custom PCB

Postby Justinedtric » Mon Sep 09, 2013 3:22 pm

Thank you for the suggestion EricS. However, it's not Eagle that's making it hard, it's my lack of knowledge in PCB design. How do I go about routing the traces or figuring out what components I need and what ports I connect to to create a USB interface?
Justinedtric
Newbie
Newbie
 
Posts: 4
Joined: Mon Sep 09, 2013 12:44 am

Re: Help on PSoC 5 Custom PCB

Postby bobmarlowe » Mon Sep 09, 2013 11:21 pm

There are schematics for every Cypress development kit which you may download from Cypress's website an study them. They include a bill of material (BOM) which you will need for determining the packages (SMD, DIL...). So concentrate on a small part of a given schematic and get started. It is like cooking: after a year you are not afraid to cut your fingers, you are able to handle your tools. Do not start with a 5-course meal, begin with something easy: build some sensors and/or actuators or an USB-board to connect to your development kit (you surely have got one, if not I suggest you strongly to get one). When you are a bit more experienced you will be able to design a PSoC board with your required peripherals.

Happy routing
Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany

Re: Help on PSoC 5 Custom PCB

Postby Justinedtric » Tue Sep 10, 2013 9:02 am

Thanks for the advice Bob. Yes I do have the PSoC 5 development kit. But I had the idea of creating something like it for myself without all the extra peripherals that are currently on it. I just wanted a the PSoC microcontroller with the power routed, a usb interface, and about three other sensors on the PCB. So I thought as version 1.0, I could create a PCB with the PSoC 5 microcontroller, the USB interface and maybe an LED to see if I got everything routed correctly. Am I heading in the right direction?

Also, one other question. Are the PSoC 3 and PSoC 5 microcontrollers the same? For example, can I follow the same traces for USB connections on the PSoC 3 and just replace the PSoC 3 microcontroller with a PSoC 5 microcontroller? I was going to look at the way the EzPSoC3 routes its USB interface and follow the same idea but with a PSoC 5 using its datasheet.
Justinedtric
Newbie
Newbie
 
Posts: 4
Joined: Mon Sep 09, 2013 12:44 am

Re: Help on PSoC 5 Custom PCB

Postby bobmarlowe » Tue Sep 10, 2013 11:21 am

I never checked if the PSoC3 and PSoC5 are pin-to-pin replacable, but I have may doubts.
Stick to PSoC5, it is modern and contains SAR-ADCs.

Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany

Re: Help on PSoC 5 Custom PCB

Postby danadak » Tue Sep 10, 2013 11:55 am

Pinouts look pretty close on this package -

PSOC 3 vs PSOC 5 pinout.jpg


Regards, Dana.
Field Application Engineer
KB1RHB Mostly listen :)
Semi Retired
User avatar
danadak
The Big Cheese
The Big Cheese
 
Posts: 2008
Joined: Thu Dec 27, 2007 8:42 am
Location: New Hampshire

Re: Help on PSoC 5 Custom PCB

Postby moxbox » Sun Nov 10, 2013 8:27 am

Hi Justin,

If you want to save some time & effort, you can use the Eagle libraries I developed for PSoC,
which are available on Github at https://github.com/PatternAgents/PCB_Libraries

Also, there is another example (in Eagle) for the USB interface for a PSoC1 available here :
https://github.com/PatternAgents/TinySoc
you can just cut-n-paste what you need from there.

regards,
Tom Moxon
http://www.patternagents.com
If we knew what we were doing, it wouldn't be called research, would it?
-- Albert Einstein
moxbox
Cheese Cube
Cheese Cube
 
Posts: 41
Joined: Thu Oct 15, 2009 9:59 am
Website: http://www.moxon.com
Location: Portland, OR

Re: Help on PSoC 5 Custom PCB

Postby bobmarlowe » Sun Nov 10, 2013 10:15 am

@Tom
Tried to download, didn't work and I do not like to install additional software for security reasons. No other way to get that PSoC library?

Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany


Return to “%s” PSoC5 General

Who is online

Users browsing this forum: No registered users and 1 guest

cron