Quantcast
Channel: EngineerZone : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 51060

ADFMCOMMS-1 ZedBoard Reference Design DMA Configuration

$
0
0

Hi,

We are currently working on the reference design for ADFMCOMMS-1 ZedBoard. It seems that the DMA for ADC is configured in scatter-gather (SG) mode and polling or interrupt are not used in order to inform the CPU that the transaction is done (I am talking about the "adc_capture" function in "test.c" file. There is a portion of code which waits for a certain condition as given below. However, the code seems to rely on the wait functions instead of this condition. My question is: Is it possible to use this design in simple DMA mode in order to understand the basics of DMA better? If it is not, what are the required modifications on the driver code to be able to work in simple DMA mode?

 

do

{

  delay_ms(1);

}

while ((Xil_In32(baddr + 0x088) & 0x1) == 1);  

 

Thanks in advance,

Onur


Viewing all articles
Browse latest Browse all 51060

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>