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: Problem of collecting runtime sensor data

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: AWR1843

Hello, 

I'm now trying to collect the temperature of the radar chip of AWR1843BOOST controlled by mmWave demo visualizer,

and I would like to acquire the runtime sensor data of the demo mode setting.

Is there any possible way for me to get sensor data while AWR1843BOOST is working,

and what kind of data can I get.

Thank you for any help you can provide.

  • Hi,

    Yes, with the mmWave demo visualizer you can record the object data sent by the board to the visualizer.

    There is a parser script to parse recorded file

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

    Thank you

    Cesar

  • Hi,

    Thank you for your reply.

    I have a little problem with using this parser file as you mention above.

    When I run the code, 

    I used the configure file generated by mmWave demo visualizer as input argument,

    the console will show "Frame Fail, cannot find the magic words"

    I'm wondering how can I fix it,

    Another question is:

    In debug mode in CCS, we already get the run time temperature data.

    However, we can't use the same method on the demo mode setting

    Is it possible for me to get the AWR1843 chip temperature from reading the binary data?

    Thanks!

  • Hi,

    Did you record the data file from the visualizer using the "RECORD START" button in the "PLOTS" menu?

    It seems that the data you have recorded is not correct.

    Regarding the temperature reporting. The temperature information is not sent to the host and is not part of the data that is recorded.

    You would need to modify the demo to send this data to the host and then modify the python script to read it.

    thank you
    Cesar

  • Thank you for your reply.

    I can run the script file correctly right now.

    In mmWave demo visualizer,

    I already saw the temperature information on the profiling section in Plots.

    So if I would like to read the temperature of the chip on python,

    Is there any resource can I get to modify my demo?

    Thanks!

  • Hi,

    You would need to understand how a data buffer is sent by the UART to the PC Host

    Please see "MmwDemo_transmitProcessedOutput()" in

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

    If, in your application you don't use one of the message types, you could re-use it for your purpose.

    For example, you could re-use the "MMWDEMO_OUTPUT_MSG_RANGE_PROFILE" and replace the content

    Please review how this buffer is being sent through Uart

        if (pGuiMonSel->logMagRange)
        {
            tl[tlvIdx].type = MMWDEMO_OUTPUT_MSG_RANGE_PROFILE;
            tl[tlvIdx].length = sizeof(uint16_t) * subFrameCfg->numRangeBins;
            packetLen += sizeof(MmwDemo_output_message_tl) + tl[tlvIdx].length;
            tlvIdx++;
        }

    Thank you

    Cesar