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.

AWR1243BOOST: Cant set chirp config through mmavelink_example

Part Number: AWR1243BOOST
Other Parts Discussed in Thread: AWR1243

Hi, 

I am working on awr1243 with devpack, and try to run mmwavelink_example on it.

Q1: I found this mistake: 

Calling rlSetChirpConfig with
ProfileId[0]
Start Idx[0]
End Idx[0]
*** Failed - Parameters are mismatched GetChirpConfig compare to rlSetChirpConfig ***
*** getChirpCfgArgs[1].profileId = 0 while setChirpCfgArgs[0].profileId = 0 ***
*** getChirpCfgArgs[1].freqSlopeVar = 0 while setChirpCfgArgs[0].freqSlopeVar = 0 ***
*** getChirpCfgArgs[1].txEnable = 2 while setChirpCfgArgs[0].txEnable = 1 ***
*** getChirpCfgArgs[1].startFreqVar = 0 while setChirpCfgArgs[0].startFreqVar = 0 ***
*** getChirpCfgArgs[1].idleTimeVar = 0 while setChirpCfgArgs[0].idleTimeVar = 0 ***
*** getChirpCfgArgs[1].adcStartTimeVar = 0 while setChirpCfgArgs[0].adcStartTimeVar = 0 ***
Chirp Configuration success for deviceMap 1

In config file, I set txEnable to 1 but it seems like it does not set to radar somehow, Could you explain this to me?

Q2: Later I also want to run 2*4 MIMO on 1243, in which case I need to set two different chrip files. But in config file it does not have a block like "manage chip" in radar studio. How could I do "manage chip" in mmwavelink_example?

  • Hi,

    Have you made any changes to the configuration?

    The example has been tested and should be running out of the box

    Thank you
    Cesar
  • I do not think so though, I will try to re-install it again.

    How about Q2, Can we configure mutiple TX at the same time as MIMO ?
  • Hi,

    You can define as many chirp as you prefer.

    For e.g. Below configuration would configure 2 chirps in MIMO. You can modify it for your specific configuration
    =================================================

    int MMWL_chirpConfig(unsigned char deviceMap)
    {
    int retVal = RL_RET_CODE_OK;
    rlChirpCfg_t setChirpCfgArgs[2] = {0};

    setChirpCfgArgs[0].chirpStartIdx = 0;
    setChirpCfgArgs[0].chirpEndIdx = 0;
    setChirpCfgArgs[0].profileId = 0;
    setChirpCfgArgs[0].txEnable = 1;

    setChirpCfgArgs[1].chirpStartIdx = 1;
    setChirpCfgArgs[1].chirpEndIdx = 1;
    setChirpCfgArgs[1].profileId = 0;
    setChirpCfgArgs[1].txEnable = 2;

    /* With this API we can configure max 512 chirp in one call */
    retVal = rlSetChirpConfig(deviceMap, 2U, &setChirpCfgArgs[0]);

    return retVal;
    }

    int MMWL_frameConfig(unsigned char deviceMap)
    {
    int retVal = RL_RET_CODE_OK;
    rlFrameCfg_t frameCfgArgs = { 0 };

    frameCfgArgs.chirpStartIdx = 0;
    frameCfgArgs.chirpEndIdx = 1;
    frameCfgArgs.framePeriodicity = 20000000;
    frameCfgArgs.numAdcSamples = 512;
    frameCfgArgs.numFrames = 8;
    frameCfgArgs.numLoops = 32;
    frameCfgArgs.triggerSelect = 1;

    retVal = rlSetFrameConfig(deviceMap, &frameCfgArgs);
    return retVal;
    }
    =================================================

    Regards,
    Kaushal