Author Topic: wiring USB mouse and USB keyboard to FPGA Systems  (Read 76 times)

martinius

  • Active Member
  • *
  • Posts: 11
  • MK Software Engineering
    • Martin's business profile
wiring USB mouse and USB keyboard to FPGA Systems
« on: October 08, 2017, 09:35:15 PM »
I have some demand on getting several HID-apps to operate with mouse and keyboard and would like to do this from inside the FPGA instead of adding a PC ore anything like that. I have an easy GUI wich is controlled by push buttons an generates information VGA screans.

I thought of adding conventional ps2 mouse and keyboards for data entry but think they are outdated.

What should be the easiest way to get USB devices attached to the FPGA?

Would a board (which) be able to work as an USB host to do this? Do I need a linux for this?

THX
Martin Kluth

Oleksandr Kiyenko

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 287
Re: wiring USB mouse and USB keyboard to FPGA Systems
« Reply #1 on: October 09, 2017, 08:09:24 AM »
Hello,

I think that easiest way it's to use Zynq FPGA chip with embedded Linux. This way you will have USB controller in hardware and USB stack in software.
You can look at https://shop.trenz-electronic.de/de/Produkte/Trenz-Electronic/TE07XX-Zynq-SoC/TE0726-Zynq-SoC/ as the board for this project.


Best regards
Oleksandr Kiyenko

Antti Lukats

  • Sr. Member
  • ****
  • Posts: 474
    • Trioflex
Re: wiring USB mouse and USB keyboard to FPGA Systems
« Reply #2 on: October 12, 2017, 07:52:35 AM »
I have some demand on getting several HID-apps to operate with mouse and keyboard and would like to do this from inside the FPGA instead of adding a PC ore anything like that. I have an easy GUI wich is controlled by push buttons an generates information VGA screans.

I thought of adding conventional ps2 mouse and keyboards for data entry but think they are outdated.

What should be the easiest way to get USB devices attached to the FPGA?

Would a board (which) be able to work as an USB host to do this? Do I need a linux for this?

THX

PS/2 mouse keyboard can be easily connected to FPGA, there are many such projects done. USB is another topic as USB requires much more software processing and more complex interface so for USB only real option is some  Zynq device.