TS-TPC-7990 CPU SPI Controller: Difference between revisions
From embeddedTS Manuals
(Created page with "The CPU has 1 SPI controller which are accessible through either specific kernel drivers, or userspace using the /dev/spi interface. To utilize SPI, some projects will end up...") |
m (Links auto-updated for 2022 re-branding ( https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev → https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev_test.c → https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev_test.c)) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
SPI is located on the [[#DIO Header|DIO header]] and is available in software via /dev/spidev1.2 | |||
This platform includes one SPI interface which is accessible through either kernel drivers or userspace using the /dev/spi interface. | |||
Developing or implementing kernel SPI drivers are beyond the scope of this document, but the build environment is described in the [[#Compile_the_Kernel|kernel compile guide]]. | |||
The /dev/spidev1.2 interface can be accessed using the userspace API. For more information see the documentation and sample code: | |||
* [https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev Linux kernel spidev documentation] | |||
* [https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/spi/spidev_test.c spidev example code] | |||
* [https://github.com/ | |||
* [https://github.com/ |
Latest revision as of 17:44, 17 January 2022
SPI is located on the DIO header and is available in software via /dev/spidev1.2
This platform includes one SPI interface which is accessible through either kernel drivers or userspace using the /dev/spi interface.
Developing or implementing kernel SPI drivers are beyond the scope of this document, but the build environment is described in the kernel compile guide.
The /dev/spidev1.2 interface can be accessed using the userspace API. For more information see the documentation and sample code: