I am using a position sensor that uses SPI. I want to log the data using my SD card shield which also uses SPI. I can use each individually but neither work when I use them together. I know the SPI details for my position sensor (bit order, mode, clock, etc.) but can't find SPI details or source code for the SD library. I should be able to use both devices with different slave select pins (which I have) and I hope I only need to change clock speed, mode, etc. through the SPI library as I switch between the devices.
The SD SPI is MODE0, MSBFIRST, and SPI_CLOCK_DIV4. The clock speed is limited by the Arduino SPI bus speed, not the SD card.