BigEd wrote:
Hurrah!
Yes, hurrah!
BigEd wrote:
That RnW waveform is very odd indeed.
It's hard to be 100% certain, but I think I have the explanation.
Attachment:
rw.png [ 250.82 KiB | Viewed 334 times ]
When Phi2 begins to rise, the CPU begins to drive write data onto the data bus. This involves pulling certain data lines low -- IOW, connecting them to the CPU's internal VSS. But instead of the intended effect, the result is for internal VSS to
rise, because the VSS pin is not properly connected to outside-world VSS.
So, internal VSS rises...
and this alters the CPU's perception of Phi2.
Instead of being, say, 60% of the way from VSS up to VDD, Phi2 is now at about 30% or less -- IOW, low. And Phi2 low means the CPU will cease trying to drive write data onto the data bus.
This removes the reason for internal VSS getting pulled above outside-world VSS. Internal VSS returns to normal,
and so does the CPU's perception of Phi2. The cycle repeats. An oscillator has been created.
( The photo shows R/W, and the center portion of that waveform is identical to what will be seen on internal VSS during the same time. The center portion shows the write cycle, and during write cycles R/W is connected to internal VSS. )
Moral of the story: don't fixate entirely on input and output pins. Their meaning hinges on what VSS and VDD are doing; therefore assumptions about the latter can trip you up. Faced with a baffling situation, don't assume VSS and VDD are as expected -- check.
-- Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html