Categories

VHDL communication with a PS/ 2 keyboard

Posted on Tuesday, January 3rd, 2012 in code, CPLD, FPGA by the machinegeek


Hamster has written VHDL code for interpreting data from a PS2 keyboard. It’s currently a work in progress and is designed to work with his Papilio S6 (the Spartan 6-based Papilio board paired with the Megawing board, both available from Seeedstudio.)

The code receives the scancode from a PS2 keyboard attached to Port A of the Megawing and the four LEDs on the board indicate the low bits of the scancode of the last key pressed or released. (The high four bits are displayed when you press the Megawing’s ‘up’ button.) You can check out hamster’s code and project details at the Hamsterwork’s Wiki page.

Via GadgetFactory.

This entry was posted on Tuesday, January 3rd, 2012 at 4:00 pm and is filed under code, CPLD, FPGA. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...
  • Max: I have a suspicion the hefty electrolytic cap might be some sort of cargo cult carry-over from other RF-based projects - for instance, I've seen...