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.

AWR1843: MRR_GUI Demo Code Inquiry

Part Number: AWR1843

Dear TI,

I have a question about the Radar Toolbox for Medium Range Radar.

I was wondering if you could help me pinpoint in the MRR_GUI tool, a section of code we could manipulate/ derive to program our Raspberry Pi.

That section of code should be able to determine distance based on information gained from AWR1843, then based on data gained over time, should be able to communicate with Raspberry Pi by turning on red or green LEDs, for instance, if the distance is too close between the car and the radar, the LED is red. And if it is at a suitable distance, the LED remains green.

Any help suggesting parts of code in MRR GUI that could help us gain the same result but used to communicate with raspberry Pi and LEDs.

It is greatly appreciated.

Thanks.

  • Hi Amar,

    Please refer to the function read_serial_port_and_plot_object_location_with_serial_obd(). This part of the code will read the serial data from the UART port, parse the TLV data and plot on the GUI. When you read this serial data on your raspberry pi, you can check for distances of various objects detected and and perform LED switching. If you are looking to communicate with the device, there is an application port through which you can send CLI commands to the 1843. You can add your own commands as such.

    Regards,

    Kaushik

  • Hi Kaushik, 

    Thank you for your reply!  It was very helpful.

    Another question relating to the same topic

    . My group was wondering what numbers/parameters should be assigned to arguments in the "read_serial_port_and_plot_object_location_with_serial_obd" function. I have attached a picture that has highlighted variables/ arguments, that we are not sure what values should be set to use function correctly in Raspberry Pi.

    Any info that may help is greatly appreciated!

    Thanks,

    Amar.

  • Hi Amar,

    You can run the MATLAB source code directly with breakpoints instead of the executable and check the values of variables that you would require as a reference. Let me know if anything else is required.

    Regards,

    Kaushik

  • Hi Kaushik,

    Another question about the Matlab files: do you know where me and my group can find the "obd_serial" file? We need that file to manipulate the code to create our final product.

    Another question is what are the dimensions needed for the transceiver to read data correctly?

    Thanks,

    Amar.

  • Also, would you know the value needed for the record options as well?

  • Hi Amar,

    All the necessary info can be found by running the application with breakpoints as I have mentioned and would request you to do the same on your end.

    Regarding the data dimensions, I'm guessing you mean the information about the UART packet structure. This can either be found in the documentation for the demo or by going through the source code. If not, please explain what you meant by "dimensions".

    Let me know if anything is unclear.

    Regards,

    Kaushik