Micro UK101 Build
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
I notice two things: all the Vcc and Vss/Gnd connections are missing from the diagrams, except for signal tie-offs, and also the pins are labelled Vss or Gnd according to the part conventions, which has certainly tripped me up in the past (confusing Vcc and Vss)
Now, that shouldn't affect the oscillator. The only thing that could be wrong there is putting in the '04 the wrong way around. Which again, is an easy enough mistake.
Now, that shouldn't affect the oscillator. The only thing that could be wrong there is putting in the '04 the wrong way around. Which again, is an easy enough mistake.
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Here are pictures of the clock circuit on veroboard. If you see any mistakes, let me know.
UK101 Clock gen top
UK101 clock gen bottom
UK101 Clock gen top
6502.org wrote:
Image no longer available: https://lh6.googleusercontent.com/_ONCQpF0HAZM/Taxda23-wJI/AAAAAAAAABE/sG54qw5LIts/DSC00612.JPG
6502.org wrote:
Image no longer available: https://lh6.googleusercontent.com/_ONCQpF0HAZM/Taxdaw7yTCI/AAAAAAAAABI/nV0-5vCWffk/DSC00613.JPG
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Another question. When the 74LS04 inverter gate is not connected, should it output low, high or anything? As far as I can tell, this one is OK, but it seems to output low when there's no input. However, when high or low is applied to the inputs, all are inverting correctly.
And another one, what should the inverter inputs be when this circuit is connected? They should be high or low, right? So if I test this without the IC in place, I should get an initial signal on the input.
And another one, what should the inverter inputs be when this circuit is connected? They should be high or low, right? So if I test this without the IC in place, I should get an initial signal on the input.
barring shorts between adjacent tracks, I think you're fine. Which is somewhat baffling. Unless of course it turns out that the circuit is "obviously" wrong! leeeeee could confirm or deny that.
I did find a pdf [previously] which had a crystal and a pair of inverters (because after all a pair of inverters is an odd number if you're building an oscillator) and it placed a capacitor between the inverters:
[previously, dead image:
]
Edit: looking at this diagram, it's clear that depending on where you probe for the clock, you might be loading up the crystal, which might kill the oscillation. So try to probe after the buffer.
I did find a pdf [previously] which had a crystal and a pair of inverters (because after all a pair of inverters is an odd number if you're building an oscillator) and it placed a capacitor between the inverters:
[previously, dead image:
]
Edit: looking at this diagram, it's clear that depending on where you probe for the clock, you might be loading up the crystal, which might kill the oscillation. So try to probe after the buffer.
Last edited by BigEd on Thu Sep 15, 2016 6:44 am, edited 2 times in total.
For reference, here's the oscillator circuit from a scan of the original uk101 manual - it's rather like the micro-uk101 as you might expect:
[previously, dead image:
]
[previously, dead image:
6502.org wrote:
]
Last edited by BigEd on Thu Sep 15, 2016 6:44 am, edited 1 time in total.
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
You mean something is actually oscillating? That's got to be a success, at any frequency!
It is a bit on the high side though. Presumably the third harmonic, or something like that.
You could use the '93 as a divide-by-16 readily enough, but that still leaves you with 1.5MHz, presumably too fast for this computer to compute? Or did you have the headroom in place for 2MHz?
It is a bit on the high side though. Presumably the third harmonic, or something like that.
You could use the '93 as a divide-by-16 readily enough, but that still leaves you with 1.5MHz, presumably too fast for this computer to compute? Or did you have the headroom in place for 2MHz?
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
BigEd wrote:
You mean something is actually oscillating? That's got to be a success, at any frequency!
It is a bit on the high side though. Presumably the third harmonic, or something like that.
You could use the '93 as a divide-by-16 readily enough, but that still leaves you with 1.5MHz, presumably too fast for this computer to compute? Or did you have the headroom in place for 2MHz?
It is a bit on the high side though. Presumably the third harmonic, or something like that.
You could use the '93 as a divide-by-16 readily enough, but that still leaves you with 1.5MHz, presumably too fast for this computer to compute? Or did you have the headroom in place for 2MHz?
All is not lost... The 4-bit counter presently is fed by 4MHz and resets at a count of 12. If instead it is fed by 3MHz and reset at a count of 9 then you get 18750 baud which is about 2.5% adrift - might be OK.
Before that though you could presumably check out the trusty NOP generator with a 1.5MHz clock and then perhaps some test code in a ROM?
Before that though you could presumably check out the trusty NOP generator with a 1.5MHz clock and then perhaps some test code in a ROM?
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Well, I measured 3Mhz at the CPU's PhiIn so I think it will not work.
The only other solution I can think of (apart from getting the clock to work properly) would be to use the unused counter in the LS93. At the moment, the first divider is unused (that's why InA is unconnected). If I feed the clock signal to InA and connect the Qa output to InB that would divide by 2 and give me 1.5Mhz.
What do you reckon?
The only other solution I can think of (apart from getting the clock to work properly) would be to use the unused counter in the LS93. At the moment, the first divider is unused (that's why InA is unconnected). If I feed the clock signal to InA and connect the Qa output to InB that would divide by 2 and give me 1.5Mhz.
What do you reckon?
Indeed, you need to rejig the use of the '93. You need to feed in the clock signal at pin 14 (InA/CKA), and then take pin 12(QA) to pin 1(InB/CKB) instead. That gives you an extra divide by 2. (Check a datasheet for 74LS93 - I'm referring to this one, third part shown.)
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
BigEd wrote:
Indeed, you need to rejig the use of the '93. You need to feed in the clock signal at pin 14 (InA/CKA), and then take pin 12(QA) to pin 1(InB/CKB) instead. That gives you an extra divide by 2. (Check a datasheet for 74LS93 - I'm referring to this one, third part shown.)
I got it right!