6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 10, 2024 9:22 pm

All times are UTC




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: W65C02S EagleCAD library
PostPosted: Tue Oct 06, 2015 7:39 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Hi all

I've decided to create my own Eagle CAD library for 65xx parts, with a determination that the foot print/pads/etc are correct as I can rely safely have a proper PCB made.
Naturally, I've started with the 65C02S DIP... and surprisingly (as the data sheet is otherwise very good), the package dimensions appear to be missing. Most IC datasheets seem to have this information. As I don't want to guess this info, I might see if I can get it from an older NMOS datasheet, but if anyone has the proper/official measurements please let me know.


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 06, 2015 7:49 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8539
Location: Southern California
All 40-pin DIPs use the same dimensions. I just have one 40-pin DIP in my CAD, one 32-pin, a 28-pin for .300" wide and one for .600" wide, one 20-pin, one 18-pin, one 16-pin, one 14-pin, one 8-pin, and one 6-pin (for optoisolators).

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 06, 2015 8:20 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8481
Location: Midwestern USA
banedon wrote:
Hi all

I've decided to create my own Eagle CAD library for 65xx parts, with a determination that the foot print/pads/etc are correct as I can rely safely have a proper PCB made.
Naturally, I've started with the 65C02S DIP... and surprisingly (as the data sheet is otherwise very good), the package dimensions appear to be missing. Most IC datasheets seem to have this information. As I don't want to guess this info, I might see if I can get it from an older NMOS datasheet, but if anyone has the proper/official measurements please let me know.

As Garth said, DIPs are standardized by JEDEC, with strict requirements for overhang at the package ends—that overhang will not exceed 50 mils per end, except in very specific cases (for example, the EDIP package used in the Maxim DS1511Y RTC). If you measure the frame of a standard 40 pin DIP socket you will have what you need. Or, you can peruse the attached PDF. The socket in which you are interested is a 600 mil wide, 40 pin.


Attachments:
File comment: JEDEC Standard DIP Sockets
dip_sockets_mill_max.pdf [131.97 KiB]
Downloaded 144 times

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 06, 2015 8:25 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Great, many thanks :).


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 07, 2015 7:48 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Do people prefer using a PLCC symbol for a PLCC package, or do they stick with a DIP symbol despite using a PLCC package? Maybe this sounds obvious, but looking at the Eagle libraries it seems they are almost all DIP symbols no matter the actual package.


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 07, 2015 11:37 pm 
Offline

Joined: Mon Aug 05, 2013 10:43 pm
Posts: 258
Location: Southampton, UK
IMO the schematic symbol should be a logical representation of the part and not reflect the physical makeup at all. Group the connections by function, and ignore the physical layout, etc, etc. Then the schematic can be used to express what the circuit will do not how it will be wired.

_________________
8 bit fun and games: https://www.aslak.net/


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 4:51 am 
Offline

Joined: Mon Mar 25, 2013 9:26 pm
Posts: 183
Location: Germany
I don't want to start a discussion about the better pcb tool, but you should take a closer look to KiCad. As long as you don't have a license for the full version you're limited in the board size in Eagle (80x100mm for the free version). As well as for DipTrace, a pcb-tool I also worked with. In this tool you are limited in the number of Pads and Vias (300 in the free version). I could not have finished my own small 6 IC 65C02 system (MOUSE) with either Eagle or DipTrace, because the PCB is a default EuroBoard (160x100mm) in size and has 245 Pads and 100 Vias.
In KiCad you're not limited at all, because it is an OpenSource tool running in Linux, Windows and MacOs.

I've created a 65XX Library for KiCad some time ago: https://github.com/mkeller0815/65xx_Library
You will find also some handy chip label that can be printed and glued on top of a chip for easier wiring on the breadboard.

There are some things to learn for KiCad, because the workflow is a little bit different compared to other tools, but once you've got the trick and learned the keyboard shortcuts, it is really easy to work with.

Mario.

_________________
How should I know what I think, until I hear what I've said.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 5:13 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8539
Location: Southern California
Aslak3 wrote:
IMO the schematic symbol should be a logical representation of the part and not reflect the physical makeup at all. Group the connections by function, and ignore the physical layout, etc, etc. Then the schematic can be used to express what the circuit will do not how it will be wired.

The pin numbers will be different from DIP to PLCC though, and the pin numbers should show on the schematic.

I use CAD only for the PCB layout though, not the schematics, because of how much I dislike certain things that are problems (IMO) in all schematic CADs.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 5:21 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
GARTHWILSON wrote:
The pin numbers will be different from DIP to PLCC though, and the pin numbers should show on the schematic.
Eagle allows you to make a schematic symbol, and link it to a number of packages. While drawing the schematic, you pick a part + package, and it can automatically show the correct pin numbers in the schematic.

I agree with Aslak3 that the schematic symbol should represent the logical function, rather than physical shape. Also, when two parts are often used together, I like to match the schematic symbols (if it makes sense) so they can be connected using straight wires. I hate schematics where connecting wires are drawn in a tangled mess.


Last edited by Arlet on Thu Oct 08, 2015 5:25 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 5:24 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8539
Location: Southern California
I'm not familiar with Eagle. What happens when the two packages don't have the same number of pins? (I did try an Eagle evaluation disc back when the internet hardly existed, and they said it absolutely, positively will not crash. Well, the demo crashed. :lol: )

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 5:28 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
In Eagle, every pin on the schematic must be matched to a physical pin on the package. But it is allowed for package pins to be unconnected, or for multiple package pins to be connected to the same schematic pin. In the case of unconnected package pins, it just omits them from the schematic. For multiple pins, it shows the first pin number, plus a '*N'.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 5:42 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8481
Location: Midwestern USA
Arlet wrote:
Also, when two parts are often used together, I like to match the schematic symbols (if it makes sense) so they can be connected using straight wires. I hate schematics where connecting wires are drawn in a tangled mess.

I generally don't run "wires" from chip to chip. I use netlist symbols, as on the attached example, which helps keep down the clutter.


Attachments:
File comment: Schematic Example Using Netlist Symbols
sbc_1meg_p6.gif
sbc_1meg_p6.gif [ 170.61 KiB | Viewed 2263 times ]

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 6:05 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
BigDumbDinosaur wrote:
I generally don't run "wires" from chip to chip. I use netlist symbols, as on the attached example, which helps keep down the clutter.


I do that too. I use wires for short and easy bits, and labels for the rest. I also don't usually run ground/vcc wires through the schematic, but rather use ground/vcc symbols (and strictly in their proper orientation: ground goes down, vcc goes up).

But, one of things I would do to your schematic is to modify the symbol for the MAX248 so that the pins for the charge pump caps would line up with the capacitors.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 6:10 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8481
Location: Midwestern USA
Arlet wrote:
But, one of things I would do to your schematic is to modify the symbol for the MAX248 so that the pins for the charge pump caps would line up with the capacitors.

I tried that but the MAX-248 symbol became quite large. You can see how much space it already takes up, and that is on ANSI B size paper.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 08, 2015 7:01 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
For my schematics, I only use A4 paper in portrait format, so it's easy to print and read. However, I do make an effort to make the symbols as small as possible (while keeping them legible), and not try to cram too much on a sheet. I may have a sheet with just a single SDRAM chip plus decoupling caps, for instance.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: