Each Arduino IDE 1.5.x has SPI library with a couple of examples.
Indeed, Due SPI library has an Extended functionality that exploits the SAM3X8E core allowing features like:
- Automatic handling of the device slave selection.
- Automatic handling of different device configurations.
More information here:http://arduino.cc/en/Reference/DueExtendedSPI#.UwYvuvldWSo
Look at Graynomad Due pinout diagram for details on the SPI connection.http://forum.arduino.cc/index.php?topic=132130.0
You can play with or modify them according to your needs.
By the way, what SPI device you need to connect to DUE? LCD? SD reader?