The voltage is changing from 3.3V to 0V, but there are no changes in the pin value, it always shows 0.
I know this pis is configured as SD1_DATA5 in the device tree for ixora v1.1 board, but the have removed the SD card slot from our board and I have deactivated this functionality, so there are no errors during the initialization.
What could be the reason for such behavior?
Did you try with the “official” Ixora gpios on X27 extender? If you can, try to do the same tests with one of those. If it also fails, at least the .dts definition problem is knocked out.
Yes, I have tested standard gpios of ixora board, they are Ok, the problem is to set any other pin, it seems to be something with multiplexing and I can’t find anything describing this problem.
Next step for me would be checking all dts files for the pin definition and pinctrl users, making sure it’s only defined in 1 pinctrl and being used on the gpio section of the dts.
Hello Joao!
You were right! I’ve initialized the pin with the false name, there are a set of names for every pin, but it seems to be only one right name. For the GPIO2_IO01 it should be the MX6QDL_PAD_NANDF_D1__GPIO2_IO01, not the MX6QDL_PAD_NANDF_D1__SD1_DATA5.
It’s the same pin, but different name has probably different parameters (Alt state).
Now it works perfectly!
Thank you once more!