Hello,
I need to use UART0 ( TX : pin 99, RX pin : 101) from jetson nano Tegra210.
In dev/tty* i don’t see TTYTHS0.
Normally, uart0 is connected on M2 connector for BT/WIFI module of the eval board.
i designed my own board and i use UART0 like a simple UART not for BT / WIFI module on M.2 connector.
Could you tell me how to activate Uart0.
Jetson Nano brings three UARTs out to the main connector,
please refer to [Jetson Nano UART Pin Description] in Nano Product Design Guide to review the pin connections.
thanks
But could you give me what’s the tty* for UART0 pin 99 AND 101 ? or how to do to activate uart0 because it doesn’t appear in dev/tty*. I can only see uart 1 : ttyTHS1 and uart2 : ttyTHS2 .
it’s software mappings to the ttyTHS*.
you should refer to device tree and kernel init messages regarding to serial ports.
check this topic, Topic 153941, it shows the mappings for serial ports of ttyTHS*, and UART*
thanks
if i see the device tree and the pinmux_config_file: signal name : uart0 txd/rxd = Ball name uart3 tx/rx are configured as UC3-TXD/RXD and if i see the init messages, we can see the message : “started uart on ttyths0” .
But ttyTHS0 don’t appear in /dev/tty*.
it’s serial@70006200 for your uart-3.
for example, $L4T_Sources/r32.5.1/Linux_for_Tegra/source/public/hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi
the UART0 of the module ( UART3 of the tegra point of view ) on M.2 key
the UART1 of the module ( UART2 of the tegra point of view ) on the 40-pin extension
the UART2 of the module ( UART1 of the tegra point of view ) on the debug serial port
so where can we access it ?
i know I’ve got two ttyTHS1 & ttyTHS2 .
according to what you said , seems to be ttyTHS2 for the M.2 interface, ttyTHS1 for the 40-pin UART.
the default baudrate is 115200/8n1, check the port register to your host machine, you may use the utility to communicate with it, such as picocom or minicom if you’re using serial to usb device,
for example, $ picocom -b 115200 /dev/ttyUSB*
thanks
Hello,
It’s a mistake ttyTHS2 is good : the UART0 of the module ( UART3 of the tegra point of view ) on M.2 key.
Sorry for the inconvenience.
Best regards
Hello JerryChang,
It’s OK, this is ttyTHS2 for UART0 (c). Tiredness played on me tricks .
Sorry for the inconvenience.
You can close and erase the issue.
thank you.