The first possibility to access SPI devices under Linux is using a kernel driver for your device.
In case you want to access SPI from userspace, you have to use the spidev driver.
Accessing SPI via the spidev driver requires a custom program.
The interface is documented at: