6 Replies Latest reply on Oct 8, 2020 11:29 PM by HemanthR_06

    How to stream AD samples without losing data using GPIF

    wexi_4711301

      Hello,

       

      We have designed our own board: AD->FPGA->FX3. We capture data using AD and send the sampling data to fx3 via FPGA. We followed the application note AN65974 using 16 bits width GPIF interface and set the watermark to 3. While we transmitted the data to fx3, the DMA buffer is full and the flagb goes low periodically. Then the data transmission paused and the continuously input sampling data got lost. Please see the attached file. I want to know how to stream in the samples without losing data, using two DMA buffers? two threads? It seems that sampling the state of flags will cause latency too. Please give me some advise. 

      flag_trig.JPG