Hello,
I use USB HID device mode. Does it possible to use USB DMA in endpoint 0?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I use USB HID device mode. Does it possible to use USB DMA in endpoint 0?
Hi KF,
Reading the USB user's guide, it looks like only EP1-7 can be assigned to DMA.
26.6.6 USB DMA Controller
The USB includes an integrated eight-channel USB DMA controller for efficient loading/unloading
of the endpoint FIFOs. Any Tx Endpoints 1 through 7 and Rx Endpoints 1 through 7 can be assigned
to DMA channels 0 through 7. An endpoint and its direction can be assigned to a USB DMA channel
through the EP field and DIR bit in the USB DMA Control n (USBDMACTLn) register. The DMA
can operate in two modes and can handle packet sizes up to 8K. In addition, the DMA controller
can be programmed to conduct transfers using burst of four, eight and sixteen or bursts of unspecified
length.
Hi KF,
The full user's guide is under NDA. Once you have the NDA, I will release to you privately.