GPIO24 on fx30 returns always 0

Hello all,

we are using gpio24 to monitor the status of on/off pin.
At first we set gpio58 to keep the modem always on.

ON/OFF is high:
root@fx30s:~# cat /sys/class/gpio/gpio24/value
0

ON/OFF is Low
root@fx30s:~# cat /sys/class/gpio/gpio24/value
0

What is wrong?

Hi AE_1,

There is an inverter at GPIO24. Note, in Figure 3-4 of the User Manual, there is a bubble at GPIO24, though it’s not obvious. I’ll make a note to update the User Guide.

BR,
Chris

Hello Chris,

let me explain the problem of AE_1 more in detail.

Build up a configuration like in Figure 2-16 (41110030 Rev 4, Page 23).
Try to check the state of the switch by read GPIO24. The problem is,

cat /sys/class/gpio/gpio24/value

returns “0” independent of the state of the switch (opened or closed). Expected is to read a “1” in one case.

Have in mind that the internal pullup is activated.

Regards,

Saleh

Hi Saleh,
thanks for your explanation. That’s exactly what I mean.
cat /sys/class/gpio/gpio24/value returns “0” independent of the state of the switch (opened or closed).
This is for as big problem.

Hi @AE_1, @Saleh,

We’ve been able to reproduce the issue and are currently investigating further.

BR,
Chris

Hi cchenry,

when can a solution be expected?

Hi AE_1,
We’re trying to get R17 released, so I can’t promise a solution for this will be included.
BR,
Chris