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.

AWRL6432: Question for CLI Remove

Part Number: AWRL6432
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Expert,

Continuing from the previous reply, I opened example.syscfg and examined its contents. I found that the settings inside are incomplete (as attached). For example, the setting for mpd_demo1.frameCfg should correspond to “frameCfg 2 0 200 64 250 0” in MotionDetect.cfg, but the description for mpd_demo1.frameCfg seems to be missing three parameters. The same goes for other commands. Is this normal?

Thanks

Daniel

  • Hey Daniel,

    Thanks for reaching out regarding the CLI Removal feature. One of our engineers will respond to you within the next two days.

    Regards,

    Kristien

  • Hi Kristien

    Is there any update?

    Thanks

    Daniel

  • Hi Daniel,

    Sorry for the delay on this topic. It will be some time before we get more feedback from the SDK team on this. I will do some more debug and see if I can replicate your issue. I will follow up in a day or so.

    Thanks,

    Clinton

  • Hi Daniel,

    Could you check that this file is generated by sysconfig? This file is where the values for the config are picked up. Do the match what you expect based on the json file you input?

    Thanks,

    Clinton

  • Hi~

    I compared the differences between "ti_cli_mpd_demo_config.h" and my JSON file (CLI_Rem_CPD.json). 

    The parameters angleHeatmapGenCfg and clusterCfg are missing, and cfarCfg is missing some arguments. 

    What should be our next step? We want to quickly develop the CPD functionality on the 6432 AOP. Thank you!

    Below is the content of my JSON file:

    {
        "channelCfg":
        {
            "rxChCtrlBitMask": "7",
            "txChCtrlBitMask": "3",
            "miscCtrl":        "0"
        },
        "chirpComnCfg":
        {
            "digOutputSampRate": "40",
            "digOutputBitsSel":  "0",
            "dfeFirSel":         "0",
            "numOfAdcSamples":   "128",
            "chirpTxMimoPatSel": "1",
            "chirpRampEndTime":  "61.0",
            "chirpRxHpfSel":     "2"
        },
        "chirpTimingCfg":
        {
            "chirpIdleTime":       "7",
            "chirpAdcSkipSamples": "24",
            "chirpTxStartTime":    "0",
            "chirpRfFreqSlope":    "65",
            "chirpRfFreqStart":    "57.5"
        },
        "frameCfg":
        {
            "numOfChirpsInBurst": "2",
            "numOfChirpsAccum":   "15",
            "burstPeriodicity":   "4080",
            "numOfBurstsInFrame": "16",
            "framePeriodicity":   "200.0",
            "numOfFrames":        "0"
        },
        "antGeometryCfg":
        {
            "vAnt0_row": "1",
            "vAnt0_col": "1",
            "vAnt1_row": "1",
            "vAnt1_col": "0",
            "vAnt2_row": "0",
            "vAnt2_col": "1",
            "vAnt3_row": "1",
            "vAnt3_col": "3",
            "vAnt4_row": "1",
            "vAnt4_col": "2",
            "vAnt5_row": "0",
            "vAnt5_col": "3",
            "antDistX":  "2.5",
            "antDistZ":  "2.5"
        },
        "guiMonitor":
        {
            "pointCloud":          "2",
            "rangeProfile":        "0",
            "noiseProfile":        "0",
            "rangeAzimuthHeatMap": "0",
            "rangeDopplerHeatMap": "0",
            "statsInfo":           "1",
            "presenceInfo":        "0",
            "adcSamples":          "0",
            "trackerInfo":         "0",
            "microDopplerInfo":    "0",
            "classifierInfo":      "0",
            "quickEvalInfo":       "0"
        },
        "sigProcChainCfg":
        {
            "azimuthFftSize":                  "32",
            "elevationFftSize":                "16",
            "motDetMode":                      "2",
            "coherentDoppler":                 "0",
            "numFrmPerMinorMotProc":           "4",
            "numMinorMotionChirpsPerFrame":    "16",
            "forceMinorMotionVelocityToZero":  "0",
            "minorMotionVelocityInclusionThr": "20"
        },
        "angleHeatmapGenCfg":
        {
            "caponEnabled":                    "1",
            "doppBinningEnabled":              "1",
            "doppSelMinBin":                   "-4",
            "doppSelMaxBin":                   "4"
        },
        "cfarCfg":
        {
            "averageMode":            "2",
            "winLen":                 "8",
            "guardLen":               "4",
            "noiseDiv":               "3",
            "cyclicMode":             "0",
            "thresholdScale":         "9.0",
            "peakGroupingEn":         "0",
            "secondPassEn"  :         "1",
            "winLen":                 "4",
            "guardLen":               "6",
            "noiseDiv":               "2",
            "thresholdScale":         "9.0",
            "sideLobeThreshold":      "0.9",
            "enableLocalMaxRange":    "0",
            "enableLocalMaxAzimuth":  "0",
            "enableLocalMaxElevation":"1",
            "interpolateRange":       "1",
            "interpolateAzimuth":     "1",
            "interpolateElevation":   "1",
            "DynCFAREn":              "1",
            "maxSNR_range":           "0.5",
            "flatSNR_range":          "1.5",
            "polyQuadCoeff":          "0.15"
        },
        "aoaFovCfg":
        {
            "minAzimuthDeg":   "-60",
            "maxAzimuthDeg":   "60",
            "minElevationDeg": "-60",
            "maxElevationDeg": "60"
        },
        "rangeSelCfg":
        {
            "minMeters": "0.2",
            "maxMeters": "2.2"
        },
        "clutterRemoval":
        {
            "enabled": "1"
        },
        "compRangeBiasAndRxChanPhase":
        {
            "rangeBias":     "0.0"
        },
        "lowPowerCfg":
        {
            "enable": "0"
        },
        "factoryCalibCfg":
        {
            "saveEnable":    "1",
            "restoreEnable": "0",
            "rxGain":        "36",
            "txBackoff":     "3",
            "flashOffset":   "0x1FF000"
        },
        

        "clusterCfg":
        {
            "enable": "0",
            "radius": "0.5",
            "minpoints": "2.2"
        },
        "sensorStart":
        {
            "frameTrigMode":     "0",
            "chirpStartSigLbEn": "0",
            "frameLivMonEn":     "0",
            "frameTrigTimerVal": "0"
        }
    }

  • Hi,

    Thanks for the additional details. I'll work on replicating your scenario and I will follow up. 

    Thanks,

    Clinton

  • Hi,

    In the mmw_cli.c file of other examples, we noticed that the conditional compilation statement is #if (CLI_REMOVAL == 0 && DYNAMIC_RECONFIG == 1), whereas in 6432AOP CPD example project, it is #if (FEATURE_LITE_BUILD_EN == 0 && DYNAMIC_RECONFIG == 1). Could this be one of the reasons why CLI Removal cannot be enabled? Of course, there is also the issue of incomplete argument import mentioned earlier.

  • Hello,

    Clinton is currently out today, but I wanted to throw in a comment here in the meantime. The CPD demo currently supports SDK 5.4.0.1 which is when CLI Removal was originally called Feature Lite Build. If you import any projects that reference any version at or above SDK 5.5, they will reference CLI Removal instead. These are functionally the same feature but with different names.

    Regards,

    Kristien

  • I will try modifying the "Feature Lite Build" name mentioned above and see if that helps. Additionally, do you have any suggestions regarding the issue with ti_cli_mpd_demo_config.h?

  • Hi,

    That also looks like an artifact that this project was build with SDK 5.4.0.1 when it was 'FeatureLiteBuild'. If you take a look at the FeatureLiteBuild.json in that SDK example directory, you'll see it does not contain angleHeatmapGenCfg, clusterCfg and has a slightly different cfarCfg.

    C:\ti\MMWAVE_L_SDK_05_04_00_01\examples\mmw_demo\motion_and_presence_detection\profiles\xwrL64xx-evm\FeatureLiteBuild.json

    Is it possible for you to move forward with your testing or do you foresee issues?

    Thanks,

    Clinton

  • Hi,

    I am currently using 5.5.0.2 for presence detection, and other experiments are also working well. I don't plan to test with 5.4 for now. Will this CPD issue be fixed in the next version of the toolbox? Or is it only possible to implement the CLI remove feature in CPD using SDK 5.4?

    thanks

  • Hi,

    It sounds like you able to work with the motion and presence demo out of 5.5.2.0. I have taken note that this demo is running on 5.4. The update could end up in the next release. It would be noted in the release notes for this demo in the toolbox. Here's a direct link to the current release notes for reference.

    https://dev.ti.com/tirex/content/radar_toolbox_2_20_00_05/source/ti/examples/InCabin_Sensing/AWRL6432_Life_Presence_Detection_Demo_Capon2D/docs/AWRL6432_Life_Presence_Detection_Capon2D_release_notes.html

    Thanks,

    Clinton