How to enable Jetson Orin Nano Developer Kit UART0

Hello,

I am using a Jetson Orin Nano with a custom carrier board. The carrier board was designed based on the attached “Jetson Orin NX Series and Jetson Orin Nano Series Product Design Guide.”

Jetson_Orin_NX_Series_and_Orin_Nano_Series_Design_Guide_DG-10931-001_v0.99.pdf (2.6 MB)

My software environment is as follows:

  • JetPack: 7.2
  • Jetson Linux: R39.2.0
  • Kernel Variant: oot

I have a few questions regarding UART0.

According to Table 2-2 of the Design Guide, UART0_TXD, UART0_RXD, UART0_RTS, and UART0_CTS are assigned to pins 99, 101, 103, and 105, respectively.

  1. Is UART0 enabled by default, or does it need to be configured through the pinmux?
  2. UART0 is connected to STM32 UART1 through a level shifter. Is the following wiring correct?
    • UART0_TXD → STM32_UART1_RX
    • UART0_RXD → STM32_UART1_TX
    • UART0_RTS → STM32_UART1_CTS
    • UART0_CTS → STM32_UART1_RTS
  3. Is it possible to communicate normally using only the TX and RX signals without connecting RTS and CTS, or are the hardware flow control signals required for UART0?

Thank you for your help.

Hi hm1066833,

Do you mean UART-B(3110000.serial)?

If so, please configure the pinmux for the UART-B first and then enable serial@3110000 in device tree.

Yes, you can use UART w/ or w/o the HW flow control enabled.
It is based on your use case and the requirement.
What’s the baud rate required in your case?

Thank you for your response.

Yes, I checked the current state. serial@3110000 is already enabled in the device tree and appears as /dev/ttyS0 in Linux. However, the current overlay only enables serial@3110000; it does not configure the UART-B pinmux. In the live device tree there is no pinctrl-0 / pinctrl-names for serial@3110000, and the related UART pins still show as MUX UNCLAIMED in debugfs.

It’s 115200.

Please configure the pinmux for UART-B ins pinmux spreadsheet instead.
The generated pinmux dtsi will be included in MB1-BCT and loaded in MB1 boot.

Okay, it should be fine to work w/o HW flow control enabled.

However, I don’t quite understand. I downloaded and checked the “Pinmux_Config_Template”, and it appears to be already enabled; is it supposed to be disabled by default?

Yes, it seems pinmux has been configured by default so that you just need to enable serial@3110000 in device tree.

Please share the full device tree and dmesg if you still hit any issue.

log.txt (117.0 KB)

Here are, Please tell me if any questions.

[    5.184212] 3110000.serial: ttyS0 at MMIO 0x3110000 (irq = 133, base_baud = 4250000) is a Tegra
[    5.184960] serial-tegra 3100000.serial: Adding to iommu group 1
[    5.185265] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 134, base_baud = 0) is a TEGRA_UART

Could you apply the same UART driver to 3110000.serial as the one configured for 3100000.serial?
(i.e. Tegra High Speed Serial driver)