Fat file - SD card - using just one SPI Chip Select
Posted: Thu Mar 31, 2011 1:09 pm
I'm attempting to use the fat file system for accessing an SD Card and I don't want to give the library full access to the SPI resources. I've changed a few things in the library to use chip select 3 instead of chip select 2 and IRQ3 instead of IRQ5.
The EFFS-basic example program always returns F_ERR_NOTFORMATTED when trying to mount the drive. f_open() always returns 0. I was pretty careful in mmc_mcf.cpp to convert from spi cs2 to cs3, so not knowing where to go from here.
Anyone have any luck changing chip selects in the EFFS library?
The EFFS-basic example program always returns F_ERR_NOTFORMATTED when trying to mount the drive. f_open() always returns 0. I was pretty careful in mmc_mcf.cpp to convert from spi cs2 to cs3, so not knowing where to go from here.
Anyone have any luck changing chip selects in the EFFS library?