6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Apr 29, 2024 12:52 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: 74xx75 as clock divider
PostPosted: Sun Jul 03, 2022 1:17 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 341
I've seen several places where a 74xx75 is used as clock divider.

There is no need of set/reset signals, as it's a D-type latch.

I want to divide DOTCLOCK (~8Mhz) from the C64 Expansion Port, to feed a w65c265s' FCLK (fast clock) input with half that clock speed.

The circuit would be like this:
Attachment:
Clipboard01.jpg
Clipboard01.jpg [ 55.91 KiB | Viewed 529 times ]


Any experience or recommendation of a better solution?

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 03, 2022 11:22 pm 
Offline
User avatar

Joined: Sun Nov 07, 2021 4:11 pm
Posts: 101
Location: Toronto, Canada
Hello! I guess it depends on what you want to optimize for… from the datasheet, it looks like the '75 would work fine in a C64, but (a) you would end up with a bunch of unused gates, and (b) it's quite expensive (Digikey lists it at $3.50 CAD).

If these things don't matter, I wouldn't overthink it, especially for a single prototype… just wire one up and see if it does what you need. You can always go back and change things around, especially if you find that another configuration gives you some advantage that you discover at a later point.

There are a bunch of alternatives, again depending on what you want to do. You could use a counter (like, say, an 'HCT161), which is cheaper (~$1) and will give you other clock divisions (/4, /8, /16), for example.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 03, 2022 11:36 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 341
Thank you very much. So a counter then, will do it. I'll take a look on that.

I just want to halve the clock coming from the C64 and have ~4Mhz, because ~8mhz is too much by now, and ~1mhz coming from PHI2 is maybe not enough, at least for FCLK (fast clock).


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 04, 2022 12:38 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3349
Location: Ontario, Canada
A counter (such as a '161) is good choice. The '75 is not, as it's a transparent latch (ie, follow-hold operation, like a '373; not an edge-triggered, like a '374).

-- 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 Jul 04, 2022 12:46 am 
Offline
User avatar

Joined: Sun Nov 07, 2021 4:11 pm
Posts: 101
Location: Toronto, Canada
Dr Jefyll wrote:
A counter (such as a '161) is good choice. The '75 is not, as it's a transparent latch (ie, follow-hold operation, like a '373; not an edge-triggered, like a '374).


My deepest apologies, I was thinking about the '74. Sorry for the snafu (and thanks, Jeff).


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 04, 2022 1:07 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 341
Thank you very much both of you.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 04, 2022 8:09 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1000
Location: Canada
I maybe too late, but I would suggest a 74LS93. It's a small package (14-pin) and will give you /2, /4, /8. /16. The other 3 divisions you can use for whatever.

Just be careful as the Vcc and Gnd pins are in odd places.

_________________
Bill


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 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: