SPI bus interface --- CORE9G25
Feature Hardware ref Linux Tutorials Debian Tutorials pinout

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

  Tel: +86-755-29638421  |    Sales Email: market@armdevs.com |  Support Email: support@armdevs.com | Gtalk: armdevs@gmail.com  
www.armdevs.com | Copyright @2013 - CoreWind Technology Co.,Limited