s223523 Posted April 20, 2017 Share Posted April 20, 2017 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? Link to comment Share on other sites More sharing options...
jpeyron Posted April 20, 2017 Share Posted April 20, 2017 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 Link to comment Share on other sites More sharing options...
s223523 Posted April 24, 2017 Author Share Posted April 24, 2017 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. Link to comment Share on other sites More sharing options...
jpeyron Posted April 24, 2017 Share Posted April 24, 2017 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 Link to comment Share on other sites More sharing options...
Question
s223523
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?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.