Tool/software: Linux
Hi,
In my custom board I'm using GP0[5] to steer process. It is used from DSP, but when I noticed it does not go low, I tested it from Linux with:
echo 5 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio5/direction
echo 0 > /sys/class/gpio/gpio5/value
And checked its state with:
cat /sys/kernel/debug/gpio
Pin will stays HIGH
I switched it to input and gave it 0 and state is changing when I verify it with
cat /sys/kernel/debug/gpio
I tested also GP0[0], GP0[1] , GP0[2] and GP0[6] and they all behave similar way. GP0[13] operated as expected, state was changing to 0.
It does not matter if I configure pins in kernel or not. I added a printout to mux.c which is saying:
PINMUX0 (0x00000000) = 0x88888888 -> 0x88888888
Kernel I'm using is 3.3.0. I did not find any kernel configuration item which would use those pins.
I would appreciate any help !!!
Best Regards,
risto