This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interfacing with a 4x4 keypad on same bus

Hey, i have a problem that i have been at for over a day now, and i can not solve this with my skills.
So the problem is as follows. I am trying to get an output from a 4x4 keypad, which would not be a problem but input and output are on the same pins. I know that the 74hc573 should keep the information after LE goes low, but i just can not figure out how to read output from 74hc541 without giving new information to the previous chip, because then the state changes again. At the moment i can only read the keys diagonally, because input and output match in that case.
The schematic of the whole circuit can be seen here

:http://i.imgur.com/FWcJRvP.png
and the problematic part here :http://i.imgur.com/i7vwFXs.jpg

Hope you guys can give a tip and help me understand this.
Thanks

Parents
  • Surely, the whole point of a bus is precisely that multiple things do share the same pins?!

    "would not be a problem but input and output are on the same pins"

    Why is that a problem?

    The input pins are only activated during a write operation, then latched, and the output pins are only activated during a read operation.

Reply
  • Surely, the whole point of a bus is precisely that multiple things do share the same pins?!

    "would not be a problem but input and output are on the same pins"

    Why is that a problem?

    The input pins are only activated during a write operation, then latched, and the output pins are only activated during a read operation.

Children