Not able to access/find /dev/ttyTHS0 on Jeton Orin Nano Devkit - NVIDIA Official Board

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)

Hi jalayrupera13,

Are you using the devkit or custom board for Orin Nano?

[    0.000000] kernel: Linux version 5.15.136-tegra (buildbrain@mobile-u64-6367-d8000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08) 11.3.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Mon May 6 09:56:39 PDT 2024 ()

It seems you are using JP6.0GA (K5.10.136).

[    3.810660] kernel: 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART

To access the UART from PIN8/PIN10 of 40 pin-header, it is the node /dev/ttyTHS1 in JP6.

Hi Kevin,

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.

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