Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/28/04 00:28
Read: times


 
#67505 - RE: Proplem with interfacing PS/2 Keybo
Responding to: ???'s previous message
Sounds pretty normal to me. If your readout is activated by some clock edges (as it is with PS/2 AFAIR), the edges should appear only when the data values are already stabilized.
If you shift data line from 0 to 1 and send clock pulse at the same moment, you never know if the microcontroller will read the 0 (clock signal arrived first) or 1 (data was first or readout delayed). So wise keyboard manufacturers decided they first set the data line to the desired state, leave it for a short while like that so all the electronics can read its right value, then they send the clock edge which activates readout - which reads the state of the data lines.

List of 5 messages in thread
TopicAuthorDate
Proplem with interfacing PS/2 Keyboard            01/01/70 00:00      
   Eh?            01/01/70 00:00      
      RE: Eh?            01/01/70 00:00      
   RE: Proplem with interfacing PS/2 Keybo            01/01/70 00:00      

Back to Subject List