Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNIOS USB Keyboard App ?
Is there an easy (... or known) way to add to a NIOS device some USB Keyboard functions (standard 101-key USB Keyboard accepted by any USB HID class driver) ? I guess its a low-speed USB 1.1 ...
Altera_Forum
Honored Contributor
20 years agoMhhm, I need to deal with USB anyway ... so first thing will be to get my hands on an USB client IP core. Is is somehow possible to directly
connect USB datalines to the FPGA (with 5V tolerance) or is there the need of any PHY or something to be used in between ? That the USB power needs to be level shifted and stabilized for the FPGA is of course a no bainer http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif Its going to be in any case a 500 mA not a "normal" 100 mA USB device ... will see how to electricaly express that. USB 2.0 is not really needed. Besides that keyboard thing I maybe later need some additional USB connectivity through the same connection (other endpoint) anyway... I really like these legacy emulation thing so mayby the RS232 "profile" would be a way to go. The software seems to be a straight way ... once NIOS can handle the USB port. First has to be a USB enumeration process and then establish a HID endpoint. Porting the 8051 code seems to be a good thing ... of course the whole USB communication subsystem has to be changed http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif