PSoC3 Custom Board

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

Moderator: ericb

PSoC3 Custom Board

Postby kmmankad » Thu Oct 06, 2011 8:55 am

Hey Guys,
I'm a student who is currently developing a PSoC3 custom board,which will run a USB bootloader.So,no need of a miniprog.Its a simple design,aimed at increasing accessibility of the PSoC3 amongst the hobbyist and student masses.

I'm trying to do what the Arduino did to the atmega and attiny,i.e simplified the hardware.(Yes,the software and code became great too,but the guys at Cypress already have that done(especially with Creator 2.0),in my opinion.)

Its going to be a completely open source design,i.e all PCB files,schematics etc will be available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

I'm logging my progress on this forum post over at the Cypress website, http://www.cypress.com/?app=forum&id=2232&rID=53645,and on my blog.

I'm currently waiting on a response for a case,which I opened with Cypress to find out if my ground plane placement is "ok" or not.

Heres my current PCB view,as a screenshot(I'm using Eagle 5.8 for this design.)

Image

I've attached a pdf copy of my schematics as well,but do note that both the schematic and the pcb are under development.This is my first mixed signal PCB design,so it is a little shabby.

All tips,guidance,suggestions and criticism are welcome.
Attachments
PSoC_Custom_Board_Rev5_Oct06.pdf
PSoC3 Custom Board Schematic - as on Oct 6.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
(20.95 KiB) Downloaded 563 times
Last edited by kmmankad on Thu Oct 06, 2011 9:08 am, edited 1 time in total.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby kmmankad » Thu Oct 06, 2011 9:02 am

Yeah,the silkscreen needs work.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby danadak » Thu Oct 06, 2011 12:43 pm

Without seeing schematic just a few thoughts -

1) Pads for 32 Khz xtal and caps (2) needed.

2) A gnd pin strip/buss on one edge of board for connecting scope probe ground and other
grounds to.

3) Split analog and digital grounds, then join at common point. Pads in analog ground
path for SMT inductor, or SMT short, and jumper pins across pads, and two sets of pads
each side of SMT L for ceramic and tanatlum/electrolytic. Would not hurt to do same
on digital side.

4) Thru holes for a piezo buzzer of some sort.

5) Jumpers to allow battery operation or regulated supply.

6) A few SMT LED pads with corresponding current limiting R pads and jumpers to connect to pins.

7) Pads in main power line downstream regulator to take SMT R for use in making current drain measurements.

8) Eight pin port header to take LCD display. Oriented so display when plugged in not over board,
and oriented so display can be read along with solder mask pin labels on board, eg. nothing
winds up upside down.

9) Pads for a few P-B switches, say 4 minimum, with pads for pullups and jumpers to pins.

10) Pads for a 3 pin temp sensor with jumpers to select analog pin to drive. Same for accelerometer
and pressure and light.

11) A PCB proto area, PCB area is cheap.

Note SMT could be thru hole solutions/layout, make it easier to proto.

Look at schematics of other boards for additional ideas.

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: PSoC3 Custom Board

Postby kmmankad » Sat Oct 08, 2011 7:48 am

Thanks for that detailed reply.We'll,my objective with this design,is to deliver a low cost and basic PSoC3 environment.Additional peripherals that you mentioned,can be connected on a breadboard.I wouldn't want to constrain usage in any way.

I'll add
-Additional Ground Test points for connecting scope probes
-32Khz crystal pads
-and try to use that P1,which isnt currently done,since I thought I wouldnt be able to get the tracks out.

Just btw,the dimensions currently are around 2.8"x1.8" or so.Pretty compact.

About the split analog and digital grounds,I've used a solder bridge to short them,and they run separate uptil that short.Same for the VDDd and VDDa lines.(attached an image)
Also,the power header on the top part of the board has a "Vin" connection,where any *regulated* supply maybe connected.I'll see if I can add provision for it to be an unregulated input.

What do I do for the top layer's copper fill?
Attachments
PSoC_Custom_Board_Rev5_withGNDPlane.png
PCB View showing VSSd,VSSa short and VDDa,VDDd short,via solder bridges.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby radner » Wed Oct 12, 2011 10:16 am

Great Idea

