This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Is there a Matlab interface for the TSW1200 and ADS4229EVM? Could you advise me where can I download the Matlab code to interface to this ADC?Another question, How many data can I capture in each channnel ?
Thanks,Best Regards,Guan Qing
Yes, there is a Matlab interface to control the TSW1200 to set up and get a data capture from the ADS4229 EVM. Please see atttached zip file.
The Matlab code is not as polished and automated as the GUI that comes with the TSW1200. The TSW1200 GUI will automatically locate which com port that Windows assigned to the TSW1200 when the GUI is launched. The Matlab code does not do that. You will need to use hardware device manager to see which com port umber the TSW1200 has, and manually edit that com port into the initSerial.m file in *two* locations in that file for the Matlab code to be able to talk to the hardware. If the com port number changes later, then the initSerial.m file will need to be edited again.
The Matlab code will set up the FPGA registers for a capture, and get the captured data. Then the captured data is processed and a popup window displays the FFT along with SNR, SFDR and some other performance metrics. But the Matlab code is really meant for a user who wants to develop their own processing functions and needs to have the code for setting up the FPGA already written - since we can't expect end users to know how to control the FPGA register space. We provide that - and you can thendo the rest.
The TSW1200 can capture as much as 65536 samples, total. If you capture from one of the two channels of the ADS4229 then you can get 65536 samples for that channel. If you choose to capture data simultaneously from both channels of the ADS4229, then you can get 32768 samples per channel.
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 Richard Prentice:
I found another device TSW1400 in TI's website. It has more capture buffer. But it's user's guide doesn't mention the matlab interface. Does TSW1400 also have the Matlab code like TSW1200? I just want to capture data simultaneously from both channels of the ADS4229 or ADS 5263, then I will process them by myself. Yes, I know , the TSW1400 also has GUI application which can save capture data into BIN or CSV file , then I can read this files in MATLAB and process them. But it is not convenient.
In reply to guan:
I have successfully used the TSW1400 with matlab. The TSW1400 has a DLL written to allow any language to interface with it, for instance High Speed Data Converter Pro is written in LabView but makes calls to the DLL to interface with the TSW1400. I did run into a few problems when using it with Matlab, such as having to modify the header files of the DLL to compile with Matlab and having to use 32-bit Matlab instead of 64-bit. Note that I have only tried this on one computer, so I cannot guarantee operation on any others. Unfortunately, it seems that the TSW1400 is currently out of stock.
We do have a TSW1405 which also makes use of a DLL. I have not tried to interface it with Matlab, however the DLL should be very similar between the two, since they were written by the same team. I would expect to have to make similiar modifications to the header files. The TSW1405 is functionally equivalent to the TSW1200.
In reply to Matt Guibord:
Is the matlab interface for TSW1400 same as TSW1200? Where can I download the matlab interface for TSW1400 with ADS4229EVM? I want to order TSW1400 for our Lab.
The Matlab is not available for download online. It has mostly been a tool for my own work. I can send what I have through e-mail but note that it is not free of bugs. I have had cases where Matlab has crashed and I had trouble getting the DLL to compile originally. There will be very limited support for the Matlab code.
If you want to send me your e-mail through private message, I can forward what I have.
im using the the same mentioned HW (TSW1200&ADS4229).
is there any VHDL code you created to inteface the ADC and the FPGA?
In reply to dotan bardugo:
We (TI) provide the Verilog source code for the TSW1200 when requested. I would need an email address to send the zip file to. The TSW1200 code will be more complicated than it would need to be since the TSW1200 has to interface to so many different types of EVM, so you would have to sort through the code to find and keep the sections that you are looking for.
I'm using the tsw1200 and the ADS4229EVM
I need HDL code to interface thos components
Is there any description file included to the mentioned code?
Thanks A lot!
My email: email@example.com
Sent to the address provided.
Would you give me the HDL code for 1200EVM to interface the ADS4229EVM?
My email: firstname.lastname@example.org
Thanks A lot!
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. 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 respect to these materials. 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.