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.

Sending own data to TSW30SH84 using TSW1400 EVM

Hello There,

I have been able to achieve working setup after following recent posts. I want to analyze the data captured in MATLAB.

Can I change given .tsw files to .txt or .csv files?

Alternatively, can I change my customized .txt file to .tsw files?

I already have captured data in .csv format but I am not able to take my sent signal in MATLAB.

Many thanks for your reply,

Meenakshi

  • Hi Meenakshi,

    Glad to hear that you got the TSW30SH84 EVM working.

    The .tsw files from the TSW1400 Pattern Generator Software are encoded and can only be decoded in the HSDC PRO software. You can still open the files in Excel or Matlab, but the files are encoded so you will not be able to get anything useful out of them. We cannot provide the decoding scheme.

    You can load .txt files or .csv files that you generated yourself in Matlab to the HSDC PRO. Assuming that you have a four column data ready in Matlab, the following command can be used to convert it to a .csv file:

    >> iqdata=zeros(length(Idata),4); %generate four column variable with length of the data (32k)
    >> iqdata(:,1)=Idata; %copy file into 1st column
    >> iqdata(:,2)=Qdata; %copy file into 2nd column
    >> iqdata(:,3)=Idata; % repeat IQ data into 3rd and 4th column or you could generate a new set of I/Q data
    >> iqdata(:,4)=Qdata;
    >> csvwrite('data.csv',iqdata); %write into 1 file

    -Kang
  • Hi Kang,

    Thanks for the info. I have attached the steps we had taken to achieve the RF output. 

    We have disabled the PLL (page-2 of attached document) and then changed LMK04800 Control Settings too (page-4, page-5 of attached document).

    Basically, we switched off Clk2 and Clk3 in LMK04800 control settings.

    Now we can see the RF  output, however just today when I used example file with 307.2MHz sampling rate, there is no RF output. I am getting a response at 66 MHz IF, instead of 60 MHz when using file with 614.4 MHz sampling rate.

    Attached example is still working but other files are not giving proper results, so I am still debugging to completely understand the working of module.If you have any comments, I will appreciate it.

    Regards,

    TSW30SH84EVM.pdf8816.TSW30SH84EVM.pdf