Hi team,
There are some issues when testing the demo of medium_range_radar in radar_toolbox_1_00_01_07:
1) The void rxGainPhaseParam_Init(MwDemo_DSS_DataPathObj* obj) function in the DSS_main.c file configures the calibration parameters for the receive channel, where are calibration parameters for MRR and USRR. How are these calibration parameters obtained?
void rxGainPhaseParam_Init(MmwDemo_DSS_DataPathObj* obj)
{
int32_t indx = 0;
if (obj->processingPath == MAX_VEL_ENH_PROCESSING)
{
obj->rxChPhaseComp[indx].imag = 5863;
obj->rxChPhaseComp[indx].real = 19158;indx++;
obj->rxChPhaseComp[indx].imag = 2858;
obj->rxChPhaseComp[indx].real = 23451;indx++;
obj->rxChPhaseComp[indx].imag = 4569;
obj->rxChPhaseComp[indx].real = 22093;indx++;
obj->rxChPhaseComp[indx].imag = 0;
obj->rxChPhaseComp[indx].real = 16399;indx++;
}
else if (obj->processingPath == POINT_CLOUD_PROCESSING)
{
obj->rxChPhaseComp[indx].imag = 21646;
obj->rxChPhaseComp[indx].real = 7035;indx++;
obj->rxChPhaseComp[indx].imag = 21172;
obj->rxChPhaseComp[indx].real = 18420;indx++;
obj->rxChPhaseComp[indx].imag = 15490;
obj->rxChPhaseComp[indx].real = 21080;indx++;
obj->rxChPhaseComp[indx].imag = -3905;
obj->rxChPhaseComp[indx].real = 25130;indx++;
obj->rxChPhaseComp[indx].imag = 0;
obj->rxChPhaseComp[indx].real = 16399;indx++;
obj->rxChPhaseComp[indx].imag = -7985;
obj->rxChPhaseComp[indx].real = 18443;indx++;
obj->rxChPhaseComp[indx].imag = -10962;
obj->rxChPhaseComp[indx].real = 15291;indx++;
obj->rxChPhaseComp[indx].imag =-17653;
obj->rxChPhaseComp[indx].real = 3133;indx++;
obj->rxChPhaseComp[indx].imag = 386;
obj->rxChPhaseComp[indx].real = -17208;indx++;
obj->rxChPhaseComp[indx].imag = 8587;
obj->rxChPhaseComp[indx].real = -18744;indx++;
obj->rxChPhaseComp[indx].imag = 11857;
obj->rxChPhaseComp[indx].real = -15772;indx++;
obj->rxChPhaseComp[indx].imag = 18493;
obj->rxChPhaseComp[indx].real = -2907;indx++;
}
}
2) Using the calibration configuration file profile_calibration.cfg of the out of box routine from SDK, the following data can be obtained, how to convert it into Q15 format to configure it into the calibration function of the MRR routine?
compRangeBiasAndRxChanPhase 0.1827784 -0.32687 -0.51871 -0.60535 -0.55856 -0.42178 -0.75253 -0.20648 -0.68051 0.28970 -0.67130 0.15488 -0.96405 0.44168 -0.89716 0.52817 -0.63138 0.35147 -0.64502 0.24319 -0.94034 0.50223 -0.85928 0.57156 -0.57538
3) MRR is 1TX/4RX operation, profile_calibration.cfg configuration file is 3TX, 4RX. Is it possible to configure it to 1TX, 4RX, and then output calibration parameters?
sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 7 0
adcCfg 2 1
adcbufCfg -1 0 1 1 1
lowPower 0 0
profileCfg 0 77 7 3 39 0 0 100 1 256 7200 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 4
chirpCfg 2 2 0 0 0 0 0 2
frameCfg 0 2 32 0 500 1 0
guiMonitor -1 1 1 1 1 0 1
cfarCfg -1 0 2 8 4 3 0 15.0 0
cfarCfg -1 1 0 4 2 3 1 15.0 0
multiObjBeamForming -1 1 0.5
calibDcRangeSig -1 0 -5 8 256
clutterRemoval -1 0
compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
measureRangeBiasAndRxChanPhase 1 3.1 0.25
aoaFovCfg -1 -90 90 -90 90
cfarFovCfg -1 0 0.25 8.64
cfarFovCfg -1 1 -7.06 7.06
extendedMaxVelocity -1 0
CQRxSatMonitor 0 3 4 127 0
CQSigImgMonitor 0 111 4
analogMonitor 0 0
lvdsStreamCfg -1 0 0 0
calibData 0 0 0
sensorStart
Could you help check this case? Thanks.
Best Regards,
Cherry