This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3358: SPI issue

Part Number: AM3358


Tool/software: Linux

hello ,everyone:

I bought a BB-BLACK development board ——REV C, but when I tested it with the kernel's own SPI program-"spidev_test.c", I found no data was received。

when i use command "cat /sys/devices/platform/slots"  ,i got 

0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universaln.

but other people solution I get from Internet is

  1. 0: 54:PF---   
  2. 1: 55:PF---   
  3. 2: 56:PF---   
  4. 3: 57:PF---   
  5. 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G  
  6. 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI  
  7. 6: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1 

also when i use command "ls /dev/spi*"  ,i got 

/dev/spidev1.0  /dev/spidev1.1  /dev/spidev2.0  /dev/spidev2.1

also when i use command "ls /lib/firmware/BB-SPI*"  ,i got 

/lib/firmware/BB-SPI0-MCP3008-00A0.dtbo /lib/firmware/BB-SPIDEV0-00A0.dtbo /lib/firmware/BB-SPIDEV1-00A0.dtbo /lib/firmware/BB-SPIDEV1A1-00A0.dtbo

can everyone help me? 

thank you !