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.

IWR1443BOOST: Unable to read UART data

Part Number: IWR1443BOOST

Hello,

I am able to run the out of the box SDK demo successfully through CCS and able to view on the mmWave demo visualizer. However, I need the xyz co-ordinates of the detected objects. To obtain this data, I have tried Tera Term and the terminal present in CCS. I have also tried setting the expression in the debug window of CCS, all of which have failed.

TeraTerm gives an access denied error while the demo visualizer is running. The terminal in CCS says closed once the COM port and Baud rate is set and the expressions window says identifier not found followed by the expression name. How do i overcome these errors and obtain data? I am unable to view the buffer in which UART is writing. I have attached a screenshot for reference.

Regards,
-Sushen

  • Hi Sushen,

    1. TeraTerm gives an access denied error while the demo visualizer is running.

    This is because the COM ports can be opened by one application at a time and the demo visualizer has them opened. You can close the demo visualizer (close the browser window) once the demo is running and open the Control and Data COM ports in TeraTerm. The Application/User UART (i.e. control port) is configured at a baud rate of 115200 and the Auxilliary/Data UART is configured at baud rate of 921600. You will see data coming over the DATA COM Port. Note that you will need to decode the UART stream (which is what the visualizer does) according to the format defined in the mmw demo doxygen documentation which is available in C:\ti\mmwave_sdk_<ver>\packages\ti\demo\xwr14xx\mmw\docs\doxygen\html\index.html.

    2. The expressions window says identifier not found followed by the expression name.

    You cannot look at local variables while the code is running so you need to put a breakpoint in the function MmwDemo_transmitProcessedOutput where the detected object data is written to UART and you should be able to look at the buffer contents in the variables tab (as objOut is a local pointer).

    Please mark the above thread as resolved if your question is answered otherwise get back if more support is needed.

    Thanks

    -Nitin