I'm trying to use the WaveHC library from adafruit with a custom PCB. I am having trouble getting the SPI com to work for some reason, I modified the ArduinoPins.h, SS_PIN, from pin 10 to 8.
Using the arduino SD library, I can see all the files no problem.
In the WaveHC library, all of the examples freeze after card.init(), I traced it to the spiSend(uint8_t b) in SdReader.cpp. It seems to get stuck in "while(!(SPSR & (1 << SPIF))". This looks like the SPDR register (the SPI data register) is never loaded properly.
Does anyone know what is going on?