• TI Thinks Resolved

How to init the Chirp configuration

Prodigy 140 points

Replies: 6

Views: 194

For IWR6843 device ,I read the PC_mss_68xx project or the PC_dss_68xx project, I can't find where I can inti the Chirp parameters in the code , please guide me how to init it.Thank you !

  • Hello,

    in the people counting lab, the chirp parameters are specified via the profileCfg CLI command in the CFG file. The MSS project implements the CLI.

    Amanda

  • In reply to AmandaN:

    Thank you for your replay, dear Amanda ! Can you tell me which line of the code in the program(for example, for the PC_mss_68xx project) indicates that the parameter profile(mmw_pplcount_demo_default.cfg) is being invoked?

  • In reply to user6056030:

    Hi,

    The GUI sends the configuration file to the device. This is where you will find code that selects the configuration file. Line 61 in setup.m sets the default config value.

    Regards,

    Justin

  • In reply to Justin Curewitz:

    Is there a similar reference method(invoke XX.cfg)  in the clc. C file ? You see in the C:\ti\mmwave_sdk_<ver>\packages\ti\demo\xwr68xx\mmw\profiles, there is a profile_2d.cfg , I want to know how clc.c invoke it ? Thank you !

  • In reply to user6056030:

    Hi,

    Each command is sent over UART. When the command is received, the software associates the command with a specific function and calls that function. Please look at cli.c and cli_mmwave.c to see the functions and what they do.  These are in the SDK at 

    <SDK>/packages/ti/utils/cli/src/

    You can write a function that calls either the cli commands, or use the function calls inside the cli commands to initialize the device.

    Regards,

    Justin

  • In reply to Justin Curewitz:

    Thank you very much, Dear Justin !!