AnsweredAssumed Answered

AD-FMCOMMS1-EBZ  No OS Reference design - ADC Function

Question asked by DrTom on Feb 14, 2013
Latest reply on Feb 15, 2013 by DrTom

The ref design calls a function adc_capture(fmc, size,location_to_write). When "size" is small 1024, the function performs fine, but if you increase the size to 32k, the program will reboot itself after a few calls toe adc_capture().

The adc_capture() fucntion uses Xil_Out32((baddr + 0x048), sa); // capture start address

Questions:

1) I know this writes "location_to_write" to the location (baddr+0x48) but where do you find out what is at the address (baddr+0x48) ?

 

2) I know this uses DMA, how do you determine how much data can you write with one adc_capture() call?

 

3) How can you see the address and how much space is availalbe in the DDR-3 memory for storing adc data?

 

Thanks....Tom

Outcomes