Hi Nvidia,
I’m using custom board for Orin NX and L4T 36.4.0.
I know the /sys/class/gpio is removed and be using libgpiod in JetPack6.
For this website.
https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonOrinNxNanoSeries.html#changing-the-pinmux
- To use the pin as GPIO, update the following fields in the PADCTL register:Find the register information from the Pinmux Registers section in TRM as mentioned in step 2.
- Set GPIO to Bit 10 = 0.
- For the output, set Bit 4 = 0 ; Bit 6 = 0.
- For Input, set Bit 4 = 1 ; Bit 6 = 1.
I can set the pin in/out for gpio.
But how can I set the high/low (Drive 1/0) for output by register?