We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
I configured it as output. But toggling the value from 0 <=> 1 , P9_25 is measured as 3.2V fixed.
GPIO3_19 (GPIO_115) on P9_27 works and toggles as expected.
Did I miss anything for GPIO_117, such as pin mux mode? or there is a possible hardware issue?
I tested on the BeagleBone Black Wireless: ( Kernel Version: 4.19.50-ti-r20 ).
GPIO3_19 (GPIO_115) on P9_27 toggles from 0 1 to as output
GPIO3_21 (GPIO)117) on P9_25 doesn’t toggle from 0 to 1 as output.
It seems gpio pin driver (kernel) or pin mapping having some issues?
debian@beaglebone:/opt/scripts/device/bone$ sudo ./show-pins.pl
[sudo] password for debian:
Can’t locate Inline/Files.pm in @INC (you may need to install the Inline::Files module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at ./show-pins.pl line 11.
BEGIN failed–compilation aborted at ./show-pins.pl line 11.
Now I got:
Can’t open /sys/kernel/debug/pinctrl/4a003400.pinmux/pinmux-pins: No such file or directory at /opt/scripts/device/bone/show-pins.pl line 61.
I did git pull, now I got:
Can’t open /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins: No such file or directory at /opt/scripts/device/bone/show-pins.pl line 61.
I pasted image previously. The file is 44e10800.pinmux-pinctrl-single, which seems not the same as script expected.
Here is the result:
P9.27 105 C13 fast rx down 7 gpio 3.19 ocp/P9_27_pinmux (pinmux_P9_27_default_pin)
P9.25 / audio osc 107 A14 fast rx up 0 asp 0 tx hclk mcasp@48038000 (mcasp0_pins)
P9_25 (GPIO3_21) is connected to OSC output, so it is not to be used as GPIO, right? But on our boards, I have removed R110, which disconnects GPIO3_21 from OSC output. But it still cannot be toggled in out board. I didn’t remove R110 on the BBBw, and didn’t try that way.
I am planning to move it to GPIO3_16. That will resolve it.