6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 12:47 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Sep 02, 2018 5:20 pm 
Offline

Joined: Tue Apr 12, 2016 6:30 pm
Posts: 13
Hi,

In my retro project, I’m going to tackle clock generation, ala Apple II, with a 14.3MHz crystal. I’ll need to divide it down to various frequencies for video, disk drive, CPU clock, etc.

I’m working from existing schematics. But it’s all based on the 14-ish MHz clock frequency. To make this frequency, the schematics ask for a couple of 2N4258 PNP transistors. As these are obsolete and hard to come by, Id like to use modern equivalents. Any suggestions? I know the NTE106 are a similar replacement. But since I primarily have 3906s on hand, could I use those? Would I need to change the capacitor and resistor values to compensate for the change? Or would any changes to the supporting hardware values be necessary?

I don’t have my schematics handy, but can post them later.

Thank you
Chris


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2018 7:08 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8545
Location: Southern California
It looks like the PN3640 is the same thing, and is still available (but not for long).

_________________
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: Sun Sep 02, 2018 8:22 pm 
Offline

Joined: Tue Apr 12, 2016 6:30 pm
Posts: 13
Thanks. My test board currently has the crystal across a couple of 1k resistors and 74LS04 with 68uf capacitor, similar to the NMOS oscillator in the 6502 Primer. Works, but how accurate will it hold? In my research, the transistor/ capacitor arrangement is said to be more accurate.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 03, 2018 2:56 am 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
To a large extent, the frequency of an oscillator is determined by the resonant filter made of passive components, not the active driver which merely injects energy into it. As such, there are many ways to build an oscillator that will produce the same frequency from the same crystal.

The transistor-based versions probably originate from radio practice, where very high frequency accuracy is desirable for band-sharing reasons. In computer practice, such high accuracy is not normally required; an error of say 0.1% won't cause your TV to lose lock on the display signal, which is the main reason for using such an "odd" frequency as a reference. In clock terms, 0.1% corresponds to about a minute and a quarter per day, so you would want something much better than 0.1% to drive your RTC's reference clock (usually at 32768 Hz).


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 03, 2018 3:18 am 
Offline

Joined: Tue Apr 12, 2016 6:30 pm
Posts: 13
I knew the subject of clocks and oscillator design had to have been discussed here previously. One such thread included this link: http://www.ti.com/lit/an/snoa676/snoa676.pdf
It answered a few questions with regard to pros and cons of various clock designs. A good thread was this:
viewtopic.php?p=17401#p17401

I’ll try substituting the PN3640 in my base frequency design.


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

All times are UTC


Who is online

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