usb icon indicating copy to clipboard operation
usb copied to clipboard

SAMD21 Atmel Studio Project

Open alexgoldstone opened this issue 7 years ago • 4 comments

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?

alexgoldstone avatar Sep 11 '16 12:09 alexgoldstone

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 avatar Sep 13 '16 03:09 kevinmehall

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

syddo avatar Nov 18 '16 06:11 syddo

Atom

kevinmehall avatar Nov 19 '16 17:11 kevinmehall

How can I make work samd21E16 USB as USB audio.

pashinen avatar Oct 24 '18 20:10 pashinen