PAK-V1a PS/2 coprocessor


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Posts
    24

    Unhappy PAK-V1a PS/2 coprocessor

    Am building a controller that uses a PS/2 keyboard to input data (the one I using at the moment is a Fujitsu E105). For ease of programming I wish to the above coprocessor.

    Have built the circuit as shown in the manual, with IMODE=0V, ENABLE=5V and ENABLE2=0V.

    Have taken the DATA to pin1 of the keyboard, CLK to pin5 and 5V to pin4 and GND to pin3 of the keyboard.

    The Tx I have taken to a 16F73 running at 20MHz. My problem is that I get no data into the coprocessor, the CLK pin appears to be tied to 5V, and the DATA pin to GND!

    When I remove the keyboard DATA input to the processor I get the correct CLK and DATA outputs from the keyboard and when I connect the DATA to the processor whilst running it works fine. But as soon as I switch off and on again the same problem occurs. Does anyone have this problem, or solution?

    Thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    <When I remove the keyboard DATA input to the processor I get the correct CLK and DATA outputs from the keyboard and when I connect the DATA to the processor whilst running it works fine. But as soon as I switch off and on again the same problem occurs. Does anyone have this problem, or solution?

    Thanks>

    Look at the tris registers on the PIC. They should be set to input on power up. There is a reset sequence that the PC sends to the keyboard on startup that you can try, but it souncs like it doesn't need it if it fires up correctly on it's own. Remember that the link between the PS/2 and the PC is a quasi I2C format, and the two valid states are input(high impedance) and low only.

    Ron

Similar Threads

  1. Can't send a Reserved Word to math coprocessor
    By bluesmoke in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th October 2009, 23:44
  2. need help simulating PS/2 mouse
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th December 2007, 21:49
  3. ps/2 mouse
    By hamid in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd June 2007, 09:04

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts