• 0
s223523

USB keyboard on zybo

Question

Hi,

I am working with a Zybo and I'm trying to develop a game on it. In order to do so I need to connect a USB keyboard to it. Does anyone can suggest to me some tutorials or VHDL code for it?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @s223523,

Here is a forum thread that talks about the USB OTG on the ZYBO as well as a solution to that issue. If you choose to use the PmodPS2 then here is a ps/2 keyboard tutorial using VHDL. We also have two verilog keyboard projects you could use as a reference here and here.

Jon

Share this post


Link to post
Share on other sites
  • 0

Hi @jpeyron,

My problem is that on the zybo I don't have a PS/2 input and I don't have a keyboard with a PS/2 output so that I can simply buy an adapter. That's why I am searching for a USB keyboard tutorial or simply the VHDL code.

Share this post


Link to post
Share on other sites
  • 0

Hi @s223523,

Unfortunately, There is not an easy process to connect a usb keyboard to the zybo using vhdl.  The USB host functionality on the Zybo runs between the multiplexed IO at the ARM processor to an IC at the USB OTG port. The communication between this PHY and the processor is not something that I would recommend trying to develop yourself (look at section 8 and 2 of the zybo reference manual here). The fastest way to getting peripherals interfaced with the board would be to run an embedded Linux image on it, for which there already exists drivers that would handle communication with various USB peripheral devices (something through PetaLinux would be quick to implement). 

cheers,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now