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.

Radar Studio: Post processing of captured data in Matlab

Part Number: AWR1243BOOST
Other Parts Discussed in Thread: AWR1243, AWR1642

Hi,

I am using AWR1243+TSW1400 and Radar Studio to capture ADC data. I am able to capture the data in my PC. The post processing of Radar Studio also works fine.

The data is test data generated with an object at (4,3) m moving at (0.1,0.1)m/s. This was generated through the Test Source tab in Radar Studio. The post processing of radar studio successfully detects the object.

The RS screenshots are  as below,

The Matlab code that i am using is:

The range plot is,

As you can see, the Range plot is entirely different that the Actual from Post_proc tab.

I would like to point out that the matlab code here works correctly with ADC capture data of AWR1642. Hence I suspect the Radar Studio writes the bin file in a different format than ADC data capture.

I suspect I am reading the data somehow wrongly form the way that it is written by Radar Studio. Can anyone help me on how to read the data properly in Maltab.


Thanks in Advance,

Santhana Raj

  • I couldnt add the Matlab code in the Question directly. Please find it in the txt

    clc;
    clear all;
    close all;
    
    
    M=256;% no of samples per chirp
    N=128;% no of chirps
    T=2;% no of transmitters
    K=4;% no of receivers
    Fr=32;% No of Frames 300 possible
    
    
    % Default consts from  Radar Studio
    sampl_rate=10000e3;% sampling rate
    slope=29.982e12;%slope
    x_axis_val = ((0:(M-1))/M)*(sampl_rate/slope)*3e8/2;% (sampling rate/2*slope)* c
    
    %File read
    fid=fopen('finiteframes_trial.bin');
    c=fread(fid,Inf,'uint16');
    fclose(fid);
    bitwidth=16;
    data=c(1:M*N*K*T*2*Fr);
    data( data > 2^(bitwidth-1)-1) = (data( data > 2^(bitwidth-1)-1) - 2^(bitwidth));  % Unsigned to signed fixed point value conversion
    d1=reshape(data,2,M,K,T,N,Fr);
    sig=squeeze(d1(1,:,:,:,:,:)+1i*d1(2,:,:,:,:,:));
    
    x=fft(sig);
    figure, plot(x_axis_val,abs(mean(x(:,:,1,1,1),2)));
    file:

  • Hi,

    Please search the forum for similar question

    This has been already addressed

    thank you
    Cesar