I am trying to read the debug data on serial console on Xavier NX and connected a serial to USB cable to pins 238 UART2_RXD and 236 UART2_TXD on our custom carrier board and I do not receive any data at 115200 Baud rate.
I am using stock BSP 32.5.1
Same carrier board same cable and setup, if I connect Nano module, I can see the debug console data. Our carrier card works for both Nano and XNX
I have tried changing TTL cable also, checked some forum suggestions before coming here. I am using this pins.
I have an Xavier NX Dev Kit and am trying to use the RXD and TXD on the J14 block.
I too am having problems.
I seem to get data but it’s all unreadable. I’m using 115200,8,N,1 for port settings.
I didn’t change out the cable but can use the same cable to connect to another device so I know it’s functioning properly.
please access Jetson Xavier NX Product Design Guide, and check [Figure 12-5. Jetson Xavier NX UART Connections]. it’s default using pin-203/205 route to the J12, 40-pin expansion header for the UART communications.
[edit]: it’s by default using J14.
if you’re using pin-236/238 for using Debug UART,
you may also modify the spe_uart_instance in the tegra194-mb1-bct-misc-l4t.cfg to change the UART controller.
thanks
it should be… pin-236/238 = UART3_TX/RX = uartc = ttyTHS2
please output the logs to /dev/ttyTHS2, and use oscilloscope to monitor UART3_TX/RX signals.
thanks
with default Stock BSP without any change, you mean to say if I monitor UART at pins 203/205 I should get debug logs right? But I am not getting any data if I monitor these UART pins
I have checked on J14 TX/RX/GND and able to see boot logs- these are pin 238/236 on NX SOM.
Can you please help me how to change this to 203 and 205 where all I need to change in BSP?
(UART1_TXD/UART1_RXD) ? are these pins corresponds to ttyTHS1?
please check below on your Xavier NX,
it should be several serial ports available.
for example,
$ dmesg | grep THS
[ 1.502202] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 47, base_baud = 0) is a TEGRA_UART
[ 1.503855] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 48, base_baud = 0) is a TEGRA_UART
[ 1.504543] 3140000.serial: ttyTHS4 at MMIO 0x3140000 (irq = 49, base_baud = 0) is a TEGRA_UART
if you check into the device tree sources, they’re mapping to different uart ports.
please also refer to product design guide to see the pin signaling for reference.
for example, $L4T_Sources/r32.6.1/Linux_for_Tegra/source/public/hardware/nvidia/soc/t19x/kernel-dts/tegra194-soc/tegra194-soc-uart.dtsi
are you having same hardware design for Nano and Xavier NX? (i.e. 10kohm PU resistor)
if yes, please try to remove that since Xavier NX have level shift, thanks