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.

IWR1642BOOST: Baud rate can it be slowed down?

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: IWR1642

Hi All, 

I'm new to TI products and community, I'm working for a company and they have given me an iwr1642boost, to develop into something we could integrate into one of the products we manufacture. I have got it up and running on my pc and I'm happy with the capabilities of the device and its accuracy. but when looking into the developing my own firmware so I could link into our product I found that the UART baud rate is really high, the devices that my boss what me to integrate with can only handle 115200, we don't need all the information such as point cloud data and velocity of objects just the number of objects. is it going to be possible to do this without the need for co-processor in between the device and the mmwave chip?

  • Hi Marcus,

    You can reduce UART baud rate by changing the UART initialization parameters. There are two UARTs on the IWR1642, one is the control UART which is used for sending configuration commands and responses and the second one is the data UART which is used for sending the point cloud data out. The default configuration in the mmWave Demo code initializes the control UART to 115200 and the data UART to 921600 as defined in the main() function in mmwave_sdk_<ver>\packages\ti\demo\xwr16xx\mmw\mss\mss_main.c.

    /* Initialize the DEMO configuration: */
    gMmwMssMCB.cfg.sysClockFrequency = MSS_SYS_VCLK;
    gMmwMssMCB.cfg.loggingBaudRate = 921600;
    gMmwMssMCB.cfg.commandBaudRate = 115200;

    You can change the data UART rate (named loggingBaudRate) in this code, rebuild and flash the binary onto the EVM to test. Please make sure to change the UART configuration in the mmWaveDemoVisualizer settings to match the data rates selected here when testing.

    Also note that you don't need a co-processor to interface with the mmWave sensor UART. The TIVA micro-controller on the IWR1642BOOST EVM is required only for the EVM to provide JTAG Emulation support as well to convert the device UART to USB so that it can be connected to a PC over USB.  

    Thanks

    -Nitin