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.

IWR6843: Query on HVAC Sense and Direct config commands part 2

Part Number: IWR6843

Hi Expert,

In the cli.c file, there are Live params for Sense and Direct lab:

extern int32_t LiveCFG_Allocation (int32_t argc, char* argv[]);
extern int32_t LiveCFG_Gating (int32_t argc, char* argv[]);
extern int32_t LiveCFG_State (int32_t argc, char* argv[]);
extern int32_t LiveCFG_Scenery (int32_t argc, char* argv[]);

What are the purpose of these parameters? Can user configure these parameters as well? How are they different from allocationParams, gatingParams etc.

  • These parameters are used for live configuration of the tracking parameters, which the user can configure themselves as well.  allocationParams and those parameters are sent prior to the sensor starting, while these live parameters are used during runtime while the sensor is functioning.  Although these parameters are not used in the sense and direct config file, you can see the arguments for each config commands at the end of the cli.c file.  Also, if you open the project in ccs, you can find the method definitions which are defined in task_app.c, and find that they are eerily similar to their Param counterparts, but are executed while the task is running.

    Hope this helps,

    Santosh

  • Hi Santosh,

    How do I go about changing this live parameters?

    Do I upload another .cfg file with these 4 commands?

    Can I check if the 'live' commands have the same argument as the params counterpart? e.g. LiveCFG_Allocation requires the same arguments as allocationParams.

    Thank you for your help.

  • You can send another cfg file through a terminal with those commands as you see fit.  Please refer to my previous reply to find where the arguments for the cli commands can be found.

    Sincerely,

    Santosh