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.

AWR1243: Configuring the AWR1243 from TDA3 RVP

Part Number: AWR1243

I got an error code 49 while configuring the AWR1243 with the following Frame, Profile and Chirp Config:

#define RL_RET_CODE_PF_DFE_SAMP_RATE_INVAL_IN (49U) /* Output sampling rate is not
within [2, 37.5]Msps */

We use 22500 for digOutSampleRate below. WHy do we get the error?

Thanks,

--Khai

static rlFrameCfg_t gAr1243FrmArgs =
{
.chirpStartIdx = (rlUInt16_t) 0,
.chirpEndIdx = (rlUInt16_t) CHAINS_RADAR_NUM_TX_ANTENNA - (rlUInt16_t)1, /* 1 */
.numLoops = (rlUInt16_t) AR1243_RADAR_HEIGHT, /* 128 */
.numFrames = (rlUInt16_t) 0,
/* profileCfgArgs[1].numAdcSamples * 2 - 512 * 2*/
.numAdcSamples = (rlUInt16_t) AR1243_PROFILE1_RADAR_WIDTH * (rlUInt16_t)2, /* 512 * 2 */
.framePeriodicity = (rlUInt32_t) CHAINS_AR1243_TIME_MS_TO_5NS(66U), /* 33 ms / 30 FPS, 20 ms / 50fps */
.triggerSelect = (rlUInt16_t) RL_FRAMESTRT_API_TRIGGER,
.reserved = (rlUInt32_t) 0,
.reserved2 = (rlUInt32_t) 0,
.frameTriggerDelay = (rlUInt32_t) 0
};

static rlProfileCfg_t gAr1243ProfileArgs[] = {
{
.profileId = (rlUInt16_t) 0,
.pfVcoSelect = (rlUInt8_t) 0,
.pfCalLutUpdate = (rlUInt8_t) 0,
.startFreqConst = (rlUInt32_t) CHAINS_AR1243_FREQ_GHZ_CONV(76),
.idleTimeConst = (rlUInt32_t) CHAINS_AR1243_TIME_US_TO_10NS(2),
.adcStartTimeConst = (rlUInt32_t) CHAINS_AR1243_TIME_US_TO_10NS(2.37),
.rampEndTime = (rlUInt32_t) CHAINS_AR1243_TIME_US_TO_10NS(30.85),
.txOutPowerBackoffCode = (rlUInt32_t) 0,
.txPhaseShifter = (rlUInt32_t) 0,
.freqSlopeConst = (rlInt16_t) CHAINS_AR1243_FREQ_MHZ_PER_MICRO_S_SLOPE_CONV(5.688), /* [MHz/us] */
.txStartTime = (rlInt16_t) CHAINS_AR1243_TIME_US_TO_10NS(1U),
.numAdcSamples = (rlUInt16_t) AR1243_PROFILE1_RADAR_WIDTH,
.digOutSampleRate = (rlUInt16_t) 22500, /* Kilo Samples per second */
.hpfCornerFreq1 = (rlUInt8_t) RL_RX_HPF1_175_KHz,
.hpfCornerFreq2 = (rlUInt8_t) RL_RX_HPF2_350_KHz,
.reserved0 = (rlUInt16_t) 0,
.rxGain = (rlUInt16_t) 38
}

};

static rlChirpCfg_t gAr1243ChirpCfgArgs[] =
{
{
.chirpStartIdx = (rlUInt16_t) 0x0,
.chirpEndIdx = (rlUInt16_t) 0x0,
.profileId = (rlUInt16_t) 0x0, /* First profile */
.startFreqVar = (rlUInt32_t) 0x0,
.freqSlopeVar = (rlInt16_t) 0x0,
.idleTimeVar = (rlUInt16_t) 0x0,
.adcStartTimeVar = (rlUInt16_t) 0x0,
.txEnable = (rlUInt16_t) 0x1, /* TX1 */
.reserved = (rlUInt16_t) 0x0
}

};

  • So I get passed the error message. I was using COMPLEX_1X for that 22500 Ksps which is over the 37.5 Msps rate. I changed it to REAL and it was able to get pass that problem.

    However, we are not getting correct RDM output or BeamForm (Angle of Arrival) data. Is there something in the processing chain that needs to be changed to support Long Range Radar? The intent was to test Long Range chirp config on the satellite radar module before we integrate our Long Range antenna to the AWR1243 to pickup targets at beyond 300 meters.

    Thanks,
    --Khai
  • Khai,

    We are looking in the team that develops that code for the AWR1243 when using an external host. Please allow some time for a response.

    Regards,
    Kyle
  • Khai,

    The processing chain always assumes complex data as the input. You would need to convert the real data that you are input to complex data before sharing with the EVE processing for Range FFT. (add 0s between real samples to emulate a + i0)

    Thanks and Regards,
    Piyali