Home › Forums › MPLAB XC8 Tutorial Discussions › How to use FatFs library in MPLAB XC8 without MPLAB Code Configurater? › Reply To: How to use FatFs library in MPLAB XC8 without MPLAB Code Configurater?
You can use PIC18F peripheral libraries SPI functions. You need to modify the diskio.h file to use the Peripheral library functions instead of MCC functions like the openSPI and writeSPI functions.
Please read on this article at the bottom we explained how to use PIC18F peripheral libraries functions: SPI Communication with PIC