If you would send me the .brd file I would like to help you with the development and make
some pcb's and develop some additional hardware (power stages, HB-LED Drivers, Charakter and Graphic LCD's and so on)
radner
Cheese Cube
Cheese Cube
 
Posts: 53
Joined: Wed Oct 12, 2011 8:57 am
Location: Austria

Re: PSoC3 Custom Board

Postby kmmankad » Wed Oct 12, 2011 10:42 am

Sure :) .Only thing is,its not fully ready,but youre most welcome to contribute.Just share your progress here :)
Drop me your email address in a private message.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby danadak » Wed Oct 12, 2011 11:08 am

Keep in mind you can add pads for additional stuff, simply do not populate when
you sell the board.

Last comment, pads for a 5K or 10K pot for LCD contrast adjust. For most character
modules that’s a pot connected to Vdd and Vss, wiper to LCD. 2 - 3 turn miniature pot.

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: PSoC3 Custom Board

Postby Mark » Tue Oct 18, 2011 6:40 am

Not sure if anyone else caught this or not, but you should not tie Vcca and Vdda together unless you are running the entire chip at 1.8 volts. The Vcca pin is used for an external capacitor for the internal 1.8 volt analog supply. Since you are operating at either 3.3 or 5.0, the only thing that should be connected to the Vcca pin is a 1uF capacitor, terminated to Vssa. The same goes for Vccd, it needs an external bypass capacitor for the internal digital supply. The two Vccd pins should be connected together with the shortest possible trace and a 1uF cap. As far as I can tell, it looks to be connected properly. One other thing not to forget, is make sure Vdda is always greater than or equal to Vddd.

Mark
User avatar
Mark
Cheese Cube
Cheese Cube
 
Posts: 50
Joined: Fri Jan 09, 2004 10:39 pm
Location: Mukilteo, WA, USA

Re: PSoC3 Custom Board

Postby radner » Tue Oct 18, 2011 8:27 am

Am I right of thinking about 1µF low ESR ceramic's for that?
I'm going to fix that as soon as possible
thank you for the hints.

Best regards
Phillip
radner
Cheese Cube
Cheese Cube
 
Posts: 53
Joined: Wed Oct 12, 2011 8:57 am
Location: Austria

Re: PSoC3 Custom Board

Postby Mark » Tue Oct 18, 2011 8:51 am

Low ESR caps are almost always the best to use. It is best to use the +/-10% tolerance types as well. They aren't that much more expensive these days anyway.

Mark
User avatar
Mark
Cheese Cube
Cheese Cube
 
Posts: 50
Joined: Fri Jan 09, 2004 10:39 pm
Location: Mukilteo, WA, USA

Re: PSoC3 Custom Board

Postby kmmankad » Tue Oct 25, 2011 6:26 pm

Hey all,
sorry for the sudden pause in progress,had exams.I've attached the schematics and board file(along with the custom library,which has the PSoC chip and the sparkfun library as well as sparkfun DRU file),both with the ERC and DRC giving no errors.

Comments,suggestions,criticism and edits welcome :)
Attachments
PSoC3_CustomBoard_Rev6_ERC_DRC.zip
PSoC3 Custom Board Schematic Rev6 - as on Oct 26.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
(674.15 KiB) Downloaded 1671 times
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby kmmankad » Tue Oct 25, 2011 9:17 pm

Heres a quick shot of the board,
Image

Changes:
-Added the top layer copper fill,connected to the GND net,
-Added test points for all the important voltage levels on the board,
-Fixed the silkscreen and added the OSHW logo :)
-Ran the ERC and DRC,and fixed all errors that came up.I used the sparkfun DRU for that.
-Minor placement shifts and such.

I should probably add extra vias between the 2 layers.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby radner » Wed Oct 26, 2011 2:33 am

I corected a few little things due to easier fabrication.

