FMC DAQ2 SETUP

Dear all,

I'm working to setup the FMCDAQ2 (Hw an Sw) on KC705 board using the hdl-2016_r2 hardware  an no-OS-2016_R2 software, since I'm beginner in FPGA and sofware, thanks to your help I succeeded to take the first step. I get the debug running, I join here a short description, it could help beginners like myself. You told me that IIO oscilloscope application  will not work with bare-metall no-os software.
My question are there any tutorial or guide that explains easily how to write data and read data  from the memory,
just simple example put data and capture it .. Rejeesh gave this https://github.com/analogdevicesinc/no-OS/blob/2016_R2/scripts/capture.tcl
where can I source it, it seems in the debugger, can I also write a data file into the memory ?
thanks very much

NOOS_2016_R2.pdf
Parents
  • Can you try out another thing? Just add the following aliases into your .bashrc file please:

    alias xmd=xmd.bat
    alias xsct=xsct.bat
    alias xsdb=xsdb.bat

    Most likely this will solve your issue.

    About the second question. You can not really stream the data into memory, simply because the DDR interface can't handle the rate. If you really want streaming you need to reduce the ADC sampling rate.

    The start of an acquisition triggers the FIFO to save data from the output of the ADC core. The software need to take care, that the acquisition length is smaller than the FIFO depth. As the FIFO has enough data, the DMA will start to read data from the FIFO and write it into the memory. If you're looking at the timeline of this, you can define when to start the capture, and the length of the capture will define where it will stop.

    Step 1 and 3 is made by these lines. This is how you can start a DMA transaction. All those things, that I described above will happen in the background. 

    -Istvan

Reply
  • Can you try out another thing? Just add the following aliases into your .bashrc file please:

    alias xmd=xmd.bat
    alias xsct=xsct.bat
    alias xsdb=xsdb.bat

    Most likely this will solve your issue.

    About the second question. You can not really stream the data into memory, simply because the DDR interface can't handle the rate. If you really want streaming you need to reduce the ADC sampling rate.

    The start of an acquisition triggers the FIFO to save data from the output of the ADC core. The software need to take care, that the acquisition length is smaller than the FIFO depth. As the FIFO has enough data, the DMA will start to read data from the FIFO and write it into the memory. If you're looking at the timeline of this, you can define when to start the capture, and the length of the capture will define where it will stop.

    Step 1 and 3 is made by these lines. This is how you can start a DMA transaction. All those things, that I described above will happen in the background. 

    -Istvan

Children
No Data