Part Number:BEAGLEBN
Tool/software: Linux
I have made several unsuccessful attempts to activate SPI1 (config-pin 9.28 spi_cs for example) on a Beaglebone Green Wireless(BBGW). My implementation of the most recent solution suggested by RoberCNelson on his response to a similar issue(link below) causes the wireless feature of my BBGW to stop working. Then I need to re-load the image to the eMMC because I am unable to reestablish connection to the BBGW.
I am able to configure and access SPI0 without any problems.
I will appreciate any additional suggestions to solve this issue.
Thanks
Luis Mendez
My system setup is as follows:
root@beaglebone:/# cat etc/debian_version
9.5
root@beaglebone:/# sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
eeprom:[A335BNLTGW1ABBGW16055109]
model:[TI_AM335x_BeagleBone_Green_Wireless]
dogtag:[BeagleBoard.org Debian Image 2018-06-17]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.03-00002-gac9cce7c6a]:[location: dd MBR]
kernel:[4.14.71-ti-r78]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.4.20180928.0-0rcnee0~stretch+20180928]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[roboticscape]:[0.4.4-git20180608.0-0rcnee0~stretch+20180609]:[GOT_REPLACED_BY_NEXT]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.076672] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.088000] gpio-of-helper ocp:cape-universal: ready
END
root@beaglebone:/# ls -al /dev/spidev*
crw-rw---- 1 root spi 153, 0 Oct 1 21:46 /dev/spidev1.0
crw-rw---- 1 root spi 153, 1 Oct 1 21:46 /dev/spidev1.1
crw-rw---- 1 root spi 153, 2 Oct 1 21:46 /dev/spidev2.0
crw-rw---- 1 root spi 153, 3 Oct 1 21:46 /dev/spidev2.1
root@beaglebone:/# config-pin -q 9.28
P9_28 pinmux file not found!
Cannot read pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state
root@beaglebone:/sys/devices/platform/ocp# ls
40300000.ocmcram 48044000.timer 481ae000.gpio 53500000.aes ocp:P8_30_pinmux ocp:P8_44_pinmux ocp:P9_23_pinmux
44e07000.gpio 48046000.timer 481cc000.can driver_override ocp:P8_31_pinmux ocp:P8_45_pinmux ocp:P9_24_pinmux
44e09000.serial 48048000.timer 481d0000.can modalias ocp:P8_32_pinmux ocp:P8_46_pinmux ocp:P9_25_pinmux
44e0b000.i2c 4804a000.timer 481d8000.mmc ocp:cape-universal ocp:P8_33_pinmux ocp:P9_11_pinmux ocp:P9_26_pinmux
44e0d000.tscadc 4804c000.gpio 48300000.epwmss ocp:l4_wkup@44c00000 ocp:P8_34_pinmux ocp:P9_13_pinmux ocp:P9_27_pinmux
44e35000.wdt 48060000.mmc 48302000.epwmss ocp:P8_07_pinmux ocp:P8_35_pinmux ocp:P9_14_pinmux ocp:P9_41_pinmux
44e3e000.rtc 480c8000.mailbox 48304000.epwmss ocp:P8_08_pinmux ocp:P8_36_pinmux ocp:P9_15_pinmux ocp:P9_42_pinmux
47400000.usb 480ca000.spinlock 48310000.rng ocp:P8_09_pinmux ocp:P8_37_pinmux ocp:P9_16_pinmux ocp:P9_91_pinmux
47810000.mmc 4819c000.i2c 49000000.edma ocp:P8_10_pinmux ocp:P8_38_pinmux ocp:P9_17_pinmux ocp:P9_92_pinmux
48022000.serial 481a0000.spi 49800000.tptc ocp:P8_13_pinmux ocp:P8_39_pinmux ocp:P9_18_pinmux of_node
48024000.serial 481a6000.serial 49900000.tptc ocp:P8_19_pinmux ocp:P8_40_pinmux ocp:P9_19_pinmux power
4802a000.i2c 481a8000.serial 49a00000.tptc ocp:P8_27_pinmux ocp:P8_41_pinmux ocp:P9_20_pinmux subsystem
48030000.spi 481aa000.serial 4c000000.emif ocp:P8_28_pinmux ocp:P8_42_pinmux ocp:P9_21_pinmux uevent
48042000.timer 481ac000.gpio 53100000.sham ocp:P8_29_pinmux ocp:P8_43_pinmux ocp:P9_22_pinmux