How to configure UART1 for AGX Orin to support a baud rate of 10Mbps?

We use jetpack 5.1.2 and require serial port UART 1 to support a baud rate configuration of 10Mbps. We can configure up to 4Mbps using STTY configuration. How can we configure 10Mbps?

  1. Read the Orin-TRM-DP10508002-v1.0p. pdf manual, UART supports up to 12Mbps

  2. The error message for configuring a 10Mbps baud rate using STTY is as follows:
    image

  3. We tried to modify the kernel, but still couldn’t achieve a 10Mbps baud rate configuration.
    include/uapi/asm-generic/termbits.h:
    Add: # define B10000000 0010020

/kernel-5.10/drivers/tty/serial/serial-tegra.c:
Add 10000000 after the baud_table array
Add B10000000 after the baud_bits array

Hi @1712127445,

Are you using UART to open a serial terminal to the AGX Orin? To look at bootloader logs, for example? Have you tried using a different terminal emulator?

Here is an example of how to set up Minicom on your host: Setting Up Minicom - RidgeRun Developer Wiki. It is possible to change the minicom speed configuration.

Let me know if this was what you were looking for.

Regards,
Francis Guindon

Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: http://www.ridgerun.com/

Hi,

As a quick follow up, if you are trying to change the speed that your Jetson serial interface uses, perhaps you can try editing the /boot/extlinux/extlinux.conf file. This file should include an APPEND line which contains a section that might look something like this: console=ttyS0,115200n8. You can try changing this speed to the one that might work for your use case.

Let me know if this helps,
Regards!

If you don’t understand, don’t reply. The reply doesn’t contain any information

It seems the duplicate topic as How to configure UART1 for AGX Orin to support a baud rate of 10Mbps?, SBSA is currently exposed by /dev/ttyAMA0

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.