After I have enabled SPI1 using the SPI overlay everything seems to be configured correctly. However when I check the pins to see if they are in the correct mode, they are still configured for gpio. I run dmesg and it outputs that these pins are already requested by* mcasp.*
my config for the 4.1 kernel in the */boot/uEnv.txt* file is: ##Example v4.1.x cape_disable=bone_capemgr.disable_partno= *BB-SPIDEV0,BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G* cape_enable=bone_capemgr.enable_partno=*BB-I2C1,BB-CAN1,BB-SPIDEV1* when i run the command '*ls -la /dev/spi**' it show the following: crw-rw---- 1 root spi 153, 1 Jul 21 17:18 /dev/spidev1.0 crw-rw---- 1 root spi 153, 0 Jul 21 17:18 /dev/spidev1.1 However the pins are still configured to be gpio: root@beaglebone:/sys/kernel/debug/pinctrl/44e10800.pinmux# more pins ... pin 100 (44e10990.0) 00000027 pinctrl-single pin 101 (44e10994.0) 00000027 pinctrl-single pin 102 (44e10998.0) 00000027 pinctrl-single pin 103 (44e1099c.0) 00000027 pinctrl-single ... but... root@beaglebone:~# cat /sys/devices/platform/bone_capemgr/slots 0: PF---- -1 1: PF---- -1 2: PF---- -1 3: PF---- -1 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,BB-I2C1 5: P-O-L- 1 Override Board Name,00A0,Override Manuf,BB-CAN1 6: P-O-L- 2 Override Board Name,00A0,Override Manuf,BB-SPIDEV1 Also, when i run dmesg i get: root@beaglebone:~# dmesg | grep spi [ 18.526603] pinctrl-single 44e10800.pinmux: pin 44e10990.0 already requested by 48038000.mcasp; cannot claim for 481a0000.spi [ 19.028093] pinctrl-single 44e10800.pinmux: pin-100 (481a0000.spi) status -22 [ 19.162354] pinctrl-single 44e10800.pinmux: could not request pin 100 (44e10990.0) from group pinmux_bb_spi1_pins on device pinctrl-single [ 20.010557] omap2_mcspi 481a0000.spi: Error applying setting, reverse things back How do i get SPI1 to work? Any help is appreciated, thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
