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.

AWR6843AOP EVM Read/Write serial ports and Configuration file modification

Other Parts Discussed in Thread: AWR6843AOP, UNIFLASH

Hi,

I am using AWR6843AOP EVM ES.3, I was trying to capture the sensor data through UART serial port. I was able to see the DATA port BUT unfortunately I was not able to figure out how to save them for further processing.

The steps I did as follow:

1) I use UniFlash to flash the mmWave SDK demo image.

2) I open mmWave Demo Visualizer to visualize the data/plot then disconnected.

3) I open Tera term to connect the serial ports and I could see some data in binary/hexadecimal in the DATA port.

4) I found a code online to read the serial port data through Visual Studio Code (Python) and I could see the Data port data on the screen but I don't know how to save them for further processing.

I have two questions:

1) How to save the sensor data from Data port through UART and coding?

2) How can I change the configuration file for read and write to the kit? is there any details reference for that?

I hope to hear from you soon. Thank you

Regards,

Sarah

  • Hi, 

    There are several options for the same. 

    1. Collect the raw data and process the same with terraterm

    - Flash the OOB demo code to the device 

    - Connect the data COM port and application COM port to Terraterm 

    - Enable data collection on Data COM port to save the data into a file

    - Send the chirp profile configuration from the application COM port 

    - Collect the data 

    - Do post processing of the data as per the tools provided in the SDK C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_script

    2. Using the industrial radar toolbox 

    - download the toolbox 

    - Install the visualizer tool C:\ti\mmwave_industrial_toolbox_4_10_0\labs\people_counting\visualizer

    - Use this tool to download the profile configuration file and collect the data. 

    Hope this helps

    Regards, 

    Sudharshan K N 

  • Hi, Thank you for your reply. I choose to go with this option:

    - Flash the OOB demo code to the device  (DONE)

    - Connect the data COM port and application COM port to Tera term (DONE)

    - Enable data collection on Data COM port to save the data into a file (Can you provide more details on this?)

    - Send the chirp profile configuration from the application COM port (Can you provide more details on this? where can I found the chirp profile configuration and how to send it through Tera Term?)

    - Collect the data (Can you provide more details on this?)

    - Do post processing of the data as per the tools provided in the SDK C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_script (I saw the code how Can I read the saved data?)

    I am new to all of that, your help is appreciated. Thank you

    Regards,

    Sarah

  • Where the data is stored after the uniFlash? and how can I open related file?

  • Hi, 

    The data is output over the serial interface over UART. Please refer to the SDK user guide for details. 

    - Enable data collection on Data COM port to save the data into a file (Can you provide more details on this?)

    You will need to connect the COM ports that are created to the Trrraterm tool. The data is streamed over UART. You can collect this data to file for post processing. 

    Regards, 

    Sudharshan K N 

  • Thank you for your help. Can I ask for a sample code please?

  • Hi, 

    The sample code to parse the UART data is already mentioned in this thread. C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_script. Please install the SDK to get access to these scripts. 

    Regards, 

    Sudharshan K N