Forum Discussion
Altera_Forum
Honored Contributor
12 years agoUSB 2.0 Slave HwLib
Hello! I am developing an application for the Cyclone V where the board is connected to a Windows PC as a USB 2.0 slave. I have following wishes: Use case 1: The board collects data and pr...
Altera_Forum
Honored Contributor
11 years agoI know from personal experience that using linux USB drivers isn't fruitful. The hardware specific portion is small, and it won't work without the rest of the USB framework. This has many dependencies on the rest of the kernel that you might as well just run linux.
USB device mode (what DeTeWeF calls a slave) is much easier to work with, as long as you don't bring in the complexities of OTG and host mode. It is doable in a bare metal environment, but I'd still recommend an RTOS for something like this.