I’ve been trying to use my AGX to test 40 pin header, I got some trouble,when I set pin11 to be gpio, and let direction to be input, it could not change the value, but when the direction was output, it worked normally.
After I checked the link, I did not found any information for the gpio setting, could you give me some advice??
This is my jetson-io setting, pin11 was unused, did I miss anything ??
pin-11, it’s GPIO3_PR.04, which by default configure as input pull-down.
could you please check the pinmux cfg file, you may search uart1_rts_pr4 and share the settings for reference.
thanks
What should I modify to let the gpio can be output pin and input pin ? I can modify pin11’s direction to input, but It did not change the value by input signal.
they’re three different pin configurations, you should have three different cfg files to apply the settings.
please download the pinmux spreadsheets, and you’ll need to open this *.xlsm file with WindowOS, you need to update customer usage, select pin directions…etc to complete the configuration. after that, please click the [Generate DT File] on the top-right to create *.dtsi files.
you should copy those *.dtsi file to your ubuntu desktop (flashing machine) and execute pinmux-dts2cfg.py python scripts to convert them as cfg file.
finally, replace the cfg file and full-flash the target.
There seems to be a misunderstanding between us, I would like to know, after I burn the image file of jetpack4.5 on AGX Xavier, I am going to test 40-pin. When the device boot, then I set pin 11 to be intput, and I connect 3.3V to pin 11, read the value. In theory, it should be 1, but it did not change. But if pin11 set to output, it can be switched normally and controlled.
This is my step:
sudo su
cd /sys/class/gpio
echo 428 > export
cd gpio428
cat direction
connect pin11 to 3.3V
cat value
connect pin11 to GND
cat value
What should I do that could let pin11 change its value when it is input pin ??
Hi, the level shift on devkit carrier board has set the direction of UART1_RTS as output only. You can find the level shift (U76) in P2822 schematic for detail.