I think the board is ready for a prototype, if you want I am able to fabricate one for you, for not more than half the part cost (i'm paying the other half).
Unfortunately I'm not able to get a processor in the next few weeks to try out the board but I could send you the PCB with connected vias.

By the way my project partner wrote a little display driver for the 4D-Systems LC-Displays, I'm going to post it if the processor board works properly

Best Regards
Phillip
Attachments
REV6.rar
(491.23 KiB) Downloaded 468 times
radner
Cheese Cube
Cheese Cube
 
Posts: 53
Joined: Wed Oct 12, 2011 8:57 am
Location: Austria

Re: PSoC3 Custom Board

Postby kmmankad » Wed Oct 26, 2011 5:32 am

Hey phillip,
thanks for the prompt response.
I've made a few further changes,and corrected a couple of DRC errors that came up.
Attachments
PSoC_Custom_Board_Rev6_ERC_DRC_7pmIST.zip
PSoC3 Custom Board Schematic Rev6 - as on Oct 26,7pm Indian Std. Time.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
(725.43 KiB) Downloaded 539 times
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby kmmankad » Wed Oct 26, 2011 5:54 am

Oh and,change the 'EzPSoC3' font size to 120,and make it vector.Also,the "PWR-LVL" text is overlapping on a via,so that needs to be moved too.These changes need to be done on the copy I just uploaded.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby kmmankad » Wed Oct 26, 2011 7:09 am

radner wrote:I corected a few little things due to easier fabrication.

I think the board is ready for a prototype, if you want I am able to fabricate one for you, for not more than half the part cost (i'm paying the other half).
Unfortunately I'm not able to get a processor in the next few weeks to try out the board but I could send you the PCB with connected vias.

By the way my project partner wrote a little display driver for the 4D-Systems LC-Displays, I'm going to post it if the processor board works properly

Best Regards
Phillip


Sure,we can try and have that(4D Systems LCD) as the first "shield" for this design.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby radner » Wed Oct 26, 2011 7:15 am

I'm trying to do that as soon as possible

First I would like to know if the "mainboard" works
radner
Cheese Cube
Cheese Cube
 
Posts: 53
Joined: Wed Oct 12, 2011 8:57 am
Location: Austria

Re: PSoC3 Custom Board

Postby kmmankad » Sun Oct 30, 2011 10:31 am

I've checked the board one final time,and run the DRCs (the SparkFun DRU as well as Seeed's Fusion one,incase any of you folks want to get it fabricated via them.).

I've tweaked the placement and tracks to get maximum possible copper fill.Also,tried to make the text and labeling better.

Attached are the schematic and board files,along with the necessary libraries and above mentioned DRUs.

Now that the hardware is ready(well at-least for fabrication),I'll start on the software part,i.e the USB Boot loader,and a through hole version of the same board,as well as an ultra compact one(speaking of compactness,current dimensions stand at 2.7"x1.9") too,just for fun :)

Image
Attachments
PSoC3_Custom_Board_PreFab.zip
PSoC3 Custom Board - Pre Fabrication Eagle files.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
(673.96 KiB) Downloaded 564 times
Last edited by kmmankad on Sun Nov 06, 2011 5:02 am, edited 1 time in total.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India

Re: PSoC3 Custom Board

Postby radner » Sun Oct 30, 2011 11:18 am

The next days I'm going to start the development of a high power LED shield and an OLED one (got a Philips Lumiblade here and will get a PPML one as soon as possible).

May I'll going to start with a stepper motor driver too.

Some more ideas for further shields:

- Wireless Link ( 433/868 MHz Band or Bluetooth)
- CapSense Board
- RS232 / RS485 Transceiver
- Amplifier Board (e.g. for a DDS-Generator project)
- Incremental Encoder
- Clock Generator ( MHz and kHz crystal Oszilators)
- RTC


does anyone have some more ideas?

everyone is allowed to help me with the development
radner
Cheese Cube
Cheese Cube
 
Posts: 53
Joined: Wed Oct 12, 2011 8:57 am
Location: Austria

Re: PSoC3 Custom Board

Postby kmmankad » Sun Oct 30, 2011 11:29 am

That sounds good :)
We can also have the SD Card,Ethernet(Wiznet or ENC28J60 based),Graphic LCD ones.I'll begin work on those soon.
kmmankad
Cheese Wheel
Cheese Wheel
 
Posts: 98
Joined: Sun Jun 06, 2010 5:23 pm
Website: http://kmmankad.blogspot.com
Location: India


Return to “%s” PSoC3 General

Who is online

Users browsing this forum: No registered users and 1 guest