Hi everybody,
I’m trying to use the SPI interface on my new Beaglebone Green.
I was used to use the SPIDEV1 on my former BBB just loading the BB-SPIDEV1 DTO, but with this new board this DTO conflicts with the “univ-emmc” one.
Below my Linux version and errors I get when loading the SPIDEV1 DTO file.
The same problem with the PWM controller.
I’m wondering how to to use the pins P9.31 and P9.22 allocated by the univ-emmc DTO.
Having a look to the univ-emmc.dts file I’ve discovered P9.31 pin is allocated for “audio”.
I really don’t know what does it mean…
Could you help me please?
Thank you in advance.
Best regards,
Stefano
root@beaglebone:~# uname -a
Linux beaglebone 4.1.20-ti-r58 #1 SMP Thu Apr 14 22:53:06 UTC 2016 armv7l GNU/Linux
root@beaglebone:~# cat /proc/version
Linux version 4.1.20-ti-r58 (root@b1-omap5-uevm-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Apr 14 22:53:06 UTC 2016
root@beaglebone:~#
root@beaglebone:~# sh -c “echo bone_pwm_P9_22 > $SLOTS”
sh: echo: I/O error
root@beaglebone:~#
root@beaglebone:~# sh -c “echo BB-SPIDEV1 > $SLOTS”
sh: echo: I/O error
root@beaglebone:~#
dmesg:
[ 2536.415851] bone_capemgr bone_capemgr: Using override eeprom data at slot 8
[ 2536.415897] bone_capemgr bone_capemgr: slot #8: ‘Override Board Name,00A0,Override Manuf,BB-SPIDEV1’
[ 2536.428067] bone_capemgr bone_capemgr: slot #8: BB-SPIDEV1 conflict P9.31 (#4:univ-emmc)
[ 2536.436253] bone_capemgr bone_capemgr: slot #8: Failed verification
[ 4277.900682] bone_capemgr bone_capemgr: part_number ‘bone_pwm_P9_22’, version ‘N/A’
[ 4277.900728] bone_capemgr bone_capemgr: slot #9: override
[ 4277.900751] bone_capemgr bone_capemgr: Using override eeprom data at slot 9
[ 4277.900776] bone_capemgr bone_capemgr: slot #9: ‘Override Board Name,00A0,Override Manuf,bone_pwm_P9_22’
[ 4277.905430] bone_capemgr bone_capemgr: slot #9: bone_pwm_P9_22 conflict P9.22 (#4:univ-emmc)
[ 4277.914128] bone_capemgr bone_capemgr: slot #9: Failed verification