3.30 UART Serial Communication
[!IMPORTANT] This page is intended for the Seeed
reComputer J401carrier-board family, such asreComputer J4012. UART pin exposure and serial-device names can vary across different Jetson boards.
Introduction
UART is a simple serial communication interface that is often used to connect MCUs, GPS modules, serial sensors, and upper-computer tools. On the 40-pin header, it is a convenient way to test point-to-point serial communication.
Hardware Connection
For a loopback test, connect pin 8 and pin 10 with a jumper wire.

Serial Test with cutecom
Install and launch cutecom:
sudo apt update
sudo apt install cutecom -y
sudo cutecomOpen /dev/ttyTHS1 in cutecom, type data into the input field, and verify that the transmitted data is received back through the loopback connection.

If
/dev/ttyTHS1cannot be opened, you can temporarily adjust permissions withsudo chmod 666 /dev/ttyTHS1.