The attached file is the driver of SPI The attached file is the driver of SPI 2014-01-11 49 SPI+DataFlash
A loopback sample for using SPI in dspic A loopback sample for using SPI in dspic 2016-02-03 86 SPI+DataFlash