We are using a custom board. Following pins are used for GPIO:
GPIO (CVB_WIFI_WAKE_AP) - GPIO10_WIFI_WAKE_AP
GPIO (CVB_BT_WAKE_AP) - GPIO13_BT_WAKE_AP
I am connecting a GPIO board which gives low(0) for 5 sec. and high(1) for another 5 sec. repeatedly. But i cant read these values from these pins. Their value is always 1. I guess high(1) is the default value for these pins.
I followed the TX2 Configuring Pinmux GPIO and PAD but I couldnt figure out required changes on Jetson-TX2-Generic-Customer-Pinmux-Template.xlsm file. I have tried to change the “Wake Pin” value to “No” for these pins. Created .cfg files and applied BCT to TX2 but it didnt work. Behaviour was the same.
How should i change the values on the excel file to make these pins work?
I can get input from another 2 GPIO pins:
GPIO (CVB_BT_EN) - GPIO12_BT_EN
Using the following sysfs numbers to listen to ports:
SOM: GPIO11/AP_WAKE_BT - 389
GPIO (CVB_BT_EN) - GPIO12_BT_EN - 332
GPIO (CVB_WIFI_WAKE_AP) - GPIO10_WIFI_WAKE_AP - 336
GPIO (CVB_BT_WAKE_AP) - GPIO13_BT_WAKE_AP - 333