Cannot configure UART port properties

We are trying to use the /dev/ttyTHS0 UART port on a Jetson Xavier to communicate with an external microcontroller. Following the post here as a guide we have modified the device tree to remove the default debug console on the UART port. This was done by removing bootargs =“console=ttyTCU0,115200” from Linux_for_Tegra/source/public/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi. We can successfully send data through this UART with this change, but the port emits 0xFF 0xFF for every 0xFF piped into it. Similarly we get a 0x0D 0x0A for every 0x0A piped in. No matter what port settings we change, the behaviour remains, even changing the baud rate, it will continue to operate at 115200 baud. What can we do to unlock the port properties?

1 Like

hello user59604,

Xavier series is using combined UART, you need to disable Xavier combined uart TCU for general UART communication.
please check Topic 182785 to disable combined uart and assign the correct uart port for the logs.

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