Hi. marcov, actually I use a SD card like a storage device, even I have implement a FAT file system to store data.
Usually I set all modules of microcontroller writing directly code.
This is my settings that I have used in a GT60, an recently in a QE128
SPI1BR = 0x00; //Baud Rate @ fbus/2
SPI1C2 = 0x00;
SPI1C1 = 0b01011100;
/* ||||||||-->LSBFE: LSB first
|||||||--->SSOE: Slave select output enable
||||||---->CPHA: Clock Phase
|||||----->CPOL: Clock Polarity
||||------>MSTR: Master/Slave Mode Select
|||------->SPTIE: SPI Transmit Interrupt Enable
||-------->SPE: SPI Sytem Enable
|--------->SPIE: SPI Interrupt Enable (for SPRF and MODF)
*/