How to change uart to gpio in orin?

I want to trigger the camera through the uart0 or uart1 pins,I need to reuse the pins in uart as gpio.
according to the method mentioned in the link JetsonAgxOrinSeries pinmux-changes
the confusing thing is that it has multiple sub tables like this:


so,what sub table i should choose.
as random choose result, i modified Jetson_Orin_NX_Series_+DP A03 sub table like this:

it doesn’t seem to have taken effect

Hi alive,

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

Please share your flash log for further check.

it’s custom board, and jetpack version is 5.1.1
flash_1-6_0_20230705-141251.log (40.8 KB)

The flash log seems not complete.

Could you help to check again to copy the full flash log after you run the flash command on your host PC?

Or could you share the result of the following command on your board?

$ cat /etc/nv_boot_control.conf

Thank you for your reply. I can already get the high and low levels.


although it makes me feel confused,but aim is finished.
flashlog.txt (310.7 KB)

copying pinmux_config(/home/mt_ae_pc1/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3767-hdmi-a03.dtsi)... done.

From your flash log, you are using tegra234-mb1-bct-pinmux-p3767-hdmi-a03.dtsi as device tree of pinmux so that you should use the last sub table (Jetson_Orin_NX_Series_+HDMI A03) of pinmux spreadsheet.

1 Like

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