First this part, as it seems most likely to be fruitful:
Quote:
Final (first) concern: you have possibly seen me rant about breadboards before... they have loads of stray capacitance and they have notoriously dodgy connections between the internal strips and the plugged in components. One aspect of CMOS parts which is rarely considered until it bites you is that most have a diode between any pin and the substrate, formed as part of the manufacturing. Any input pin which is held higher than the Vcc pin - as might be the case when the Vcc pin is open circuit - is quite capable of driving not only the specific part but in some cases the entire system to which it is attached...
Now that is interesting. I observed on my scope that the schematic #2 'low' signal was much cleaner than the 'high' signal. So, theory: the `163 is struggling to locate +5 volts not because of ground bounce, but because of some other reason. When the pins all (but ENT) are connected together privately as in schematic #1 they come to their own conclusion about where +5 volts is, and ENT is capable of driving the whole system, as you describe. What could cause this confusion? It has to be something that isn't improved by bulk power supply decoupling. I will check what the oscillator is doing to VCC, as BDD suggested, but since it is part of the private network in schematic #1, it seems unlikely to be the culprit.
Second, your specific questions:
barnacle wrote:
To emphasize BDD's answer: you have floating inputs on your CMOS inputs. Those *must* be tied to one or the other rail for proper operation (ideally through a resistor though I tend to just use copper in most cases); CMOS input impedances are so high that a few electrons floating around can cause inputs to be partially (or completely) active, and when partially active those inputs are operating in linear mode; not generally good for following circuitry.
The four floating pins are the parallel load pins for the counting register. They're disabled when the load pin is held high and are not causing any problems. No doubt it would be good practice to tie them off with resistors in a final version.
Quote:
Assuming the power supply is on the top rail - removing the orange wire means the 163 ENT input is floating, possibly calmed down by that smoothing cap. See above... that's an input that decides whether the part counts or not.
When the orange wire is removed, ENT is connected directly to +5 volts. It's the only thing connected to +5 volts in schematic #1. In the breadboard photo RESET was also connected to +5 volts, because it was jumpered over to ENT. I subsequently updated the prototype to match schematic #1 to see if it made a difference (it didn't).
Quote:
Another point on the same subject: the connection between your scope probe and the scope probe ground should be as short as possible. Your probe kit possibly has a clip-on earth spring that can significantly reduce that loop size (earth-scope probe-signal) and help to prevent signal being picked up in the loop that isn't really there.
It didn't, but I bought some separately after the fact. I rarely use them because... they make very little difference. Again, I am probing both configurations with the same scope.
Quote:
p.s. looking at the scope images: which signal are you probing? It appears that you have noise at exactly twice, four, eight, and sixteen times the fundamental; are you just looking at the final output from the divider or the clock input? I suspect the former...
That's correct. The signal coming off of the 25.175MHz oscillator is a little too fast for my poor 200MHz scope. The spikes in the divided clock signals are expected, and (at least in the clean version of the signal) look just like the ones in the HCMOS app notes.
Finally, the part where I talk about my feelings:
I will mostly leave this part out, except to note that it's *REALLY FRUSTRATING* to receive answers that you already know to questions you didn't ask.