Hello all,
I'm fairly inexperienced at working with hardware, and am trying to make a 6502 system to experiment with. I started by trying to put together a free-running 6502 by hard-wiring the data bus to $EA, with the idea that I could test it by checking the phi2 and address pins with my multimeter on frequency-counter mode, but couldn't seem to get a stable output (and rarely any output). Then I got an oscilloscope, and decided to start with just an oscillator based around some of the parts that I had used for the free-run system, on a separate breadboard... And I managed to get what appears to be a stable circuit, but it doesn't seem to do what I want.
My scope is a used Tektronics 2465 300MHz four-channel model, my one probe is an Elenco 1x / 10x 65MHz device, I'm using half of a 74HC132 for inverters and have wired the remaining inputs on the device to the positive voltage supply (because I read somewhere that letting CMOS device inputs float can lead to problems). The crystal that I'm using has been kicking around since I bought it something like ten-fifteen years ago (give or take), and is marked "ILSI", "3.579545", and "97 03". The package that the crystal came in is marked "CY3.57", "3.579545 MHz/HC18 Case", "CRYSTALS", and is also marked "jim-pak". I have been unsuccessful in finding a data sheet for the crystal at this time.
What I'm seeing on the scope is a period of somewhere between 70 and 80 nanoseconds, a slow rise time curve, and a bit of overshoot on the fall time. It took a bit to realize that the half-volt peak-to-peak that I was seeing was, in fact, five volts thanks to having my probe in the 10x position. My multimeter in freqency counter mode is showing a frequency of 14.2 MHz. From what I can tell, for a 3.579545 MHz frequency, my output period should be about 279 nanoseconds.
I'm willing to chalk the poor wave shape up to the high frequency, the use of a solderless breadboard, a possibly poorly compensated probe, the scope trigger and vertical being set to DC coupling (I have no idea if this is an appropriate setting for what I'm doing), the scope bandwidth being so much faster than the probe bandwidth, and not knowing what I'm doing. The oscillation frequency, however, is clearly a design or implementation fault, almost certainly a design fault.
At this point, I'm taking a two-pronged approach to trying to get this circuit to behave the way that I want. One is to read and try to understand Fairchild Application Note 340 (HCMOS Crystal Oscillators). The other is to ask for assistance here. Is my overall approach correct? Where am I going wrong? How should I know where I'm going wrong? What are the next things that I should try?
A diagram of my current circuit should be attached. It is loosely based on part of the whole-computer schematic (and clock source instructions) from
http://wilsonminesco.com/6502primer/potpourri.html.
Thank you for your time and attention,
-- Alastair Bridgewater