I have been working with BBB for a while using the 4D 4.3" LCD CAPE. The SPI0 worked well with the4D 4.3"LCD CAPE, but later when
I switched to the 4D 7.0" LCD CAPE, the SPI0 is not working and therefore no data is being acquired. After some search online,I got to know that the 4D 7.0" LCD CAPE uses one of the SPI0 pins due to which my ADC and SPI0 isn’t working. Then I search for the .dts file that loads when the 7.0" LCD is connected, to disable that particular button on the CAPE that uses the SPI0 pin, but I did not find any .dts pertaining to this. From this,I presume that the SPI0 pin is allocated for the 7.0" LCD CAPE during the booting of kernel.
Then I used the “dmesg” command on terminal to check and I encountered a lines stating:
" pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 0.841414] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 0.848693] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single"
And I think, the P9_21 is the SPI0_D0 (Data Out) pin being used by the LCD CAPE keys- gpio0_3.
Has anyone come across this problem?. Looking forward to some support and solutions from experienced BBB users, to overcome this problem and get my SPI0 working with the 4D 7.0" LCD CAPE.
Thanks and Regards