Home › Forums › Sparkfun MP3 Shield Library Support Forum › Tapping into SPI › Reply To: Tapping into SPI
Thanks Michael.
As of now, I have all three devices using SPI achieving initialization success intermittently. Sometimes the SD card (and everything else) fails to initialize due to probable SPI problems. I get this error code when it fails:
Free RAM = 325
Can’t access SD card. Do not reformat.
No card, wrong chip select pin, or SPI problem?
SD errorCode: 0X1,0XFF
I cannot find SD errorCode 0xFF anywhere. Do you know where this comes from? Like I said, sometimes it doesn’t encounter this problem and everything can initialize and work together. I’m using SPI MODE3 for when my added SPI device is slave selected. It uses the same bitOrder(MSBFIRST) as the SDcard library. Any help is appreciated!