There is no ttyTHS1 on nano. How to use J41 UART port pins 8 and 10.
How do I know which ttyTHS for J41 UART port pins 8 and 10?
ls /dev/ttyTHS*
/dev/ttyTHS0 /dev/ttyTHS3 /dev/ttyTHS4
uname -r
5.10.120-tegra
Hi szcszc123,
Are you using the devkit or custom board for Orin Nano?
What’s the Jetpack version in use?
Please share the result of cat /etc/nv_tegra_release
on your board and the full dmesg for further check.
You can refer to Jetson/L4T/peripheral/ - eLinux.org for the UART mapping, it should be /dev/ttyTHS0
for the one from 40-pins expansion header.(J12)
I’m not clear about J41. Is it from your custom carrier board?
cat /etc/nv_tegra_release
R35 (release), REVISION: 4.1, GCID: 33958178, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug 1 19:57:35 UTC 2023
I am using the devkit board for Nano.
I want use uart pin 8 and pin 10 from 40-pins. pin 8 and pin 10 are uarta by /opt/nvidia/jetson-io/jetson-io.py.
Refer to Jetson/L4T/peripheral/ - eLinux.org for the UART mapping. So it is /dev/ttyTHS0. Right?
UART0 => UART2(PX04, PX05, PX06, PX07): uartb@3110000 (serial1) - Unused => To M.2 Key E
UART1 => UART1(PR02, PR03, PR04, PR05): uarta@3100000 (serial0) - /dev/ttyTHS0 => General UART
UART2 => UART3(PCC05, PCC06): uartc@c280000 (serial2) - /dev/ttyTCU0 => Debug
Okay, please use /dev/ttyTHS0
for this UART interface, it should be enabled by default.