GPIO Mapping in pinmux sheet to Jetson.GPIO python lib

Hi all,

Considering the gpio pin below (211)

How am i supposed to drive this pin using the Jetson GPIO library? I am using a custom carrier board so I am not able to directly use the gpio pin header numbers. I am able to drive the pin using “echo 1 > PAC.06/value” however I would prefer a python script.
As the documentation says I can use the TEGRA_SOC names to drive this pin, however when I use the signal name “GPIO09” I get a ValueError: Channel GPIO09 is invalid Ive also tried GPIO3_PAC.06 but this also gives the same result.
Which string do I need to use to drive this pin?

Thanks!

Hi r.vries,

Is your custom board desgin similar to the devkit?
If yes, you could try using Jetson GPIO, or add your own gpio configuration in the following.
jetson-gpio/gpio_pin_data.py at master · NVIDIA/jetson-gpio · GitHub

Or you could just use kernel level command with export to control GPIO.

#cat /sys/kernel/debug/gpio

Or you may refer to the following topic to access GPIO:
Jetson Nano Fast GPIO C++ Example with Direct Memory Access (DMA) - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums

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