I am trying to access /dev/ttyTSH0 using 3-wire UART wires (TX, RX and Ground) - Pin 9 -GND, 8-UART1_TX, 10-UART1_RX but I am not able to find the port for UART1. On nano I get this output for command ls -l /dev | grep ttyTHS
crw-rw---- 1 root dialout 240, 1 Nov 22 2023 ttyTHS1
crw-rw---- 1 root dialout 240, 2 Nov 22 2023 ttyTHS2
I have also attached dmesg log. dmesg_log.txt (61.9 KB)
Thanks, changing the port from /dev/ttyTHS0 to /dev/ttyTHS1 worked. I am using the official devkit. Also, Is there any documentation available for JP6 or Orin Nano to find these serial port mapping?
There’s no document for the device node mapping for UART.
They are defined in device tree. You can check the device tree for the aliases and know how it configures the serial@3100000.
For the Jetpack 5, you can refer to Mapping.
For the Jetpack 6, I will also add more info on that page.