I have an Emcraft distro with a SPI device at /dev/spi. I wish to access the device for (for instance) controlling the chip select pin, read, write, etc.
I have seen a document on controlling a SPI driver on ucLinux from user space ( http://www.uclinux.org/pub/uClinux/ports/blackfin/docs/pdf-docs/SPI_device_driver.pdf) , but it references IOCTLs that are not in my source tree. I did find a file, linux/spi/spidev.h, that has a struct defined that seems to be used by user mode SPI code, but it is not clear how I am to use it, in particular, which IOCTLs are available, and how I can get access to the interface at low levels. How in general do ucLinux app developers access SPI devices? Eric -- cc:NSA
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev