i am using FRDMK64 controller and KDS3.0 and KSDK1.3.0 example. i got USB SD-card mass storage device from KSDK example.straight way its working with SDHC protocol. but i want to implement with SPI pins.so how to modify code to USB SD-MSD with SPI mode. i saw configuration setting in example code
#define USE_SDHC_PROTOCOL (0)
#define USE_SPI_PROTOCOL (1)
i changed to SPI_PROTOCOL but its not working. i changed SD card pins connection to SPI pins also. i am sure with hardware connection. can you give some idea..?