Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi Ricardo,
Yes there is a lot of material available that explains how USB works. The beyondlogic website that Mmalik has mentioned is a good place to start. I also recommend visiting usb.org and reading some documents there. The examples from Altera only show a Device demonstration (using the DE2-70 as a USB device connected to a Host computer) and a Host demonstration that uses a mouse. I'm not exactly sure what you want to do, but if you want the DE2-70 to be a Host and not the computer, then you have to write a Nios II Host Controller Driver. To do this, you have to understand the USB stack at every level (for example look at what the Transparent SCSI command set is). But maybe you can use the Device demonstration and tune it to suit your needs. Hope this helps a little, Decebal