I’m unable to change GPIO pins to output or input. For example GPIO09 is permanently in a high output state, and there no way to change it using:
gpioset --mode=wait 1 8=0
I tried adding and removing pins from MB1 GPIO and pinmux , but still I’m not able to change it state. I was using gpioset, gpioinfo and Jeston GPIO, but it was not able to change properties of this pin. What’s necessary to use these pins as normal GPIO, considering other GPIO pins are working correctly?
My problem with this pin that is it is permanently set in output high so I can’t switch between low and high to control DIODE or anything else. With you suggestion I get state high and I can’t switch to low, because I got message like this:
gpioinfo|grep "PBB.00"
line 8: "PBB.00" "aon-output-high" output active-high [used]
gpioset --mode=wait 1 8=0
gpioset: error setting the GPIO line values: Device or resource busy
It is still in output high mode. I’m able to change it state in Jetpack 5.1.3 without any issue, but with Jetpack 6.0 I’m no longer able to do anything.
Have you configured the pinmux spreadsheet for this PIN(PBB.00) before use?
You have to configure it as Output or Bidirectional so that you can use gpioset to control it.