Pages: [1]   Go Down
Author Topic: USB Device DMA?  (Read 484 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Pages: [1]   Go Up
Jump to: