Hello everybody,
I'm trying to do something that I figured would be simple - use spidev to interface a few simple SPI devices on the BeagleBoard-xM. All of the googling I've done has yielded a lot of bits of information, but nothing "concrete" listing the typical steps to getting spidev working on the BeagleBoard-xM.
Can anybody provide some detailed steps that worked for you?
Looking at my BeagleBoard after bootup into Angstrom I have the following entries in /sys for SPI:
root@beagleboard:/sys# find ./* -name spi*
./bus/spi
./bus/spi/drivers/spidev
./class/spi_master
./class/spi_master/spi1
./class/spi_master/spi2
./class/spi_master/spi3
./class/spi_master/spi4
./class/spidev
./devices/platform/omap2_mcspi.1/spi_master
./devices/platform/omap2_mcspi.1/spi_master/spi1
./devices/platform/omap2_mcspi.2/spi_master
./devices/platform/omap2_mcspi.2/spi_master/spi2
./devices/platform/omap2_mcspi.3/spi_master
./devices/platform/omap2_mcspi.3/spi_master/spi3
./devices/platform/omap2_mcspi.4/spi_master
./devices/platform/omap2_mcspi.4/spi_master/spi4
./module/spidev
Is this an indication that SPI is hooked up to the driver and if so, what mknod or mdev command and additional steps do I follow so that I can open a /dev file and start communicating over SPI?
I have the BeagleBoard-xM Trainer board from tincantools that provides the SPI level shifted etc if that matters.
Thanks everybody,
Jim