Relative newbie, please be nice
I'm running a freetronics Eleven (uno clone) with the sparkfun uSD shield, and on the development area of the shield have a sparkfun DeadOn RTC (DS3234) and an ADC (ADS8341).
The code i'm using is essentially a cut & paste job of the provided sample code:
uSD: using the sdfat library, and have minor minor changes to the the "Analog Logger" example code provided
Now, the ADC doesn't use SPI.h and the normal Arduino SPI pins (10-13), but instead uses CS:9, MOSI:2, MISO:3, SCLK:4
uSD shield uses CS:8, MOSI:11, MISO:12, SCLK:13
RTC pins set using std SPI (CS:10, MOSI:11, MISO:12, SCLK:13)
I can get the uSD and ADC to work at the same time (while disabling the RTC), but never all three at once. I'm not sure if this is something to do with the Sparkfun uSD breakout, or not. Also, the RTC only seems to work if I use CS:10, and not other pins. Has anyone had similar problems? I've check my code to ensure the individual devices never have CS low at the same time.
Any suggestions would be greatly appreciated! Thanks in advance!