Customize few GPIO pins

I have eMMC Nano SOM and would like to customize the GPIO01 to GPIO10 for input and output ports, and currently, I am using GPIO13 for PWM. How do I start customizing them?
I tried modified dts file from tegra210-p3448-0002-p3449-0000-b00.dtb file and flash it. It did not seems to have any affect. After moved 0x42 in the dts file from “gpio-output-low” to “gpio-output-high,” and flash DTB to the board, GPIO03 stay at zero volt after bootup. I also checked GPIO03 port by “$echo 66 > /sys/class/gpio/export” command and go into “gpio66” folder to verify the “direction,” and “value” files. Did I do these steps correctly?

Hi Neil107,

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

To configure the pin state, please refer to the following instruction for pinmux.
NVIDIA Jetson Linux Developer Guide : Jetson Module Adaptation and Bring-Up - Pinmux Changes

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