65XX SBC general help and color display help needed
Re: 65XX SBC general help and color display help needed
One option to make it smaller is to move to SOIC packages. A lot of work, though, to redesign entire board.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Arlet wrote:
One option to make it smaller is to move to SOIC packages. A lot of work, though, to redesign entire board.
The video card and audio card I have planned use VLSI chips that are surface mount, and I've actually considered having those boards assembled as well as fabbed, just to avoid having to solder them myself.
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 65XX SBC general help and color display help needed
several points about SOICs and SOJs, some plus and some minus:
SMT ICs with leads on .050" centers are not really difficult to solder (although as you say, you can't socket them); but SMT can be harder to troubleshoot. A plus for SMT ICs is that since the pins and their pads only occupy the component-side copper layer (rather than all layers like thru-hole does), routing in other layers can be easier, without all those holes in the way. It does mean you will need more vias, and vias take board space too; but if you're assembling by hand, vias can be put in the pads, unlike normal automated assembly where applying the solderpaste by silkscreen would make a mess on the other side as the solderpaste squishes through the hole. Without paying extra for super fine trace & space, you can only get one trace through between adjacent pads of SOIC or SOJ on the component side-copper layer (compared to three or four in thru-hole). On finer-pitch SMT ICs, you can't get any through. Now that's a pain!
SMT ICs with leads on .050" centers are not really difficult to solder (although as you say, you can't socket them); but SMT can be harder to troubleshoot. A plus for SMT ICs is that since the pins and their pads only occupy the component-side copper layer (rather than all layers like thru-hole does), routing in other layers can be easier, without all those holes in the way. It does mean you will need more vias, and vias take board space too; but if you're assembling by hand, vias can be put in the pads, unlike normal automated assembly where applying the solderpaste by silkscreen would make a mess on the other side as the solderpaste squishes through the hole. Without paying extra for super fine trace & space, you can only get one trace through between adjacent pads of SOIC or SOJ on the component side-copper layer (compared to three or four in thru-hole). On finer-pitch SMT ICs, you can't get any through. Now that's a pain!
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
GARTHWILSON wrote:
several points about SOICs and SOJs, some plus and some minus:
SMT ICs with leads on .050" centers are not really difficult to solder (although as you say, you can't socket them); but SMT can be harder to troubleshoot. A plus for SMT ICs is that since the pins and their pads only occupy the component-side copper layer (rather than all layers like thru-hole does), routing in other layers can be easier, without all those holes in the way. It does mean you will need more vias, and vias take board space too; but if you're assembling by hand, vias can be put in the pads, unlike normal automated assembly where applying the solderpaste by silkscreen would make a mess on the other side as the solderpaste squishes through the hole. Without paying extra for super fine trace & space, you can only get one trace through between adjacent pads of SOIC or SOJ on the component side-copper layer (compared to three or four in thru-hole). On finer-pitch SMT ICs, you can't get any through. Now that's a pain!
SMT ICs with leads on .050" centers are not really difficult to solder (although as you say, you can't socket them); but SMT can be harder to troubleshoot. A plus for SMT ICs is that since the pins and their pads only occupy the component-side copper layer (rather than all layers like thru-hole does), routing in other layers can be easier, without all those holes in the way. It does mean you will need more vias, and vias take board space too; but if you're assembling by hand, vias can be put in the pads, unlike normal automated assembly where applying the solderpaste by silkscreen would make a mess on the other side as the solderpaste squishes through the hole. Without paying extra for super fine trace & space, you can only get one trace through between adjacent pads of SOIC or SOJ on the component side-copper layer (compared to three or four in thru-hole). On finer-pitch SMT ICs, you can't get any through. Now that's a pain!
Re: 65XX SBC general help and color display help needed
@Chromatix, you're at least slightly off target in saying 74F devices are no longer being manufactured. Digikey still stocks (and lists as "active") a fair selection of 74F devices. That said, the list may be shrinking as time goes by. I fully agree with your other points, although the disappointing power and fanout restrictions may be an acceptable tradeoff in some situations. 74AHC really is the first choice, as you say.
Happy to help.
Maybe your next goal should be reducing the x axis. Look for stuff that protrudes, and see if it can be moved vertically or squished inward.
Chromatix wrote:
About 74F series logic: it's pretty fast, yes, but it's *very* power hungry, on the order of 35mW per simple logic chip. It has typical TTL input levels, input loads (this is *not* a high-impedance input, due to the bipolar transistors involved) and fanout restrictions. It's also no longer being manufactured.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
backspace119 wrote:
Thanks again for this, I just made the move and it saved me about 20mm on the y axis. [...] I'm going to keep looking around [...]
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
Re: 65XX SBC general help and color display help needed
Granted, I only looked at one device, a hex inverter, taking it as characteristic of the whole series. Back in the day, I'm sure it would have been popular among the folks who needed high performance and didn't care much about power, such as minicomputer vendors, but it is *long* obsolete these days.
(For context, note that individual disk drives for a minicomputer often required hundreds of watts.)
(For context, note that individual disk drives for a minicomputer often required hundreds of watts.)
Re: 65XX SBC general help and color display help needed
backspace119 wrote:
The problem is, OSHPark 4 layer boards are horrendously expensive ($10 per square inch, which at 45ish square inches right now, brings it to $450. You do get 3 boards with the order, but still).
They are MUCH cheaper than OSHPark.
Cat; the other white meat.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Dr Jefyll wrote:
@Chromatix, you're at least slightly off target in saying 74F devices are no longer being manufactured. Digikey still stocks (and lists as "active") a fair selection of 74F devices. That said, the list may be shrinking as time goes by. I fully agree with your other points, although the disappointing power and fanout restrictions may be an acceptable tradeoff in some situations. 74AHC really is the first choice, as you say.
Happy to help.
Maybe your next goal should be reducing the x axis. Look for stuff that protrudes, and see if it can be moved vertically or squished inward.
Chromatix wrote:
About 74F series logic: it's pretty fast, yes, but it's *very* power hungry, on the order of 35mW per simple logic chip. It has typical TTL input levels, input loads (this is *not* a high-impedance input, due to the bipolar transistors involved) and fanout restrictions. It's also no longer being manufactured.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
backspace119 wrote:
Thanks again for this, I just made the move and it saved me about 20mm on the y axis. [...] I'm going to keep looking around [...]
cbmeeks wrote:
backspace119 wrote:
The problem is, OSHPark 4 layer boards are horrendously expensive ($10 per square inch, which at 45ish square inches right now, brings it to $450. You do get 3 boards with the order, but still).
They are MUCH cheaper than OSHPark.
I have another question for everyone, while I was looking at clocks I got to thinking about a variable clock system, that could be changed by the computer itself. If I did this, I could tune the clock frequency with pretty decent accuracy, and squeeze every drop of power I can get out of the thing. This would also remove the need for having wait states, when I'm working with slow devices I can just slow down the clock to talk to them.
In particular, I was just looking at the 74LS628. It looks like an older device though, and I'm not sure if it's still relevant (also, it seems to only go to 30Mhz, which if I'm still running it through a flip flop, maxes it at 15Mhz, not bad, but I'd prefer to be able to try up to 18-20Mhz since some people have reported getting those speeds here).
I looked at programmable ones, but they all seem to be either tiny, too fast, only programmable once, or a combination of all 3. VCOs (like the 74LS628) seem to be a better option, but I've not looked at the other variable clock types yet.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
cbmeeks wrote:
backspace119 wrote:
The problem is, OSHPark 4 layer boards are horrendously expensive ($10 per square inch, which at 45ish square inches right now, brings it to $450. You do get 3 boards with the order, but still).
They are MUCH cheaper than OSHPark.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Here's the datasheet for the product mentioned in my last post: http://www.ti.com/lit/ds/symlink/sn74ls628.pdf
Re: 65XX SBC general help and color display help needed
I suspect those particular devices were never made in CMOS versions. Broadly similar devices can be obtained under different part numbers, however.
My advice would be to avoid the complication of a continuously-variable clock source, and instead consider switching cleanly between certain chosen discrete clock sources. These can themselves, for flexibility, be integer divisions of a fast master clock; use a presettable counter and a JK flipflop wired to toggle every time the counter reaches zero (and reloads). I think there is a circuit for glitch-free clock source switching somewhere, or just stuff a new value into the preset register.
Usually, slow devices are accessed in a minority of cycles, so it makes performance sense to implement wait states to access them; all the other cycles are then still fast. Power saving, meanwhile, can be achieved through "race to sleep", assuming your static power consumption is low - that is, execute WAI and make your software interrupt driven.
Crystal oscillators take a while to start up and stabilise, and might themselves dominate your power consumption in some cases. In that case, having a slow oscillator that might be more power efficient, and a fast one which you can switch off entirely, might be a viable strategy. You may find that the 32768 Hz oscillator for an RTC can be used as your "slow clock" for undemanding applications, and those are typically optimised for low power consumption. Otherwise, a 1MHz clock might be a good companion for an 8MHz or 12MHz "fast clock".
My advice would be to avoid the complication of a continuously-variable clock source, and instead consider switching cleanly between certain chosen discrete clock sources. These can themselves, for flexibility, be integer divisions of a fast master clock; use a presettable counter and a JK flipflop wired to toggle every time the counter reaches zero (and reloads). I think there is a circuit for glitch-free clock source switching somewhere, or just stuff a new value into the preset register.
Usually, slow devices are accessed in a minority of cycles, so it makes performance sense to implement wait states to access them; all the other cycles are then still fast. Power saving, meanwhile, can be achieved through "race to sleep", assuming your static power consumption is low - that is, execute WAI and make your software interrupt driven.
Crystal oscillators take a while to start up and stabilise, and might themselves dominate your power consumption in some cases. In that case, having a slow oscillator that might be more power efficient, and a fast one which you can switch off entirely, might be a viable strategy. You may find that the 32768 Hz oscillator for an RTC can be used as your "slow clock" for undemanding applications, and those are typically optimised for low power consumption. Otherwise, a 1MHz clock might be a good companion for an 8MHz or 12MHz "fast clock".
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Chromatix wrote:
My advice would be to avoid the complication of a continuously-variable clock source, and instead consider switching cleanly between certain chosen discrete clock sources. These can themselves, for flexibility, be integer divisions of a fast master clock; use a presettable counter and a JK flipflop wired to toggle every time the counter reaches zero (and reloads). I think there is a circuit for glitch-free clock source switching somewhere, or just stuff a new value into the preset register.
Chromatix wrote:
Usually, slow devices are accessed in a minority of cycles, so it makes performance sense to implement wait states to access them; all the other cycles are then still fast. Power saving, meanwhile, can be achieved through "race to sleep", assuming your static power consumption is low - that is, execute WAI and make your software interrupt driven.
Chromatix wrote:
Crystal oscillators take a while to start up and stabilise, and might themselves dominate your power consumption in some cases. In that case, having a slow oscillator that might be more power efficient, and a fast one which you can switch off entirely, might be a viable strategy. You may find that the 32768 Hz oscillator for an RTC can be used as your "slow clock" for undemanding applications, and those are typically optimised for low power consumption. Otherwise, a 1MHz clock might be a good companion for an 8MHz or 12MHz "fast clock".
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 65XX SBC general help and color display help needed
backspace119 wrote:
Ya, that's actually another thing, I can only fit two traces through the DIP pins if I'm lucky (on one side of the board that is). I tink it's because my settings are 6mil/6mil, and I think the pads that I've selected for the chips are kind of fat. I assume with SMT style I'd still be able to fit one, so nbd, but I'm not sure if I'd put vias on the pads, since if I had a lot of SMT stuff I might go ahead and build a solder paste dispenser, which works kind of like the big machines do, and it might make a mess.
With .006" trace & space and .045x.055" pads, you can fit four in: About switching clock frequencies on the fly: 20+ years ago I did a cycle-stretch thing for slow ROM and tested it, and posted about it at viewtopic.php?p=11796#p11796 . Don't use the 4000-series logic I show there. I used that only because I wanted slow-enough logic that if there were any glitches or runt pulses, my slow oscilloscope could catch them. The circuit uses a flip-flop and a quad NOR, which you would want to select from a faster family.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
GARTHWILSON wrote:
With .007" trace & space, you can get three traces between pads of a DIP. Use .030" holes and .050" pads.
GARTHWILSON wrote:
With .006" trace & space and .045x.055" pads, you can fit four in:
GARTHWILSON wrote:
About switching clock frequencies on the fly: 20+ years ago I did a cycle-stretch thing for slow ROM and tested it, and posted about it at viewtopic.php?p=11796#p11796 . Don't use the 4000-series logic I show there. I used that only because I wanted slow-enough logic that if there were any glitches or runt pulses, my slow oscilloscope could catch them. The circuit uses a flip-flop and a quad NOR, which you would want to select from a faster family.
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 65XX SBC general help and color display help needed
backspace119 wrote:
Since I'm rewiring, I may try and make the pads smaller and do this, my only reservation is soldering with such small pads
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?