To use the SPI from user space you have first to be sure that the corresponding SPI bus is activated:Īnd user SPI device interface (spidev) option must be selected too (here as a module): SPI is used by some kernel drivers when selecting them it will naturally activate the corresponding SPI bus. Linux configuration APF27Dev with 2.6.29 kernel ![]() On APF27, the i.MX27 contains 3 SPI devices that can be configured in master (slave mode is not supported by Linux). SSx, Slave Select : used to select the slave for communication with master.(In imx27 (apf27) maximum frequency of SCLK is 22.167MHz in master mode and 16.625 in slave mode. SCLK, : Serial Cloc k signal used to synchronise the transmission.MISO, Master Input Slave Output : receive data from slave.MOSI, Master Output Slave Input : send data to slave. ![]() ![]() SPI ( Serial Peripheral Interface) is a 4-wire full-duplex serial bus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |