6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 10, 2024 6:15 am

All times are UTC




Post new topic Reply to topic  [ 430 posts ]  Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29  Next
Author Message
PostPosted: Tue Feb 12, 2019 8:43 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
GARTHWILSON wrote:
backspace119 wrote:
GARTHWILSON wrote:
That's where the MC145406 triple line driver and receiver is nice if you already have ±12V for other things on the board, because you won't need any of those capacitors, since it doesn't need the charge pump.

I may really need to look into getting -12v on the board. I saw your "non-standard power supplies" in the circuit potpourri, and I'm resistant to it only because iirc it uses a lot of discrete components (diodes I believe) that would take up quite a bit of space.

Yeah, it would kind of defeat the purpose. Without re-reading 24 pages of this topic, I was thinking you were using a power supply that already included a negative voltage.

Quote:
Something I asked a while ago and just remembered it never got answered, I have the CTS and RTS connected for the USB-TTL header, through resistors like the Rx and Tx lines, my assumption was this would give me hardware handshaking on it, but I seem to remember that...Daryl's? page didn't use those lines for the usb-ttl header.

Can I use these lines? Will they provide hardware handshaking?

I have one of the FTDI USB-to-RS232 adapters, and I have it set up to do the handshaking on CTS and RTS. The FTDI unit I have is very clumsy softwarewise compared to using a real COM port on my dedicated DOS PC though. I know BDD gave a link somewhere to a product that gives a set of RS-232 ports to modern PCs that came without them, and has the driver software. It might have been startech.com or sealevel.com . It probably needs a desktop PC that you can put cards into, rather than a laptop.


I doubt it would go in my PC, as it has no PCI busses, and I'd be damned if they put that on PCI-E

I'll probably just grab a 6 cable USB to TTL adapter, that has RTS and CTS. hell, I could probably build one if I needed to.

EDIT: forgot to ask the question I had, or maybe I already asked it in my last post, will running the wait states off a variable 1699 work? Also, I'm hoping that the 1699 is well behaved when switching frequencies, I assume so, but that might be a gotcha


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 12, 2019 8:51 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
I've never used RTS/CTS in any of my projects. If it's used as a command line interface, then the prompt works as natural flow control. If it's a packet based interface, I make sure I can receive a full packet in a single burst.


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 12, 2019 8:52 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
Arlet wrote:
I've never used RTS/CTS in any of my projects. If it's used as a command line interface, then the prompt works as natural flow control. If it's a packet based interface, I make sure I can receive a full packet in a single burst.

I've had some woes with software handshaking before, especially over FTDI, so I'd rather have it and not need it than the other way around


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 1:41 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
So here's the newest layout, minus the wait state stuff, which I haven't added in yet, I think it came out a lot cleaner this time, and only 447 vias, vs last time after cleaning it was still 600 vias

Attachment:
newest_layout.PNG
newest_layout.PNG [ 613.21 KiB | Viewed 932 times ]


and the 3d view to go with it:

Attachment:
newest_3d_view.PNG
newest_3d_view.PNG [ 442.77 KiB | Viewed 932 times ]


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 6:54 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
I see you have some slotted holes. Have you checked if the PCB manufacturer can make those, and if there's an extra cost ?

In most cases, you can substitute them with big round holes instead.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 9:07 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
Arlet wrote:
I see you have some slotted holes. Have you checked if the PCB manufacturer can make those, and if there's an extra cost ?

In most cases, you can substitute them with big round holes instead.


The pads are slotted, the holes are round.

It makes it a little bit easier to not burn the mask, while not taking a lot of extra space.

EDIT: OH, I see what you mean, I'm not sure, I don't think the manufacturer will charge extra for it, but we'll see when I get it quoted (it's already dirt cheap)


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 9:42 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
backspace119 wrote:
EDIT: OH, I see what you mean, I'm not sure, I don't think the manufacturer will charge extra for it, but we'll see when I get it quoted (it's already dirt cheap)

Also make sure that the manufacturer gets the correct data. If you're sending gerber files, you need to include the slots in the milling or outline layer. Also, they need to understand that you want them plated (I assume you do). Some manufacturers automatically assume you want plated slots if you put them in a pad, but they may not all do that. It can be helpful to add some text in the appropriate layer with an explanation what you want, e.g. "3x plated slot, length * tool diameter".

There are free gerber viewers that you can download to inspect the gerber files before you send them away.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 10:26 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
Arlet wrote:
backspace119 wrote:
EDIT: OH, I see what you mean, I'm not sure, I don't think the manufacturer will charge extra for it, but we'll see when I get it quoted (it's already dirt cheap)

Also make sure that the manufacturer gets the correct data. If you're sending gerber files, you need to include the slots in the milling or outline layer. Also, they need to understand that you want them plated (I assume you do). Some manufacturers automatically assume you want plated slots if you put them in a pad, but they may not all do that. It can be helpful to add some text in the appropriate layer with an explanation what you want, e.g. "3x plated slot, length * tool diameter".

There are free gerber viewers that you can download to inspect the gerber files before you send them away.


FlatCAM should do the trick for me, I use it to create GCode from gerber files for my CNC.

Something I just mentioned in another thread that should probably go here.

I saw ABT and FCT devices mentioned in the big thread on 816 timing. I looked them up and they both look pretty fast, the ABT seems to be a bit faster and cheaper. Is there a catch with these devices? If not, why aren't they recommended in places like the primer? (I should mention, that thread seems to suggest they only come in SMD packages, which is not the case, here's a link to a DIP 573


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 11:11 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8538
Location: Southern California
backspace119 wrote:
I saw ABT and FCT devices mentioned in the big thread on 816 timing. I looked them up and they both look pretty fast, the ABT seems to be a bit faster and cheaper. Is there a catch with these devices? If not, why aren't they recommended in places like the primer?

