• TI Thinks Resolved

ADS54J64EVM: Triggered data recording

Prodigy 70 points

Replies: 4

Views: 86

Part Number: ADS54J64EVM

Is there a way to capture and record the data to a file continuously using a trigger?

  • Guru 53940 points

    Steve,

    You can use the HSDC Pro software automation (LabVIEW/MatLab/Python) to setup a hardware triggered capture. This will arm the firmware to wait for a trigger, and upon trigger pulse from external source, it will complete the capture for user entered sample size and move the date to PC for user application consumption. This data can be retrieved from the temporary bin file maintained by HSDC Pro or by using the export as csv option in the HSDC Pro automation API.

     

    Can you clarify if the triggering will be happening continuously? In which case we have to synchronize the trigger source with the HSDC Pro automation software loop to repeat the firmware rearm & trigger process.

    If the expectation is to do a real-time streaming to PC, the system may not be able to do this because of the USB throughput limitation & software latency involved.

    Regards,

    Jim

  • In reply to jim s:

    Hi Jim,

    Yes. My goal is to be able to do a real-time streaming to PC. Data will be captured and saved to a file continuously based on a trigger signal.

    I understand that the USB maybe the limiting factor. So is there a way that the firmware/source code for ADS54J64EVM on TSW14J56EVM can be provided so that I can learn how to run the ADS54J64EVM with another FPGA board that has Ethernet or other way to stream data?

     

    Thanks,

    Steve

  • Guru 53940 points

    In reply to Steve Y:

    Steve,

    The firmware can be downloaded from the TSW14J56EVM product folder on the TI website.

    Regards,

    Jim

  • In reply to jim s:

    Hi Jim,

    I am able to capture signal using the example MATLAB code with the hardware trigger option enabled. However, the function 

    [Error_Status] = calllib('HSDCProAutomation_64Bit','Read_DDR_Memory',WaitToCheckTrigger,TimeoutInMs);

    does not return any raw ADC data and I always have to go to the data folder to load the csv file.

    Is there a way to implement additional outputs from the above function like the FFT data fetch function which has additional output arguments:

    [Error_Status, f0, df, ActiveChannelFFT,FFTArrayLength] = calllib('HSDCProAutomation_64Bit','Get_FFT_Data',TimeoutInMs, f0, df, ActiveChannelFFT, FFTArrayLength);

    I have also tried to run the MATLAB software for ADS5474EVM + TSW1400. For this case, is the memory length(i.e., the  numberOfSamplesPerChannel) limited by the size of the DDR memory on TSW1400? Can the length be increased if i use a larger DDR memory stick?

    Thanks again!