Hi Emillio Aron Moyers,
If you want to connect your SPI interface to the Fatfs, you need to modify your disk interface function to connect your SPI function.
The interface function contains: disk_initialize, disk_status, disk_read, disk_write,disk_ioctl, get_fattime.etc.
You can find these function in diskio.c, diskio.h , ff.c, ff.h。
More details, you can go to the Fatfs official website, there has some sample code, but not for kinetis, even not for kinetis, you still can refer to it:
FatFs - Generic FAT File System Module
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------