The primer is intended to be just that—a primer—so it's kept rather simple.  The faster logic families are more likely to spell trouble for first-time builders.  I would like to add more info about the various 74__xx logic families (probably in a separate article); but IIRC, ABT cannot pull up high enough to guarantee a valid CMOS logic '1'.

_________________
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: Wed Feb 13, 2019 11:37 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
GARTHWILSON wrote:
backspace119 wrote:
I saw ABT and FCT devices mentioned in the big thread on 816 timing. I looked them up and they both look pretty fast, the ABT seems to be a bit faster and cheaper. Is there a catch with these devices? If not, why aren't they recommended in places like the primer?

The primer is intended to be just that—a primer—so it's kept rather simple. The faster logic families are more likely to spell trouble for first-time builders. I would like to add more info about the various 74__xx logic families (probably in a separate article); but IIRC, ABT cannot pull up high enough to guarantee a valid CMOS logic '1'.


Ah, that's probably the catch with it, I assume that's probably why the "T" is tacked onto the name, for TTL levels like the HCT. I'll check out the data sheet and report back what it's logic 1 output is.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 11:42 am 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
It seems the ABT may be targetted at reducing ground bounce btw, as it's mentioned a lot in the docs.

The output 1 is 3v @5v with current loading of -3ma. 2.5v @ 4.5v with -3 ma, and 2v @ 4.5v with -18ma or above of current loading.

EDIT: datasheetof the 573 I'm looking at


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 12:30 pm 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
On an unrelated note, I've added in the wait state generator circuit, it's expanded the board a bit because I didn't want to put it in some of the areas that are routed that may have kept the board size the same. The good thing about this is I can use the extra board space for mounting holes, which I need to start considering. (it's only an extra 5-10mm, so only minimally more cost).

Here's the layout:

Attachment:
layout_with_wsg.PNG
layout_with_wsg.PNG [ 552.38 KiB | Viewed 883 times ]


and the 3D view:

Attachment:
3dview_with_wsg.PNG
3dview_with_wsg.PNG [ 470.25 KiB | Viewed 883 times ]


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 1:00 pm 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
A question I have about my layout:

You'll notice that the resistor+capacitor in line for RDY are oriented differently. The resistor stands off the board while the capacitor lays on it. I laid the capacitor down so the current flow would be relatively parallel, and I'm considering doing the same for the resistor, is this necessary? Or should I just make them both vertical?


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 13, 2019 9:07 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8538
Location: Southern California
backspace119 wrote:
You'll notice that the resistor+capacitor in line for RDY are oriented differently. The resistor stands off the board while the capacitor lays on it. I laid the capacitor down so the current flow would be relatively parallel, and I'm considering doing the same for the resistor, is this necessary? Or should I just make them both vertical?

The resistor's resistance will dwarf the small added inductance you get from standing it up; so don't worry about it.

Quote:
Ah, that's probably the catch with it, I assume that's probably why the "T" is tacked onto the name, for TTL levels like the HCT. I'll check out the data sheet and report back what it's logic 1 output is.

The "T" normally refers to the input thresholds, not the output.  So for example 2.5V at the input of a 74HCTxx part will be in solid '1' territory, whereas for 74HCxx, it would be undefined.  WDC's processors' data sheets say they need 70% of Vcc to get a valid '1', which at 5V is 3.5V.  Some here have challenged that assertion, saying their observation is that it can handle lower-voltage 1's ok.  I have not tested it myself, and even if I found it to be true in the unit(s) I test, I might not want to trust that all their units will always perform that way.

_________________
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: Wed Feb 13, 2019 9:30 pm 
Offline

Joined: Fri Jan 25, 2019 5:40 am
Posts: 346
Location: Knoxville, TN
GARTHWILSON wrote:
backspace119 wrote:
You'll notice that the resistor+capacitor in line for RDY are oriented differently. The resistor stands off the board while the capacitor lays on it. I laid the capacitor down so the current flow would be relatively parallel, and I'm considering doing the same for the resistor, is this necessary? Or should I just make them both vertical?

The resistor's resistance will dwarf the small added inductance you get from standing it up; so don't worry about it.

Quote:
Ah, that's probably the catch with it, I assume that's probably why the "T" is tacked onto the name, for TTL levels like the HCT. I'll check out the data sheet and report back what it's logic 1 output is.

The "T" normally refers to the input thresholds, not the output. So for example 2.5V at the input of a 74HCTxx part will be in solid '1' territory, whereas for 74HCxx, it would be undefined. WDC's processors' data sheets say they need 70% of Vcc to get a valid '1', which at 5V is 3.5V. Some here have challenged that assertion, saying their observation is that it can handle lower-voltage 1's ok. I have not tested it myself, and even if I found it to be true in the unit(s) I test, I might not want to trust that all their units will always perform that way.


Ok, so then the ABT series may not work...I may get a set of AHC and ABT and try it out, to see at least if the one I get can handle it.

I've been looking into cplds today and I'm amazed by how simple it is to design and burn one. This must lend to their popularity here. I'm hoping to fine one that's pin compatible with the one used for the 65SPI so I can design my own replacement as a pet project, and to keep the chip available for people in the future. I'm not sure if a pin compatible cpld exists though, because none of the ones I've looked at so far are.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 430 posts ]  Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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: