GPIO Enable Pull Up



I am trying to configure a GPIO (#56 of FX30) via an application.
Here are the steps of the configuration : (bindings in adef and cdef files are functional)
gpioVeronte_SetPushPullOutput(1, false);

I get the following error :
Jan 6 00:36:37 | gpioService[572]/sysfsGpio T=main | gpioSysfsUtils.c WriteSysGpioSignalAttr() 173 | Failed to write up to GPIO config /sys/class/gpio/gpio56/pull. Error Operation not permitted

Even setting it through ssh does not change anything:

root@fx30:~# echo up > /sys/class/gpio/gpio56/pull
sh: write error: Invalid argument
root@fx30:~# config set /sys/class/gpio/gpio56/pull up
root@fx30:~# cat /sys/class/gpio/gpio56/pull

Is it a known issue of the FX30 ?
Thank you


Hi tdcxsun,

If refer to table 3-8 of FX30 user guide:

GPIO56 (IO3) is digital output.
To control IO3 internal pull, it should be GPIO54.