Hi cb2010,
Since USB protocol is very compicated, it is much better to use software to control the USB controller on DE3: ISP1761. You can find source codes written in C in the demo project. Please visit the "software" folder in the project of usb-device, and hack main.c. It is worth learning NIOS II and SOPC builder.
I also have to use USB for high-speed data transfer between DE3 and a host PC, but software execution by NIOS II processor limits the data-transfer speed... For now, only 25KB/s (!) is available when s host PC reads/writes to DE3. Moreover, SOPC with NIOS II using moderate size of on-chip memory consumes some logics and BRAMs. I also want to avoid SOPC and NIOS II for just communicating the host PC if possible. It woud be much better if we can use a "hard-wired" ISP1761 contoller written in HDL. But I gave up develpping such a controller because the USB and the usage of ISP1761 is too complicated for hawdware implementation.
Is there anybody who can have an example code for high-speed data-transfer between DE3 and PC via USB?
Mickycat