QY-IMX6S Linux Function And Test Manual
Any question, please send E-mail
Page 27 of 72
Sales E-mail
Website
:http://www.qiytech.com
©2012 Qiyangtech
Copyright
spi half duplex write operation and full duplex write operation, you can
refer to this source code.
Relation Chart:
Chipsets are corresponding to the device node as below:
Chipset
Device Node
Hardware Location
NCS0
/dev/spidev4.0
Pin 6 on J5
NCS1
/dev/spidev4.1
Pin 7 on J5
NCS2
/dev/spidev4.2
Pin 8 on J5
Chip selects corresponded to device node
Test Process & Result
:
1.Run test program [spidev_test]
./spidev_test
Illustration
:
[spidev_test /dev/spidev4.0] tests NCS0 chip select channel
[spidev_test /dev/spidev4.1] tests NCS1 chip select channel