Go Down

Topic: USB Device DMA? (Read 549 times) previous topic - next topic

sam0737

Does anyone able to make USB DMA working?

I am working on writing USB low level driver for Chibios/RT, while I am able to get the basic USB working (loading FIFO with CPU/software), I want to implement the DMA functionality.

The issue is - I see the DMA loading the FIFO, but it does not send the packet out until I manually clear the TXINI/FIFOCON like what I did in the software.
If that's the case, what does END_B_EN and EP CFG's AUTOSW?
I thought the DMA controller will just send all the buffer out, including splitting them into packet(s) if necessary, and send them out automatically. But I couldn't get this behavior.

Is there something that I might have missed?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy