usb
usb copied to clipboard
SAMD21 Atmel Studio Project
Having had some issues with Atmel's USB CDC implementation (hugging resources) I would be interested in trying this library.
I'm using the SAMD21J18A (the same as you use for Tessel 2) and would be grateful if you have any documentation (or sample project) that shows the steps for getting this library up and running in an Atmel Studio project.
Is this library able to act as a USB CDC host or just device?
I don't use Atmel Studio, but the Tessel source is an example of a makefile-based project. You link in the source files, provide implementations of the callback functions and descriptors, initialize, and once the host configures the device, you can use the endpoints.
This library supports device only. Its support for CDC is limited to providing the descriptor structures for that device class -- it requires a little understanding of USB and CDC, and isn't something you just drop in get a print
that goes to the serial port.
@kevinmehall what IDE are you using instead of Atmel Studio?
Atom
How can I make work samd21E16 USB as USB audio.