Other Parts Discussed in Thread: AWR1642,
Dear ,
Here i am work with AWR1243boost EVM + DCA1000 EVM for IQ post processing chain . I am able to configure the radar to operate in TDM MIMO configure but in doppler compensation i found one piece of code in forum members and other in SDK code for demo AWR1642 .................... both the logics are different and made we confused on which logic should i work
SDK code of AWR1642 from line number 2638 it is given as Mmdemo_addDopplerCompensation ()
If (dopplerCompensationIdx >=numDopplerBins/2)
{
dopplerCompensationIdx -=(int32_t) numberDopplerBins;
}
dopplerCompensationIdx =dopplerCompensationIdx /2 ;
if (dopplerCompensationIdx < 0)
{
dopplerCompensationIdx +=(int32_t) numDopplerBins;
}
expDoppComp=azimuthModCoefs[dopplerCompensationIdx];
if (dopplerIdx & 0x1)
{
expDoppComp= _cmpyri(expDoppComp, *azimuthModCoefsHalfBin);
}
/* rotate symbols *
-----------------------------------------------------------------------------------------------------------------------------
The other logic which is mentioned by forum members is
if (current_obj.dopplerInd ~= dopplerFFTSize/2)
dopplerInd1 = current_obj.dopplerInd;
deltaPhi = 2*pi*(dopplerInd1-dopplerFFTSize/2)/(3*dopplerFFTSize);
corZz = exp(-1j*deltaPhi);
X(5:12) = X(5:12)*corZz;
X(9:12) = X(9:12)*corZz;
end
Please clear my doubt as soon as possible ......If possible Please provide us piece of matlab code where the doppler compensation is done .
Thanks in advance !