Other Parts Discussed in Thread: UNIFLASH
I previously reported this issue in the Bluetooth forum as I've been working with the CC2652, though I didn't really get a solution. My issue is with the XDS110 debugger, and unrelated to the CC2652. See my previous post here: https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1009230/launchxl-cc26x2r1-xds110-uart-is-bursty-and-very-high-latency-under-certain-conditions
I've been using Launchpad boards with a built-in XDS110 debugger for development in my latency-sensitive application, and it's inconvenient to need to attach a separate FTDI cable for USB UART to achieve acceptable latency. At baud rates of 230400 and higher, the XDS110 appears to collect chunks of data over UART before sending to the USB host, and in some cases the USB host can end up needing to wait hundreds of milliseconds for UART data to be sent over. This burstiness/latency issue is most noticeable at moderate data throughput levels that are not saturating the UART but still fairly regularly sending data. The example code I gave in the previously linked E2E post is good at demonstrating such conditions, by sending around 16 bytes of data once every 15 ms. The latency testing Python script I made (in the linked post) shows the burstiness clearly, and I can still reproduce this issue on the latest XDS110 firmware (3.0.0.19) on Windows, Mac, and Linux.
As a temporary hack, to avoid the need for FTDI cables, I've lowered the baud rate in my application to 230399 as that is the highest baud rate where the XDS110 USB UART is not bursty. However, in some cases my application can saturate the UART throughput at this baud rate, hence why I was using a faster baud rate earlier.
Could you file a ticket with the XDS110 developers to improve the latency of the USB UART bridge under such conditions? This latency issue also impacts your SmartRF Sniffer 2 software which uses the XDS110 USB UART on development boards at 3M baud.