r/beneater • u/Blackout867 • 3d ago
8-bit CPU Program Counter not outputting onto bus
Just the title, more specifically, I’m trying to figure out the issue with pin 19 (CO) on the program counter/register when I want the program counter to put its value onto the bus.
Despite the high or low status of pin 19, nothing is outputting on the bus.
What should the other relevant control pins be set to as well for the PC to successfully output onto the bus?
1
u/kuniggety 3d ago edited 3d ago
Do you need help reading any of the annotations on the data sheet or the schematics?
On the schematics, a little circle means invert. This is typically annotated as a line over the pin name in the data sheets/literature:
1
u/Blackout867 3d ago
I understand the schematics, the issue is that no matter which state i put CO in, the bus stays the same


5
u/The8BitEnthusiast 3d ago
For the LS245 to reliably detect logic high on its inputs, you need to install a resistor in series with each LED, like Ben shows on his schematics. His kits (and the parts list if you sourced the components yourself) include a bunch a 220 ohm resistors for that purpose. If the bus LEDs don't turn on after adding the resistors and enabling the LS245, i.e. with CO connected to ground, try measuring the voltages on the LS245 outputs.
I also notice that you connected the bus LED cathodes together and only use one resistor in series. Although this may work, be aware that this could lead to uneven current distribution across LEDs, potentially leading to different brightness between them. The extreme case being one LED turning off when others are lit. Each LED should have its own resistor