Hi all
My project involvs connecting 4 arduino pro mini's as slaves to a Beaglebone black. I am able to share data between one arduino and the beaglbone by following the link below
:www.ulasdikme.com/.../BBB_Arduino_SPI.php
I Understand that I need to Use GPIO's as CS pins to active the corresponding arduinos,
However whenever I try the same for more than one slave devices , I receive data from one arduino only.. I am using SPI 0
Are there any limitations as to the number of slave devices that can be attached to SPI 0.
I need the data from the arduino's as quickly as possible preferably without any delay. Can anyone suggest a method of doing the same.
Linux kernel 3.8.13-bone70
root@beaglebone:/# ls /dev/spi*
/dev/spidev1.0 /dev/spidev1.1
root@beaglebone:/sys/kernel/debug/pinctrl/44e10800.pinmux# cat pingroups
group: pinmux_userled_pins
pin 21 (44e10854)
pin 22 (44e10858)
pin 23 (44e1085c)
pin 24 (44e10860)
group: pinmux_rstctl_pins
pin 20 (44e10850)
group: pinmux_i2c0_pins
pin 98 (44e10988)
pin 99 (44e1098c)
group: pinmux_i2c2_pins
pin 94 (44e10978)
pin 95 (44e1097c)
group: pinmux_bb_spi0_pins
pin 84 (44e10950)
pin 85 (44e10954)
pin 86 (44e10958)
pin 87 (44e1095c)
group: pinmux_mmc1_pins
pin 88 (44e10960)
group: pinmux_emmc2_pins
pin 32 (44e10880)
pin 33 (44e10884)
pin 0 (44e10800)
pin 1 (44e10804)
pin 2 (44e10808)
pin 3 (44e1080c)
pin 4 (44e10810)
pin 5 (44e10814)
pin 6 (44e10818)
pin 7 (44e1081c)
group: pinmux_userled_pins
pin 21 (44e10854)
pin 22 (44e10858)
pin 23 (44e1085c)
pin 24 (44e10860)
root@beaglebone:/sys/devices/bone_capemgr.9# cat slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPIDEV0