Rohit Posted September 7, 2016 Share Posted September 7, 2016 Hello, I want to connect USB keyboard to Zynq Zybo board. But it takes USB OTG as input. I previously had a code which included ps2data and ps2clk signals. I am not sure about how to do this interface with Zybo board. Any help will be appreciated ! Thanks, Rohit Link to comment Share on other sites More sharing options...
NAEastland Posted September 7, 2016 Share Posted September 7, 2016 Hey Rohit, 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. 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). If, however, you are trying to bring in an existing design that is written all in programmable logic and uses a PS2 controller you have already written, then you would need to grab something like the PmodPS2, which would allow you to enable your controller in the FPGA. I may have assumed the specifics of your project incorrectly though, so if this does not get you pointed in the right direction please let us know what your specific usage is so he can better help you. -Nate Link to comment Share on other sites More sharing options...
Rohit Posted September 21, 2016 Author Share Posted September 21, 2016 @NAEastland Thanks for your suggestions. I tried to implement the interface with PmodPS2 as you suggested. It works perfectly fine when I connect a PS/2 keyboard. Now when I am trying my *USB keyboard* and using USB to PS2 converter (which looks like http://www.newegg.com/Product/Product.aspx?Item=9SIA27C3GT8407), it is not working ! Please let me know if you have any idea or suggestions to debug this problem. --Rohit Link to comment Share on other sites More sharing options...
jpeyron Posted September 21, 2016 Share Posted September 21, 2016 Rohit, I think the one you linked is going from a ps/2 mouse to usb. This is the adapter you want. cheers, Jon Link to comment Share on other sites More sharing options...
Rohit Posted September 21, 2016 Author Share Posted September 21, 2016 @jpeyron Jon, Thanks for bringing this to notice. I will try to link with keyboard adapter. --Rohit Link to comment Share on other sites More sharing options...
Question
Rohit
Hello,
I want to connect USB keyboard to Zynq Zybo board. But it takes USB OTG as input. I previously had a code which included ps2data and ps2clk signals.
I am not sure about how to do this interface with Zybo board.
Any help will be appreciated !
Thanks,
Rohit
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.