I want to use the PGIO8_ALS_PROX_INT pin H13 of TX2 as an input to detect an external switch. According to the pinmux, it is GPIO3_PI.04 equates to gpio388, default is input with an internal pullup.
However, when I looked at the pin, it is low. I thought the internal pullup is not activated so I added a 47K to 1.8V, but the level at the pin just went up to about 0.3V and not all the way to 1.8V.
What could be wrong with the pin setup? Please guide me through.
This is from the console:
BaseSystem_0_9:/sys/class/gpio/gpio388$ sudo cat active_low
BaseSystem_0_9:/sys/class/gpio/gpio388$ sudo cat direction
Thank you very much for your help.