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.

IWR6843AOPEVM: UART data received from the sensor

Part Number: IWR6843AOPEVM

mmWave Industrial Visualizer is not working for me. It often freezes when 4 or more people are present in the room.

I see the same issue when running the Visualizer directly from Python.

So, I've created a "UART_decode.py" file to read data directly from the sensor (see attached).

However, I don't see the frame header magic word in the received data: 0x0102, 0x0304, 0x506, 0x0708.

Can you share a Python script that would decode raw data? This script that would print "frame header" or "packet start" (when magic word is received). Any other examples would be very helpful.

Thank you!

  • Hi Don,

    What toolbox version are you using? Can you also please list the python version and package versions you're running?

    Best,

    Nate

  • Hi Nate,

    I've downloaded the latest "radar_toobox_1_00_00_26"; mmWave_Industrial_Visualizer.

    Python version is 3.10.5, for 64 bit computer. Package versions: 'certifi==2022.6.15', 'cffi==1.15.1', 'charset-normalizer==2.1.0', 'colorama==0.4.6', 'colorlog==6.7.0', 'construct==2.10.68', 'cryptography==37.0.4', 'idna==3.3', 'numpy==1.24.2', 'packaging==21.3', 'pip==23.0.1', 'pycparser==2.21', 'pyopengl==3.1.5', 'pyparsing==3.0.9', 'pyqt5-qt5==5.15.2', 'pyqt5-sip==12.11.1', 'pyqt5==5.15.9', 'pyqtgraph==0.11.0', 'pyserial==3.5', 'requests==2.28.1', 'setuptools==58.1.0', 'tqdm==4.64.1', 'urllib3==1.26.10', 'xmltodict==0.13.0'

  • Hi Don,

    Can you try upgrading to the radar toolbox 1.0.1.7?

    https://dev.ti.com/tirex/explore/node?node=A__AGvTEJkh-csqqwXnVhDbTQ__radar_toolbox__1AslXXD__LATEST&r=1AslXXD__1.00.01.07

    I would also use python 3.7.3 and the package versions in the setupEnvironment.bat (copied below).

    pip install pyqt5==5.15.4
    pip install pyopengl==3.1.5
    pip install numpy==1.19.4
    pip install pyserial==3.5
    pip install pyqtgraph==0.11.0
    pip install scikit-learn==0.21.2
    
    You may have to delete the package versions that are already downloaded onto your computer beforehand because some are newer than the versions we use. Alternatively, you may find that using a virtual environment works for you (this is my preferred solution).
     
    Finally, can you send us screenshots of the terminal when the visualizer freezes?
     
    Best,
    Nate