Can't get GPIOs to work
Hello,
Using the stock image I've found I can manipulate the red LED on PA13 by using gpio commands:
gpioset gpiochip0 13=0
gpioset gpiochip0 13=1I need to access Pin 38 and Pin 40 on the 40 pin header, which are PI6 and PF11.
These are both tied to the SAI2 device. I removed the device, and the modules and set these pins as outputs and they are unused:
# gpioinfo |grep PI6
line 6: "PI6" unused output active-high
# gpioinfo |grep PF11
line 11: "PF11" unused output active-highManipulation of these is done the same way:
root@stm32mp1:~# gpioset gpiochip5 11=0
root@stm32mp1:~# gpioset gpiochip5 11=1
root@stm32mp1:~# gpioset gpiochip8 6=0
root@stm32mp1:~# gpioset gpiochip8 6=1
However, Neither of these pins go "high" and they are always "low".
And since they are set to active-high, like PA13, I would expect them to be "on" at boot.
Am I doing something wrong, or do I have a misunderstanding of how this works?


