I’m trying to use UART0 on Jetson orin nx and using picocom to get message and nothing is received despite seeing a signal being received on the oscilloscope is it disabled by default or how to enable it for general use
Hi eslam.emara1999,
Are you using the devkit or custom board for Orin NX?
What’s the Jetpack version in use?
Have you tried to short UART-TX and UART-RX to perform loopback test?
Please share the full dmesg for further check.
Hi, I’m using a custom board for orin NX with the latest jetpack 6.2
i haven’t tried the loopback i don’t have the required connectors for it yet , i have attached the dmesg output
log.txt (63.2 KB)
I have made the loopback test and it doesn’t echo also
You can simply short them(TX/RX) with a cable.
Do you run the following command for the loopback test?
$ sudo su
# stty -F /dev/ttyTHS1 115200 raw -echo
# cat /dev/ttyTHS1 &
# echo "test" > /dev/ttyTHS1
What’s the UART0 do you mean?
Is it the one from 40-pins expansion header? Or the one from M.2 Key E?
Thanks for your reply, i was trying to use UART0 which maps to uartB/UART2 on the M.2 Key E, i figured out a solution i had to modify the dtb to include the following
serial@3110000 {
resets = <0x03 0x65>;
interrupts = <0x00 0x71 0x04>;
clocks = <0x03 0x9c>;
compatible = "nvidia,tegra194-hsuart";
reset-names = "serial";
status = "okay";
reg = <0x00 0x3110000 0x00 0x10000>;
};
serial3 = "/bus@0/serial@3110000";
uartb = "/bus@0/serial@3110000";
right now it’s working fine and found on THS3
Yes, it could be used through /dev/ttyTHS3
since you’ve configured the aliases “serial3” for serial@3110000
hree