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.

AWR1642: how to configurate the chirpCfg fast!

Part Number: AWR1642

hi 

i wanna configuration 512 chirpcfg on my code.the way i used is configurated one by one so far,but it take to much longer time.

Will it be efficiency when i change it to 8 by 8 or 32 by 32?  or how to configuration will be the best way for that?

 8 by 8 configureation for instance code section:

for(ChirpCntGrp1 = 0 ; ChirpCntGrp1 <512; ChirpCntGrp1 ++){

chirpCfg[ChirpCnt].chirpStartIdx = ChirpCntGrp1 ;
chirpCfg[ChirpCnt].chirpEndIdx = ChirpCntGrp1;
chirpCfg[ChirpCnt].freqSlopeVar = (int16_t)(0 * ((uint64_t)(1<<26))) / ((uint64_t)(3.6*1e9*900));
chirpCfg[ChirpCnt].idleTimeVar = (uint32_t)((float)0 * 1000 / 10);
chirpCfg[ChirpCnt].adcStartTimeVar = (uint32_t)((float)0 * 1000 / 10);
chirpCfg[ChirpCnt].profileId = 0;

chirpCfg[ChirpCnt].txEnable = 2;

chirpCfg[ChirpCnt].startFreqVar = (uint32_t)(((ChirpCntGrp1*200e3) * ((uint64_t)(1<<26))) / (3.6*1e9)) + \

                                             (uint32_t)(((ChirpCntGrp2*0.6e6) * ((uint64_t)(1<<26))) / (3.6*1e9));

ChirpCnt++;

if(ChirpCnt == 8){

errCode = rlSetChirpConfig(RL_DEVICE_MAP_INTERNAL_BSS, 8U, &chirpCfg[0]);

ChirpCnt = 0;

}

if (errCode != RL_RET_CODE_OK)
{
/* Error: Setting the chirp configuration failed */
return errCode;
}

}

BR

HAVI