Tool/software: Code Composer Studio
Hi,
I'm using AWR1642BOOST ES2.0 with the capture demo to get the raw ADC data from L3 memory, and the SDK version is mmwave_sdk_02_01_00_04. When I use defalut setting in the mss.c, it works well. Now, I want to increase the Rx numbers from 1 to 4, and some other parameters are also modified. The whole parameters changed are below.
/* Populate the profile configuration: */
ptrProfileCfg->profileId = 0U;
ptrProfileCfg->startFreqConst = (uint32_t)(77.0 * (1U << 26) / 3.6);
ptrProfileCfg->idleTimeConst = (uint32_t)(12U * 1000 / 10);
ptrProfileCfg->adcStartTimeConst = (uint32_t)(5 * 1000 / 10);
ptrProfileCfg->rampEndTime = (uint32_t)(50 * 1000 / 10);
ptrProfileCfg->txOutPowerBackoffCode = 0U;
ptrProfileCfg->txPhaseShifter = 0U;
ptrProfileCfg->freqSlopeConst = (int16_t)(15U * (1U << 26) / (3.6*1e3*900));
ptrProfileCfg->txStartTime = (int32_t)(1U * 1000 / 10);
ptrProfileCfg->numAdcSamples = 256;
ptrProfileCfg->digOutSampleRate = 6250;
ptrProfileCfg->hpfCornerFreq1 = 0;
ptrProfileCfg->hpfCornerFreq2 = 0;
ptrProfileCfg->rxGain = 44;
ptrFrameCfg->chirpStartIdx = 0U;
ptrFrameCfg->chirpEndIdx = 0U;
ptrFrameCfg->numLoops = 128;
ptrFrameCfg->numFrames = 1;
ptrFrameCfg->framePeriodicity = (uint32_t)(100 * 1000000 / 5);
ptrFrameCfg->triggerSelect = 1U;
ptrFrameCfg->frameTriggerDelay = (uint32_t)(0 * 1000000 / 5);
/* Populate the open configuration: */
ptrOpenCfg->freqLimitLow = 760U;
ptrOpenCfg->freqLimitHigh = 810U;
ptrOpenCfg->chCfg.rxChannelEn = 15U;
ptrOpenCfg->chCfg.txChannelEn = 1U;
ptrOpenCfg->chCfg.cascading = 0U;
ptrOpenCfg->lowPowerMode.lpAdcMode = 1U;
ptrOpenCfg->adcOutCfg.fmt.b2AdcBits = 2U;
ptrOpenCfg->adcOutCfg.fmt.b2AdcOutFmt = 1U;
ptrOpenCfg->disableFrameStartAsyncEvent = false;
ptrOpenCfg->disableFrameStopAsyncEvent = false;
ptrOpenCfg->useCustomCalibration = false;
ptrOpenCfg->customCalibrationEnableMask = 0x0;
After storing the data in L3 memory, I used a matlab script from SDK 1.0 to parse the data. Then I get a picture like this.
There are 256 * 128 = 32768 samples in this picture. But it actually has only 32 chirps and every chirp with 1024 samples. For a range FFT result, it shows like below.
So,what is the problem for capturing 4 Rx's data? Are there any mistakes I made in mss.c or miss some necessary parameter modified ?
Thanks!