Hi
There was an SPI driver included a long time ago but was depreciated due to the fact that SPI devices have such different protocols.
SPI_FILE_SYSTEM and
SPI_EEPROM_FILE_SYSTEM are now used specifically for uFileSystem in SPI based Flash and EEPROM devices.
It is recommended to look at the files
spi_flash_kinetis_atmel.hspi_flash_kinetis_sst25.h or
spi_flash_kinetis_stmicro.hsince these show how the SPI interface can be used (based on some macros which are mapped to the SPI in question and also some details about the device used - KL and K devices have different SPI controllers for example - they are in
app_hw_kinetis.h).
By copying the method used it is fairly simple to add an interface for other SPI devices (you will just need to understand about the DSPI FIFO operation but beware that the K64 has only one FIFO depth on SPI 1 and 2 [4 deep on SPI0 as is typical for K parts] which tripped me up recently!! In fact the SPI Flash files only work on SPI0 of the device at the moment!).
I am in fact just wiring up a Microchip ENC624J600 (in form of the Fast 100 Mbps Ethernet PICtail(TM) Plus Daughter Board" -
http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=ac164132 and
https://www.youtube.com/watch?v=f3z4G55EMJw ) for my own SPI based Ethernet controller extension development. This is being performed in parallel with a low power wireless extension (also SPI based and aimed at IP transport) which, if successful, will open up many new possibilities.
Regards
Mark