6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Jul 05, 2024 3:23 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Mon Aug 16, 2021 3:23 pm 
Offline

Joined: Tue Jan 05, 2021 12:33 am
Posts: 5
Hi,

I'm working still on a memory expansion and it works fine with LS TTL parts. In the interest of reducing current on these old beast motherboards, I was looking at switching to HC instead of LS for my gates and latch circuit. Then I see this:

http://www.interfacebus.com/voltage_threshold.html

I see a lot of discussions here about HCT as well, so I'm not sure if I should use HCT instead of HC? I want to use SMD so I won't have sockets to experiment with a bunch of different parts, but I guess I could use some SMD adapters on my DIP breadboard.

The guts look like this:

Existing motherboard parts (LS TTL) --> My expansion glue logic (family TBD) --> Expansion memory (Flash and SRAM).

It's just a slow 8-bitter, 7.3728MHz xtal.

TIA


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 16, 2021 3:32 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8242
Location: Midwestern USA
grantb5 wrote:
...I was looking at switching to HC instead of LS for my gates and latch circuit. Then I see this...

In this application, my recommendation is to use HCT logic. The outputs will swing from rail to rail, but the inputs will correctly respond to the outputs of TTL devices (74LS, 74F, etc.).

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 16, 2021 4:08 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3366
Location: Ontario, Canada
grantb5 wrote:
Existing motherboard parts (LS TTL) --> My expansion glue logic
Yes, you want one of the "T" variant families, such as HCT. AHCT is faster than HCT but you maybe don't need that extra speed. ACT family is another option but I wouldn't recommend it for what you're doing.

I think you'll find most HCT devices available in both surface-mount and through-hole packages.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 16, 2021 4:10 pm 
Offline

Joined: Tue Jan 05, 2021 12:33 am
Posts: 5
Thanks guys!


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 18, 2021 1:31 am 
Offline
User avatar

Joined: Sat Jun 08, 2013 4:02 pm
Posts: 46
I am skeptical.

Nearly 40 years ago, in my naiveté (ignorance), at one point in internally expanding VIC20 memory I bithely mixed TTL and HC with zero concern for differring thresholds. It worked flawlessly, even with the forward voltage drops of diode ANDing.

Was I just lucky?


Attachments:
blk12357.gif
blk12357.gif [ 7.04 KiB | Viewed 605 times ]

_________________
"I am endeavoring, ma'am, to create a mnemonic memory circuit... using stone knives and bearskins." -- Spock to Edith Keeler
Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 18, 2021 2:22 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3366
Location: Ontario, Canada
Based on the schematic excerpt you posted, it's hard to say anything definite. I don't see a clear case of TTL driving CMOS.

The main concern when mixing LS TTL and CMOS is the case where an LS output drives a CMOS input. The input of an HC device needs more than 50% of Vcc in order to perceive a logic high, and that's more than an LS output is specified to provide. But yes, you can get lucky if the spec is exceeded.

Those who don't wish to rely on luck use an HCT device to accept the output of an LS device. The HCT input has a lower threshold for a logic high, and can reliably receive the TTL signal.

Quote:
even with the forward voltage drops of diode ANDing
HC is actually better than HCT for the diode logic in your schematic. That's because in your schematic the diode drop tends to raise the voltage of a logic low. Achieving a good logic low is a different problem than what I described above (about achieving a good logic high).

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 18, 2021 3:00 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8464
Location: Southern California
Using 74LS (which I've done in emergencies, when I needed a part sooner than I could get the right one if I ordered) has almost always worked ok for driving CMOS; but I haven't had to do it for very high speeds. The VIC-20 running at 1MHz is not a model of speed. Here's my concern. 74LS has a very weak output current especially as it gets toward the final voltage, meaning that it will take longer to charge the bus capacitance, time it may not have when you go for higher speeds. Further, CMOS logic will be somewhat slower if the VIH is hardly past ½VDD. I would want to try it before depending on it for higher speeds.

_________________
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 Aug 18, 2021 5:47 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1003
Location: Canada
Keep in mind the spec for TTL LS logic outputs is given for a specific load. In the actual loading is much lower than what the spec is based on, the voltage swing of those TTL LS outputs may easily exceed the input requirements for CMOS HC logic. In which case the reliable operation is due more to the facts of your situation rather than chance.

The scientist in me always seems to get the better of the engineer in me.

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 19, 2021 1:17 pm 
Offline
User avatar

Joined: Sat Jun 08, 2013 4:02 pm
Posts: 46
This seems the most plausible explanation for my circuit's success: most of the TTL outputs driving it also connect to only one or two LS inputs on VIC's board. Thanks.


BillO wrote:
Keep in mind the spec for TTL LS logic outputs is given for a specific load. In the actual loading is much lower than what the spec is based on, the voltage swing of those TTL LS outputs may easily exceed the input requirements for CMOS HC logic. In which case the reliable operation is due more to the facts of your situation rather than chance.

The scientist in me always seems to get the better of the engineer in me.

_________________
"I am endeavoring, ma'am, to create a mnemonic memory circuit... using stone knives and bearskins." -- Spock to Edith Keeler


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 15 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: