Hello, everyone. I have a 2-chip schematic (attached) that is giving me problems. If the brown wire is connected to the EEPROM's output pin DQ0, as it is in the schematic attached, the 74HCT393 doesn't count, as if it's being constantly reset. However, if I simply move the wire so that it's connected to ground instead of the EEPROM, the counter counts just fine.
I have checked the voltage coming out of the EEPROM at each count, and the voltages match what they should be. For this circuit, the EEPROM should reset the counter when the counter reaches 3, and it does exactly that. If the counter is 3, the EEPROM outputs 4.8V at DQ0; if the counter is anything else, the EEPROM outputs 0V. I should note that I can only do this testing if the brown wire is grounded (not connected to the EEPROM) because the counter doesn't count when connected to the EEPROM, but I have verified that DQ0 is at 0V when the brown wire is connected between the 2 chips and the counter is reset (at 0).
This circuit is the smallest circuit I have been able to make to reproduce the problem. It is based on a much larger circuit that I have built twice, both times with significantly more and longer wires than in this small circuit. All 3 circuits have had the exact same issue.
I have tried using different 74HCT393 and EEPROM chips (2 of each), but they behave the same. I have used the EEPROM in other circuits successfully. I have also simulated the logic in LogicWorks and Digital Works.
I appreciate any help that can be given!
PS: I don't have the counter connected to A3-A0 on the EEPROM because it isn't connected there in the full circuit. I was too lazy to write a new program to reprogram this EEPROM just for this simple circuit.
I have checked the voltage coming out of the EEPROM at each count, and the voltages match what they should be. For this circuit, the EEPROM should reset the counter when the counter reaches 3, and it does exactly that. If the counter is 3, the EEPROM outputs 4.8V at DQ0; if the counter is anything else, the EEPROM outputs 0V. I should note that I can only do this testing if the brown wire is grounded (not connected to the EEPROM) because the counter doesn't count when connected to the EEPROM, but I have verified that DQ0 is at 0V when the brown wire is connected between the 2 chips and the counter is reset (at 0).
This circuit is the smallest circuit I have been able to make to reproduce the problem. It is based on a much larger circuit that I have built twice, both times with significantly more and longer wires than in this small circuit. All 3 circuits have had the exact same issue.
I have tried using different 74HCT393 and EEPROM chips (2 of each), but they behave the same. I have used the EEPROM in other circuits successfully. I have also simulated the logic in LogicWorks and Digital Works.
I appreciate any help that can be given!
PS: I don't have the counter connected to A3-A0 on the EEPROM because it isn't connected there in the full circuit. I was too lazy to write a new program to reprogram this EEPROM just for this simple circuit.