Using 2 UART simultaneously in Jetson Nano

Hello,

As far as I know, there are up to 3 UART in the Jetson Nano:
. In the J41 (40 pins) - general purpose
. In the J44 (A02, no idea where it is in the B01) - for console debug
. In the M2 port

The UART in J41 is okay for using to me. It is the /dev/ttyTHS1.
My question is how I could use the UART in J44 and what is its name in /dev/___ ?
I have search around in the forum but they seem too complicated to me (relating to kernel or something…). Could you guys please guide me the way to solve this as simple as possible?

Thanks in advance.

hello bigboy.061293,

please refer to Topic 153941 for the mappings for serial ports of ttyTHS*, and UART*.
may I also know what’s your use-case to enable the use of 2 UARTs simultaneously.
thanks

Thanks for the reply.
I have 2 uart sensors where I need to read by the Jetson Nano (with python program). They are the same in baudrate 115200, asynchronous (TX RX only).

Following this instruction


To my understanding, the process should be:

  1. Delete the line “console-port”
  2. Compile the .dts -> .dtb
  3. Rebuild the kernel (this instruction: https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html)

I am not familiar to this kernel stuff so please correct me if I am wrong.
Thanks.

hello bigboy.061293,

yes, please delete the line “console-port” and rebuild the kernel to generate a new dtb binary.
you may also refer to Flashing a Specific Partition to flash a specific partition instead of flashing the whole device by using the command line switch ‑k options.
thanks