ADS54J64EVM: 4-channel data capture to file when using TSW14J56
Part Number: ADS54J64EVM
Is there a way to capture and record the data to a file continuously using a trigger?
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.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to jim s:
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?
In reply to Steve Y:
The firmware can be downloaded from the TSW14J56EVM product folder on the TI website.
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?
Jim, when I open the TSW1400_ADC_Revamp.... qar file, the IP "ddr2" is missing (ver/dd2.qip)
This ADC uses the TSW14J56EVM firmware, not the TSW1400EVM firmware. Not sure why you are looking at the TSW1400_ADC_Revamp.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.