I am facing some issues regarding the TX pin on the M.2 Uart. I am using a custom carrier board with level shifted signals on the ttyTHS1. This port works fine on the TX2 NX. I had no succress while using the Xavier NX. I am able to receive data, but i can’t send anything. (I’ve connected ttyTHS1 and ttyTHS0 to test this).
I am currently using the stock image provided by Nvidia without my changes to the devicetree.
may I know… had you refer to [Jetson Xavier NX Product Design Guide] for the UART connections,
since it’s a customer carrier board, do you complete the pinmux customization to update the cfg file?
Thanks for your reply. I was not in the office for the last 2 Weeks, so I couldn’t answer right away. I’ve checked the proper config file and couldn’t find any issues with that one.
The DTB above is unchanged compared to the one provided by Nvidia (L4T 32.6.1). So i assumed that the pinmux cfg should also stay the same way for the UART pin.
I found another carrier board with this interface populated without levelshifters (1.8v) and I am facing the same issue on that one. I currently don’t have a DevKit available to evaluate this on there.
Hi @TobidieTopfpflanze ,
I would say that there might be issue with the setup of minicom. You can install cutecom and run sudo cutecom to test with the loopback (Tx shorted to Rx). For example, following is the configuration of THS2 (without any HW handshaking) :
By default both following uarts work without any modification in dtsi/dts :
[ 1.563865] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 47, base_baud = 0) is a TEGRA_UART
[ 1.565110] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 48, base_baud = 0) is a TEGRA_UART
Note that the Tx and Rx of ttyTHS0 (3100000) is mapped to pin 203/205 of the Xavier NX SOM, Tx and Rx of ttyTHS1 (3110000) is mapped to pin 99/101.
Thank you for your fast reply. That helped me a lot, there are indeed the wrong settings on the TTY. It works now, here are the two different settings in case someone needs this in the future:
Correct settings (done by Cutecom):
Wrong settings (done by Minicom):