Sending data from FPGA to PC via PS2 port

Status
Not open for further replies.

szahid

Newbie level 2
Joined
May 8, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,294
Dear friends,

I am currently doing a project, and due to the FPGA board limitations, I have to send data from FPGA to PC via a PS2 port.
I want to ask;

1- Whether its possible or not (sending data from FPGA to PC via PS2 port)?
2- If its possible, what physical connections I have to alter or change? (that is because the FPGA PS2 port and PC PS2 port have sourcing Vcc pins)
3- If points 1 and 2 are solved, and I make a driver on FPGA that sends any keystroke to PC, do I require to keep my FPGA turned ON and the PS2 cable connected at the time of reboot of the PC?
4- Please share any extra information or material which is helpful in writing the required driver/code on FPGA (i.e., sending any keyboard keystroke to PC via FPGA).

Thanks
 

1 - Yes it is possible, the mouse and keyboard does it, but might take a bit of software on the PC side;
2 - PS2 uses 3 wires, basically (DATA, CLOCK, GND), with a 4th wire for powering the device itself, which you don't need with an external power supply;
3 - a keyboard/mouse is usually reset at pc startup, you need to implement this in you design (if I'm not mistaking there is a command that is sent to the device on the PS2 bus);
4 - google is you friend, you can find the vhdl code for PS2 very easy, also the protocol description is out there.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…