Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Industry

Related Links - Developer Zone

Related Links - Products and Services

DMA

2 ratings | 2.50 out of 5
Print

Direct Memory Access. A technique for data transfer from a hardware unit to memory, without involving the CPU. DMA is often controlled by a hardware device, thus freeing up the CPU to perform other tasks at the same time.

Options for DMA modes are single, demand, and block-mode transfers. In single-mode transfers, one data value is transferred for each DMA request asserted, which is the slowest method of transfer because the DMA controller must arbitrate for the system bus with each transfer. Block and demand transfer modes increase system throughput because the DMA controller performs several DMA transfers once the DMA controller has gained bus access. For block-mode transfers, the DMA controller performs the entire DMA sequence as specified by the transfer count register at the fastest possible rate in response to a single DMA request from the DAQ board. For demand-mode transfers, the DMA controller performs DMA transfers at the fastest possible rate as long as the DAQ board asserts its DMA request. When the DAQ board unasserts this DMA request, transfers are held off.




2 ratings | 2.50 out of 5
Print

Reader Comments | Submit a comment »

how ?
How does the program know the data has been transfered? How are the destination buffers controled?
- John Phillips, teletek. john.phillips0@gmail.com - Oct 31, 2007

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).