We would like to toggle gpiochip2/20 as a GPIO output pin on the Apalis imx8qm. We have a device tree file where we configure this pin as follows (short snippet):
I see that when using libgpiod method gpioset I can see that it is configured as an GPIO output which can be toggled. However on the hardware side of things I see no change on the physical voltage level on this pin.
I would kindly request some assistance. We have other GPIO inputs and outputs which are correctly configured and working but this one boggles me.
Thanks for the reply. Indeed I would like to remove the wakeup functionality and not use it as a wakeup source anymore.
However we have a custom PCB for the system so I have no jumper which should be disconnected. This pin is in our system is connected to an LED which we are trying to toggle.
Have to ask if I’m allowed to share, but the circuit is not difficult. The pin is driving a MOSFETT gate which switches the power to a LED. If I measure directly on the SODIMM 37 pin with a multimeter I see no voltage change regardless whether or not I switch the pin state.
We have an identical circuit for another LED, connected to SODIMM 2, which is working fine.
Therefore I don’t think the problem is in the electronics but more in the configuration of this specific pin.
I was wondering if you could help us with overriding the wake up behaviour of the pin and change it to a GPIO, since I strongly believe that this is likely the issue.
Do I understand correctly that this is a known issue to you at Toradex?
If so, do you happen to have an estimation on when you think this issue has been looked into?
Is there by any chance a known work-around at this point?