1 Reply Latest reply on Apr 16, 2018 10:42 AM by user_365340220

    Fx3 Streaming dropped packets?

    user_365340220

      We are working on a project that requires constant streaming of data from the GPIFII port. We are trying to read a byte of data at precisely 10MHz (provided by an external crystal signal to the pclk pin) and store the data on the pc for processing later. We hope to record for at least a few minutes where timing and sampling must be guaranteed (i.e, no dropped samples). However, what we are noticing is that every 8192 bytes the fx3 device seems to ‘skip’ a few samples and thus data is lost.

       

      For this code we are using a slave fifo and are using the thread ping-pong structure.

       

      It seems to me that the fx3 is waiting until all the buffers are filled then sending it via USB to the computer(?) if that is the case is there a way around this?

      Any tips would be greatly appreciated

      Thanks!