Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Role of DMA in USB????

Status
Not open for further replies.

prashanthaditya

Junior Member level 3
Joined
Jul 8, 2007
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,454
Hi all,

Can any body tell me what is the role of external DMA in any USB device??? I know that DMA interface with memory, endpoint buffers and micro controller, but how does the DMA helps in controlling memory to transfer the data and what are the signals the DMA receives to transfer the data between memory and endpoint buffers?

Please reply...

Thank you.
 

The input and output devices and their drivers expect to be able to put/get data in response to a hardware interrupt from the DMA controller when their transducer has processed one service period of data. The DMA controller can move a single sample between the device and the host buffer at a rate much faster than the sample rate of either device.

The input and output device drivers provide two service periods of system buffering. One buffer is always being processed by the DMA controller. The other buffer is guaranteed to be ready before the current buffer is exhausted.
 

Thank you for the reply. Could you elaborate it in detail or please tell me where can i find material relating to the above querry??

Thank you.
 

there are two basic types of dma: register-based
and descriptor-based
software write information(buf address, endponit number, pay-load ..etc) into register or descriptor
DMA use the information to moving data between FIFO and SDRAM
 

USB Controller IP ususally contain MASTER interface, for example, AHB MASTER.
Exernal DMA is a back-up, in fight with potential bugs in MASTER interface. The controller support DMA request interface of course.

Some references can be found in Mentor Graphics USB Controller IP document.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top