Orin ttyTHS1 can’t work

Hi, I open the ttyTHS1 but can’t send and receive data.
kernel init log as follow:
nvidia@nvidia-desktop:~$ sudo dmesg |grep tty
[ 0.000861] printk: console [tty0] enabled
[ 0.290106] 31d0000.serial: ttyAMA0 at MMIO 0x31d0000 (irq = 87, base_baud = 0) is a SBSA
[ 1.624167] printk: console [ttyAMA0] enabled
[ 2.413318] printk: console [ttyTCU0] enabled
[ 8.741907] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 26, base_baud = 0) is a TEGRA_UART
[ 8.757829] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 85, base_baud = 0) is a TEGRA_UART
[ 8.773679] 3130000.serial: ttyTHS3 at MMIO 0x3130000 (irq = 86, base_baud = 0) is a TEGRA_UART
[ 14.448351] systemd[1]: Created slice system-serial\x2dgetty.slice.
nvidia@nvidia-desktop:~$

and check the proc fs, the driver has send data but didn’t receive anything:

root@nvidia-desktop:/proc/tty/driver# cat tegra_hsuart
serinfo:1.0 driver revision:
0: uart:TEGRA_UART mmio:0x03100000 irq:26 tx:0 rx:0 CTS
1: uart:TEGRA_UART mmio:0x03110000 irq:85 tx:43 rx:0 RTS|CTS|DTR
3: uart:TEGRA_UART mmio:0x03130000 irq:86 tx:23 rx:6 CTS

the other uart ports(THS0,THS3) can work.
Could you provide any suggestion for this issue?

Hi ekeechg,

It seems a duplicate topic as Orin ttyTHS1 can’t work - Jetson & Embedded Systems / Jetson AGX Orin - NVIDIA Developer Forums, let’s just discuss there.

OK.

I use AGX Orin.
I connect ttyTHS1 to my computer, and use minicom opening the serial port, send and receive data.
when I send data from Orin, there is no signal in tx pin.
and when I send data to Orin, I can see signal in rx pin from oscilloscope, but Orin can’t get any data.

here is the drivers snd/rec count:
/proc/tty/driver/tegra_hsuart
1: uart:TEGRA_UART mmio:0x03110000 irq:85 tx:43 rx:0 RTS|CTS|DTR

I guess it may be the pinmux config problem, and double check the config, but no help.

Are you using the devkit or custom carrier board?

Are you using TTL cable from USB port of your host PC to the UART pin on AGX Orin?
Do you enable HW flow control in your case?

ttyTHS1 seems the UART5 coming from M.2 Key E port.
Have you confirmed that you are using the correct UART interface?
Unable to correspond to "func" and "uart_tx" - #3 by KevinFFF

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