TS-TPC-7990 CPU SPI Controller: Difference between revisions
From embeddedTS Manuals
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
SPI is located on the [[#DIO Header]] through /dev/spidev1.2. | SPI is located on the [[#DIO Header]] through /dev/spidev1.2. | ||
This board includes one SPI interface which is accessible through either | This board includes one SPI interface which is accessible through either kernel drivers, or userspace using the /dev/spi interface. | ||
The kernel development which would be needed to use other kernel space SPI drivers is beyond the scope of this document, but the build environment is described in the [[#Compile_the_Kernel|kernel compile guide here]]. | |||
The /dev/spidev1.2 interface can be accessed using the userspace API. For more information see the documentation and sample code: | |||
* [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev Linux kernel spidev documentation] | * [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev Linux kernel spidev documentation] | ||
* [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev_test.c spidev example code] | * [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev_test.c spidev example code] |
Revision as of 15:52, 10 August 2017
SPI is located on the #DIO Header through /dev/spidev1.2.
This board includes one SPI interface which is accessible through either kernel drivers, or userspace using the /dev/spi interface.
The kernel development which would be needed to use other kernel space SPI drivers is beyond the scope of this document, but the build environment is described in the kernel compile guide here.
The /dev/spidev1.2 interface can be accessed using the userspace API. For more information see the documentation and sample code: