Clock sources
Clock sources
Could you post your clock sources schematics, i only know how to rig a 4060 as a crystal oscillator, so i would like something that can actually run faster than 4MHz...
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
A couple of old but good ap. notes from Fairchild:
HCMOS crystal oscillators: http://www.fairchildsemi.com/an/AN/AN-340.pdf
CMOS oscillators: http://www.fairchildsemi.com/an/AN/AN-118.pdf
It's often most productive however to just use one of the off-the-shelf oscillator cans that take the space of an 8- or 14-pin DIP. This will make sure the oscillator will always work correctly for the whole voltage and temperature range, and it's easy to change.

HCMOS crystal oscillators: http://www.fairchildsemi.com/an/AN/AN-340.pdf
CMOS oscillators: http://www.fairchildsemi.com/an/AN/AN-118.pdf
It's often most productive however to just use one of the off-the-shelf oscillator cans that take the space of an 8- or 14-pin DIP. This will make sure the oscillator will always work correctly for the whole voltage and temperature range, and it's easy to change.

-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
I made this last year. It works well, except the 74S124 uses some current.
Might be a little more money, but it's better then buying multiple crystals/cans.
Might be a little more money, but it's better then buying multiple crystals/cans.
GARTHWILSON wrote:
It's often most productive however to just use one of the off-the-shelf oscillator cans that take the space of an 8- or 14-pin DIP. This will make sure the oscillator will always work correctly for the whole voltage and temperature range, and it's easy to change.
So i am left whit crystals self made oscillators...
And thanks for the schematics...
One more question, will it work if i use a 74LS01 or other 74LS as an inverter?
TTL Chips (74LS, etc) need a different circuit to CMOS gates.
The one I use is as follows
This has worked reliabally with crystals from 1MHz to 18MHz using a 74LS04 or 74S04 device.
The one I use is as follows
Code: Select all
470 ohm 470 ohm
---- ----
--| |-- --| |--
| ---- | | ---- |
| | | |
| |\ | 10n | |\ | |\
|--| >O--------||-----| >O----------| >O---
| |/ |/ | |/
| |
-------------|X|-----------
Shift to the left,
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Clock sources
In trying to figure out what some obviously erroneous oscillator data in a PIC microcontroller data sheet should have been (yes, there are other companies besides WDC that have errors in their data sheets), I came across this page that links some more ap. notes on crystal oscillator design near the top: http://www.microchip.com/forums/m49934.aspx
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?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Clock Sources
Here's the clock generator circuit I used in POC V1. It produce an output frequency that is one-half that of the can oscillator that drives it.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Clock sources
Phi1 and Phi2 shown on the schematic are not the same as the one generated by the 6502, since the 6502 splits the clock on his own.
In my new cpu board I use a 74HC393 counter to get multiple clocks(I have rotary switch for selecting clocks).
In my new cpu board I use a 74HC393 counter to get multiple clocks(I have rotary switch for selecting clocks).
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Clock sources
Dajgoro wrote:
Phi1 and Phi2 shown on the schematic are not the same as the one generated by the 6502, since the 6502 splits the clock on his own.
That's correct. However, this clock generator is on my W65C816S-powered POC. For other applications just ignore the phase you don't need. Also note that the two phase clock is not required with the W65C02S. That was an NMOS "feature." All timing on WDC microprocessors is based on the Ø2 clock only.
Quote:
In my new cpu board I use a 74HC393 counter to get multiple clocks (I have rotary switch for selecting clocks).
Tick-tock.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Clock sources
What about making a more advanced clock source with a custom clock divider, so it can divide by 2,3,4,5, etc... Maybe a fast oscillator with a ring counter could be used.
Also software clock settings would be nice.
Also software clock settings would be nice.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Clock sources
Dajgoro wrote:
What about making a more advanced clock source with a custom clock divider, so it can divide by 2,3,4,5, etc... Maybe a fast oscillator with a ring counter could be used.
Also software clock settings would be nice.
Also software clock settings would be nice.

If accuracy is not important at all and you just want to see how fast you can run it up before the computer starts having problems, you can make a relaxation oscillator whose frequency varies with a pot, like so:

That one goes to 73MHz. Below is an earlier one I did which is slower:

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?
Re:
PaulF wrote:
TTL Chips (74LS, etc) need a different circuit to CMOS gates.
The one I use is as follows
This has worked reliabally with crystals from 1MHz to 18MHz using a 74LS04 or 74S04 device.
The one I use is as follows
Code: Select all
470 ohm 470 ohm
---- ----
--| |-- --| |--
| ---- | | ---- |
| | | |
| |\ | 10n | |\ | |\
|--| >O--------||-----| >O----------| >O---
| |/ |/ | |/
| |
-------------|X|-----------