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.

AWR2243: Advance Configurations

Part Number: AWR2243

Dear Experts

I'm trying the  configurations for advance frames and chirps,One question is as follows:

For the  chirpParamIndex = CHIRP_PROFILE_SELECT,

 1 subframe with 2 bursts,2 profiles(profile0 for burst0,profile1 for burst1),768 chirps(each burst) 

 

How to set the parameters of advance chirps and frames?

 

Best regards

  • There are my parameters:

    AdvChirpCfgArgs.chirpParamIdx = 0;
            AdvChirpCfgArgs.resetMode = 1;
            AdvChirpCfgArgs.lutResetPeriod = 0;
            AdvChirpCfgArgs.lutParamUpdatePeriod = 0;
            AdvChirpCfgArgs.lutPatternAddressOffset = 0;
            AdvChirpCfgArgs.lutBurstIndexOffset = 1;
            AdvChirpCfgArgs.numOfPatterns = 1;

            retVal = MMWL_advChirpConfig(deviceMap, &AdvChirpCfgArgs);
            if (retVal != RL_RET_CODE_OK)
            {
                return retVal;
            }

            ProfileCfgData[0] = 0;
            ProfileCfgData[1] = 1;


            /* fill up the Chirp LUT buffer which is used later for rlSetAdvChirpLUTConfig API */
            rlFillLUTParamsArgs.chirpParamIndex = RL_LUT_CHIRP_PROFILE_VAR;
            rlFillLUTParamsArgs.chirpParamSize = AdvChirpCfgArgs.lutChirpParamSize;
            rlFillLUTParamsArgs.inputSize = AdvChirpCfgArgs.numOfPatterns*2;
            rlFillLUTParamsArgs.lutGlobalOffset = gLutOffsetInNBytes;
            retVal = rlDevSetFillLUTBuff(&rlFillLUTParamsArgs, &ProfileCfgData[0], &AdvChirpLUTData[gLutOffsetInNBytes], &gLutOffsetInNBytes);

    The return code of MMWL_advChirpConfig is 0,but the return code of rlSetAdvFrameConfig is 313.

    Change the lutBurstIndexOffset  to 0,but the return code of rlSetAdvFrameConfig is 0.

    Please help analyze the parameters.

  • Hi,

    As you mentioned in your original post that you need ' 1 subframe with 2 bursts,2 profiles(profile0 for burst0,profile1 for burst1),768 chirps(each burst)'

    Do you need all these 768 chirps in that burst to be same or have some addition in parameters?? If all the chirps in single burst are same then you don't need to use advanced chirp config but use legacy chirp configuration to achieve this with help of advanced frame.

    .

    Advanced chirp feature is exemplified in the mmWaveLink_SingleChip_Example of mmWave DFP.

    Docs\ mmwave_dfp_user_guide.pdf (section 11.2) explains advanced chirp configuration in detail.

    .

    Now, in you above code snippet: 

    chirpParamIdx =0 ; i.e. CHIRP_PROFILE_SELECT

    You want to use two profile IDs then set numOfPatterns to '2'.

    While using advanced chirp, you need to invoke rlSetAdvChirpConfig multiple times to set all the parameters of chirp (chirpParamIdx = 0 to 9).

    .

    Regards,

    Jitendra

  • Hi Jiten,

    We want to use advanced chirp configuration because need to setup different bpm and tx enable. In the debug process, we met return error 313 which is 

    RL_RET_CODE_NUM_PATTERNS_PROGRAM_INVALID.
    To simplify the issue, we set all the numofPatterns to 1 and lutPatternAddressOffset to 0, in this case we did not find error. Then we tried to modify lutPatternAddressOffset  to 1 we saw the 313 error. The inputSize of LUT is 2 so it should not exceed the LUT table size.
    Could you please show me an example to setup different advanced chirp configuration in different burst? For example, if we need to use profile 0-1 in burst 1 and profile 2-3 in burst 2, how to set AdvChirpCfgArgs and rlFillLUTParamsArgs?
    Thank you.
    Allen
  • Hello Allen,

    Please provide me 2 days to write and test this scenario (configuration) at my end with AWR device.

    Regards,

    Jitendra