For the SPI0, we provide the test demo for test it.

The SPI device inode is "/dev/spidev1.1"", you can write the Test demo refer to the CD://linux/example/spi/spidev_test.c

Then compile it:

# arm-none-linux-gnueabi-gcc spidev_test.c - o spidev_test

Then copy to the board and test the demo with the follow command:

./spidev-test -s 0
关注我们: 微博

销售邮箱:market@armdevs.com
技术支持: support@armdevs.com
销售电话: +86-755-29638421


核风在线支持>
在线时间:09:00-18:00
Copyright @ 2014 to 2020 - 核风智能技术有限公司