Changing Baud Rate on Xavier NX UART2 (/dev/ttyTHS0)

Hi,

I am trying to connect a Pixhawk to Xavier NX over UART.
From what I’ve been able to find, the UART baud on Jetson is limited to 115200 by default. If I try increasing the baud rate, I get a bunch of random garbage/errors in MAVProxy.

How can I change the baud rate to something like 1.5Mbps? From the documentation, its seems like this board can handle speeds up to 12Mbps.

I have found this forum post explaining this, but the instructions are unclear.
( How to make Nano's uart work at about 8Mbps baudrate?)

If anyone could provide step-by-step instructions on how to do this, that would be really helpful. Thanks!

Hi,
Please write a C sample like:
Jetson AGX Xavier UARt at Higher Baudrate

The structure of termios2 is defined in
Linux Kernel: termios2 Struct Reference

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.