Hi,
I'm trying to read values from GPIO 1146 (Pin 6 on J10), but the value always remains the same regardless of whether I connect it to 3.3V (high) or 0V (low).
I successfully changed the direction to output and verified using a multimeter that writing '0' or '1' correctly changes the voltage.
However, when I switch the GPIO to input mode, reading /sys/class/gpio/gpio1146/value always returns the same value, regardless of the external voltage applied.
It seems that the value read from /sys/class/gpio/gpio1146/value is actually determined by the contents of active_low, rather than the actual pin state.
voxl2:/sys/class/gpio/gpio1146$ cat /sys/class/gpio/gpio1146/direction
in
voxl2:/sys/class/gpio/gpio1146$ cat /sys/class/gpio/gpio1146/value
0
Is there a known issue with reading input values on this GPIO? Do I need to configure anything else (e.g., pull-up/down settings) to get correct readings?
Thanks!