Main Content

Serial Port (USB) Connection Issues

Issue

  • Data port and Config port selection in the Flash Binary or Test Connection screen of the Hardware Setup process does not display the correct serial port or sometimes, no serial port.

  • Clicking Flash Binary or Test Connection buttons in Hardware Setup process fails with connection errors.

  • mmWaveRadar object creation fails with connection errors.

  • Tab completion option for ConfigPort and DataPort name-value arguments does not show the required ports.

Solution

  1. Ensure that the Texas Instruments® (TI) mmWave Radar is properly plugged in.

  2. Check if the serial ports (Data port and Config port) corresponding to radar sensor are listed in the Device manager. The serial ports should appear as mentioned in Finding COM Ports from Device Manager.

  3. If the ports do not appear as mentioned in step 2, you may need to install the required USB drivers (Silicon Labs CP210x Driver). To install the required drivers, run hardware setup screens by calling mmWaveRadarSetup function.

    After installation, reconnect the device and check the Device manager to see if the ports are listed as mentioned in step 2. If the ports do not show in the Device manager, you may need to update the driver again:

    1. Open Device Manager.

    2. Identify the COM port corresponding to the TI mmWave radar sensor connected to your computer.

      Note

      The port may appear under Other Ports section in Device Manager because the driver installation was not successful previously.

    3. Right-click the port name and click Update Driver. Perform this action for both data port and configuration port of the radar sensor.

    4. Wait for the update to be completed, and then go to Flash Binary or Test Connection screen of the Hardware Setup process and select the correct COM ports.

  4. Ensure that the serial ports required for connection with the TI mmWave Evaluation Module are not being used by any other application. To check if a serial port is available for use in MATLAB, execute the following command in MATLAB and verify that the required port is listed:

    serialportlist("available")

  5. If you are using an IWRL6432BOOST board in low-power mode, ensure that you perform a board reset before creating a connection using the mmWaveRadar object or before calling the mmWaveRadar object again after releasing the existing object.