Using UART, etc pins as GPIO?

Hello,
I am considering getting a Jetson Orin NX with the following carrier board:

For my application, I would need around 9 GPIO pins. As per the datasheet (attached), there aren’t 9 pins labeled directly GPIO. However, is it possible to use, say, the UART pins as GPIO? Thank you!

*** Please note that this reply is generated by LLM automatically ***

To address your question about using UART pins as GPIO on the Jetson Orin NX with the A603 Carrier Board, let’s break down the information and analyze the possibilities.

  1. Understanding GPIO and UART Pins:

    • GPIO (General Purpose Input/Output) pins are digital pins that can be used for a wide range of applications, from reading digital signals to controlling external devices. They can be configured as either inputs or outputs.
    • UART (Universal Asynchronous Receiver-Transmitter) pins are specifically designed for serial communication. They are used for transmitting and receiving data serially, one bit at a time, in an asynchronous manner.
  2. Jetson Orin NX and GPIO:

    • The Jetson Orin NX is a powerful module designed for AI computing and other high-performance applications. It has a variety of peripherals, including GPIO, UART, and more.
    • The A603 Carrier Board for Jetson Orin NX/Orin Nano provides an extension to the module’s capabilities, including additional interfaces such as USB, HDMI, MIPI CSI, and more. However, the direct availability of GPIO pins might be limited compared to other development boards.
  3. Using UART Pins as GPIO:

    • In many microcontrollers and development boards, including some configurations on the Jetson series, it is possible to use UART pins as GPIO under certain conditions. This is because UART pins are essentially digital pins that are configured for serial communication by default.
    • However, repurposing UART pins as GPIO requires careful consideration:
      • Software Configuration: The operating system or firmware running on the Jetson Orin NX must support configuring these pins as GPIO. This often involves modifying device tree files or using specific APIs provided by the operating system.
      • Hardware Limitations: Some pins might have specific hardware limitations or might be shared with other functions, limiting their use as GPIO.
      • Pin Multiplexing: Modern SoCs (System on Chips) like the one in the Jetson Orin NX often use pin multiplexing, where a single physical pin can be used for multiple functions. The device tree or pinmux configuration would need to be adjusted to use UART pins as GPIO.
  4. Jetson Orin NX Specifics:

    • The Jetson Orin NX, being a part of the NVIDIA Jetson family, has extensive documentation and community support. NVIDIA provides tools like the Jetson AGX Orin pinmux spreadsheet for configuring pinmux on Jetson devices, which can be useful for planning and configuring GPIO and other pin functions.
    • For the A603 Carrier Board, you would need to consult the board’s documentation and possibly contact the manufacturer (Seeed Studio) for specific guidance on using UART or other pins as GPIO, as the board’s design might impose additional limitations or requirements.
  5. Conclusion:

    • While it is technically possible to use UART pins as GPIO on many platforms, doing so on the Jetson Orin NX with the A603 Carrier Board requires careful examination of the hardware capabilities, software support, and potential limitations.
    • Before proceeding, ensure you have the necessary documentation and support:
      • Consult the A603 Carrier Board documentation and the Jetson Orin NX datasheet.
      • Review NVIDIA’s official documentation and community forums for examples or guidance on repurposing UART pins as GPIO.
      • Consider reaching out to Seeed Studio for specific advice on the A603 Carrier Board’s capabilities and limitations.

Given the complexity and the specific requirements of your application (needing around 9 GPIO pins), it’s essential to thoroughly investigate the feasibility of using UART pins as GPIO and to explore other options for expanding GPIO capabilities if necessary.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Hi antchristou14,

Above response should give you some information for your requirement.

Yes, for the Jetson device, most of the pins are pinmuxed with several functions.
(i.e. you can use them either GPIO or SFIO).

However, you are working on the custom carrier board (by SeeedStudio), you may request your vendor for the pinmux spreadsheet of that board.

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