Good question. I wonder why, but at least it’s more than 1V and closer to 3.3V.
I checked with the analyzer and ttyTHS0 TX (uarta@3100000 (serial0)) is actually 3.2V.
No, sorry, I could explain myself better. I wired TX and RX to the digital analyzer and I saw the RX (channel 5) was actually ~0V. Is ti correct 0V?
I only tried to send data from TX as you can see in the image.
Here a loopback test where I analyze the transmission between TX and RX on ttyS2:
As commands I did:
root@nvidia-orin-rt:/home/nvidia# stty -F /dev/ttyS2 -opost -onlcr -isig -icanon -iexten -echo
root@nvidia-orin-rt:/home/nvidia# socat - /dev/ttyS2,raw,echo=0
From waveform, it seems the signal is expected 1.8V here.
Do you mean that you could not receive the data on RX when you are performing loopback test and see the expected waveform?
Please try the following commands for loopback test instead.
$ sudo su
# stty -F /dev/ttyS2 115200 raw -echo
# cat /dev/ttyS2 &
# echo "test" > /dev/ttyS2
Correct. I don’t know if It’s intentional or not. I even tested a ttyS0 serial debug pins on a different TX2 Connecttech carrier board (just for testing) and even there TX and RX were 1.8V. It used a Jetpack 4 and I could exploit ttyS0 as UART there.
Exactly. With a loopback test I don’t see data on RX and I don’t see the expected waveform, correctly shown in TX waveform.
I retried with stty/cat/echo but I still don’t see any output nor waveform.
Do you have the devkit could reproduce the same issue? (Orin NX + Orin Nano devkit(p3768))
Unfortunately not at the moment.
We have a Seeedstudio reComputer J401 Carrier Board if it’s a compatible test as the Orin Nano devkit.
Are the changes you shared in 1/Nov. all you have done?
Maybe I could try to reproduce and verify on the devkit.
If you want to check why is not flashing correctly with the kernel changes, yes follow 1/Nov post.
If you want to check directly the serial problem with a flashed Image, follow 4/Nov Replacing Debug serial with normal UART - #12 by Gorgo90