kevinmehall / usb

Minimalist portable USB device stack for SAMD21, LPC1800, LPC4300, Xmega
MIT License
100 stars 20 forks source link

SAMD21 Atmel Studio Project #1

Open alexgoldstone opened 8 years ago

alexgoldstone commented 8 years ago

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?

kevinmehall commented 8 years ago

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.

syddo commented 7 years ago

@kevinmehall what IDE are you using instead of Atmel Studio?

kevinmehall commented 7 years ago

Atom

pashinen commented 5 years ago

How can I make work samd21E16 USB as USB audio.