Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-07-09 15:26:39

IO

Definition

Main Module - Core-3588JD4

NameGPIO NumberIO Type
IO136INPUT
IO2102INPUT
IO344INPUT
IO438INPUT
IO5137OUTPUT(relay)

Main Module - Core-3576JD4

NameGPIO NumberIO Type
IO1127INPUT
IO2125INPUT
IO3129INPUT
IO4126INPUT
IO5128OUTPUT(relay)

Main Module - Jetson Orin Nano/Jetson Orin NX

NameGPIO NumberIO Type
IO1397INPUT
IO2391INPUT
IO3453INPUT
IO4486INPUT
IO5441OUTPUT(relay)

Use

For example, to operate 486, you need:

  1. Export the GPIO, run as root user:
    echo 486 > /sys/class/gpio/export
  2. Operate GPIO, set to read input or output specified value:
    cd /sys/class/gpio/gpio486
    # set input mode
    echo in > direction
    cat value
    
    # set output mode
    echo out > direction
    # output low level
    echo 0 > value
    # output high level
    echo 1 > value

There are a few things to note:

  • If the GPIO has been applied by other drivers, it cannot be exported successfully, and subsequent read and write operations cannot be performed.
  • Involving the multiplexing of IO functions, if the function of the pin is already GPIO, the above method can be used; otherwise, the pinctrl state must be specified in the device tree.

On this page