How to write and read ad7616 data in or from memory using DMAC


I want to know how to write and read back ADC data from DDR3 memory using DMAC. Kindly refer me to an example that I can look and learn from. I'm using the ad7616sdz board and no-OS 2019_r2 branch. I already tested my SPI communication path as that successfully returns the self-test code. 

What this function do ad7616_read_data_serial()? How to store this read data in any file?

I saw in the no-OS 2016 branch there's a capture function that (as per my understanding) is used to capture the serial data from ADC and store it in some kind of file. Where is that data stored in the file?

[edited by: Moris98 at 7:08 AM (GMT -4) on 13 Oct 2021]