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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/07 14:54
Read: times


 
#139833 - PS2 to RS232 and RS232 to PS2 Through Optic Fiber
Hi all members
In one application i need to connect an AT keyboard
to pc through Optic Fiber module.
this module has only one RX and one TX free.
one approach that came to my mind was that i convert
ps2 to rs232 and next rs232 to ps2.
i applied that approach in half duplex and it was ok.
so i could use all keys in win xp(sp2) without any mistake.
unfortunately i had forgotten that my keyboard has boot up itself without imposing 2 conversion.
but after restarting the system i found that this system don't work.it was for first enumerating(initialization) keyboard
as ps2 device to host pc.
So i need to implement a full duplex communication.
if so i think it take so much time from me because i must first check clock line in pc side when it became low after some moment i must generate clocks for gathering it's data.
then send it via rs232.then bring clock line in keyboard side low and after some moment that keyboard generated clocks i must send pc side data to host serially.
reading and writing acknowledge added to my task too.
but now i find that translating clock and data in each side
with considering that host is ultimate priority maybe is better approach !!!
this means that:
clock and data lines must be connected to both int0 and int1 pins in each side(pc and keyboard side).
then i send clock and data with one bit start and one stop bit
in four bit asynchrone packet.(not standard rs232)
is this approach better or is any better idea come to your mind?
Please let me know your point of view.


List of 16 messages in thread
TopicAuthorDate
PS2 to RS232 and RS232 to PS2 Through Optic Fiber            01/01/70 00:00      
   Many possible solutions            01/01/70 00:00      
      Russell            01/01/70 00:00      
         I never heard of RS232 and fibre optic cable.            01/01/70 00:00      
   PS2 is Half-Duplex...            01/01/70 00:00      
      A positive to you            01/01/70 00:00      
      A positive to you            01/01/70 00:00      
   convert to unidirecional.            01/01/70 00:00      
      No, it can't            01/01/70 00:00      
         Allmost can't            01/01/70 00:00      
            Mistake, scancodeset doesn't matter            01/01/70 00:00      
            Startup?            01/01/70 00:00      
   KVM?            01/01/70 00:00      
      KVM over Optical ethernet            01/01/70 00:00      
         Thanks            01/01/70 00:00      
            The Problem Solved!            01/01/70 00:00      

Back to Subject List