I have some Problems with USB-devices on SAMA5D36-EK.
First I've made a composite-device MSD & CDC width DMA for USB:
CDC: only works for transmitting, for receiving, there is no DMA-transfer from USB-FIFO to memory, but the count of sendet bytes is shown correct.
If I compile for no DMA, CDC works in both direction, but MSD have some problems.
There are the same problems, if I configure only for CDC or only for MSD.