BB_xm and SPI : spidev_test compile but get error message can't open device


look into /dev dir for spidev entry: ls -lh /dev/spi*

You should have three spidev entries, like spidev3.0, spidev3.1 and spidev4.0.

If so, re-run spidev_test program with ./spitest -D /dev/spidev3.0 (for example). Remember to short out corresponding pins in order to see data coming in, (e.g. pins 17 and 19 which are SPI3.0 MOSI and MISO)