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.

AWR1642BOOST: How to understand the definition of the terms used in the DataCaptureDemoxWR.lua

Part Number: AWR1642BOOST

Hi,

I wanted to understand the .lua code used in the file DataCaptureDemoxWR.lua. However, I am unable to understand the definition of the used terms such as ar1.LPModConfig(0, 1) == 0), ar1.ProfileConfig(), etc. 

Could you help me with any resources to understand the code?.

Best
Deepu
  • Hi,

    I recommend that you start first by configuring the device using the mmWave Studio GUI instead of LUA scripts. Please use this video as  a starting point:

    DCA1000 Training Video | Video | TI.com

    After understing the different steps required to configure the sensor you will be able to better understand the LUA script. Usually the LUA script commands map to the GUI configuration steps.

    Thank you

    Cesar

  • Hello, I watched the DCA1000 training video, but I'm having trouble understanding the sequence of attributes in the Lua script code. Generally, we don't set all the attribute values for the configuration and so I am confused that how and what order values in the code snippet follow.

    For instance, in the code snippet provided, what are the names and order of the attribute values used in the ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0) configuration?

    Best

    Deepu

  • Hi,

    In the mmWave Studio GUI, after configuring the parameters please click "Set" this will generate the command in the window. This helps to identify which parameters are used in the APi command.

    Please see attached an example for  ar1.ProfileConfigar1_ProfileConfig.pdf

    Thank you

    Cesar