Jetson Xavier NX 平台GPIO3_PR.02引脚配置成输入一直是低电平

现在将 GPIO3_PR.02 的外围器件去掉,还是一直是低电平。
请问,设备树配置的有没有问题?

Hi zhang.xiang,

Are you using the devkit or custom board for Xavier NX?
What’s the Jetpack version in use?

Could you configure it as Input/Int PU in pinmux spreadsheet and confirm it has been applied correctly?

I’m using a custom Xavier NX development board, with Jetpack version linux35.5. I’m using WPS to open the pin multiplexing table and configuring it as Input/Int PU, but there’s no response.

Now, I’ve connected an external 1.8V, 3k pull-up resistor to this pin, but it’s still stuck at a low level.

Could it be that the device tree configuration for this pin is incorrect?

The GPIO mapping itself looks correct, since the pin is already shown as PR.02 in debugfs.

On Xavier NX, pinmux changes must be generated from the pinmux spreadsheet and reflashed; changing only the kernel device tree is not enough.

Since the pin still stays low even with an external 1.8V / 3k pull-up, please verify that the final pinmux / MB1 configuration was actually applied and not overridden by another DTB/BCT file.

I saw a question on the forum about using GPIO(R,2) as an input pin. The image below shows the answer. Is it true that this GPIO pin cannot be used as an input pin?

Configuration for UART1_TXD (40 pin header pin8) to GPIO pin - Jetson Systems / Jetson Xavier NX - NVIDIA Developer Forums

The “Output/Bidir” description in the P3509 carrier board spec is for the P3509 40-pin header path, which includes level shifter circuitry, so it is a board-level characteristic rather than a hard limitation of the Xavier NX module pin itself.
image

For a custom carrier board, please follow the module pinmux capability and your own board schematic/design instead of directly applying the P3509 header behavior.