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.

CCS/AWR1642: Signal Chain CLI - API

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi,

My goal is to write custom configuration commands for the CLI - like sensor start/ stop for example.

Starting out it needs no functionality. When entered the command should simply be recognized with the "Done" echo.

Currently I understand that the cli.c in C:\ti\mmwave_sdk_01_02_00_05\packages\ti\demo\xwr16xx\mmw\mss are added to a table.

How is the input further processed? 

The cli.c under utils C:\ti\mmwave_sdk_01_02_00_05\packages\ti\utils\cli\src is tokenizing a UART stream and confirming Done/Error.

How are the functions further resolved to API calls by mmwavelink.h

Any guidance would be apprechiated.

  • Hi,

    What application are you working on?

    Thank you
    Cesar
  • The program I am using or end application?

    I hope to build, make and flash the new demo binary for first tests. Outputs are displayed in the mmWave Demo Visualizer CLI.
    Afterwards similar changes should be applied to the capture demo with the DEVPACK for further data processing.
  • Just to give an update.

    Writing a dummy function in the Demo cli.c with return 0 which is handed to the tokenizer in cli.c under utils worked out.

    i followed the mmWave SDK 1.1 User Guide 4.5.1./2./3. for building and flashing the new xwr16xx_mmw_demo.bin

    The command is now shown and confirmed with Done in the CLI

    However I am still not understanding how commands are resolved to API calls.

    Besides I found some CLI commands in the .c file but not all. Where is the extension to be found?

  • Hi,

    I think it would be useful to set breakpoints in the code and step through it in order to understand how it works.

    I order to do that you will need to update the config file in order to run a single frame.

    Please set in frameCfg the field "number of frames" to "1". The definition of frameCfg can be found in the SDK user's guide

    thank you
    Cesar