5.6
Future Revisions
6
MATLAB™ Interface
MATLAB™ Interface
www.ti.com
Figure 12. User Interface Time Domain Format
Two additional test windows are expected to be supported by a future revision of the TSW1200 user
interface software: two-tone FFT and ACPR. The two-Tone FFT allows for the specification of two input
frequencies, and the Inter-Modulation Distortion (IMD) components of 2
×
F1 – F2 and 2
×
F2 – F1 are
identified and displayed. Adjacent Channel Power Ratio (ACPR) is used for more complex input
frequencies than for just single or two tones. For ACPR, an input bandwidth for a complex signal is
defined, and then the ACPR takes the place of SNR by presenting the ratio of the power in the defined
signal bandwidth to the total power outside of that bandwidth.
The standard TSW1200 user interface software that is installed with the Installation CD uses a supplied
National Instruments LabVIEW™ run-time engine. This user interface uses drivers to open a com port to a
USB port to communicate with the TSW1200EVM. This communication takes the form of a
register-mapped series of register writes and reads of the TSW1200 hardware. It is possible to
communicate with the TSW1200 hardware with other software than the supplied TSW1200 user interface
as long as this other software can open a com port to the USB channel and can perform the register reads
and writes to the TSW1200 hardware. One common request for another user interface is MATLAB, as the
user might then want to use their own MATLAB routines to process the data record captured by the
TSW1200EVM FIFOs.
Included on the Installation CD for the TSW1200EVM is a directory of files for an alternative MATLAB
interface to the TSW1200EVM. This MATLAB code is a functional starting point for communicating with
the TSW1200 hardware and capturing data from a number of TI ADCs. This MATLAB code can be
integrated into a larger portion of MATLAB code of the customer’s own design, or the supplied MATLAB
code can be taken as a starting point for a new development. Currently, the supplied MATLAB code
supports data capture from several families of TI data converters: the ADS5481 through ADS5485, the
ADS6129 and ADS6149, and the ADS62P41 through ADS62P45 and ADS62P21 through ADS62P25.
To use the MATLAB interface, TI recommends that users install the TSW1200 user interface software
using the setup.exe command on the Installation CD. This installs the USB drivers that are needed for the
VCP (Virtual Com Port) so that the PC recognizes the TSW1200 hardware when the USB cable is
plugged in. The MATLAB interface then is able to open the com port to the TSW1200EVM.
TSW1200EVM: High-Speed LVDS Deserializer and Analysis System
22
SLAU212A – April 2007 – Revised August 2008