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.

AWR1843BOOST: Accessing CFAR detection list

Part Number: AWR1843BOOST

Hi Team,

Can you please help us regarding the customer's inquiry below,

In the demo code provided by TI for AWR1843BOOST in SDK 03_02_00_04, I am having trouble accessing the list of CFAR detections. Can you please direct me to the buffer where detections for each frame are stored.

Regards,

Danilo

  • Hi,

    Please search the"cFarRngDopSnrList"

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\dpu\aoaproc\src\aoaprochwa.c

    Thank you

    Cesar

  • Hi Cesar,

    Thank you for your response. According to our customer,

    Yes, I already have gone through aoaprochwa.c file. To be specific I want to use cfar detections in amss1 project to be able to write them to output file via UART. I am not able to figure out how to access these detection list in amss1 project. please help!

    Regards,

    Danilo

  • Hi,

    I am not sure what the amss1 project is.

    In order to transfer a buffer via the UART, one must follow the example provided for the other buffers transferred with the UART.

    Please see

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw\mss\mms_main.c

    MmwDemo_transmitProcessedOutput()

    For example, one can use "noiseProfile" as an example

    thank you
    Cesar

  • Hi Cesar, 

    We have received this feedback from our customer.

    You are correct. I am trying the same. I updated the structure "DPC_ObjectDetection_ExecuteResult" in objectdetection.h so that it can hold cfardetection list pointer. Then assigned the pointer the address in "DPC_ObjectDetection_execute" function inside objectdetection.c file. This is then stored to buffer. I accessed the buffer data in mss_main.c but when I try to print values from cfardetectionlist I get this error "Exception occurred in ThreadType_Task (Terminating execution)". Can you please help?

    Regards,

    Danilo

  • Hi,

    You can't print during real time execution because the print will take too long and the execution will abort.

    You can set a breakpoint and stop the execution. In this case you can inspect the list of CFAR detections only for the specific frame

    Or, you can send for every frame the buffer using UART to a host GUI in the same way the SDK demo is doing it.

    Then on the host GUI you can save for each frame the buffer to a file.

    The mmWave SDK GUI already supports recording the data received from the UART.

    In the mmWave Demo Visualizer, see  Plots, RECORD START

    There is a python script provided to parse the recorded file.

    It is provided  in

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_scripts\mmw_demo_example_script.py

    Thank you

    cesar