I have a couple of AD7705 chips I'm attempting to use with my RPi to read the analog pins from a sensor that spits out 0~4V. Nice, detailed datasheet for the ADC is here:
http://www.analog.com/static/imported-files/data_sheets/AD7705_7706.pdf
So far reading over that I think I can figure out how to bit-bang the SPI interface and read values.
I'm fairly new to this world of microelectronics, though, and I'm stuck at something - it appears to me that my ADC needs a stable clock signal that I'm not sure I can create.
It says it can be 'driven by a CMOS clock', is something the RPi can provide? I notice GPIO4's 'alternate' function is GPCLK0, is this what it's supposed to provide?
I'm confused by the results I find searching the big G; it seems that the RPi has various internal clock sources that can be somehow routed to GPIO pins, but the details on how to do that are.. quite thin.
Can someone shed some light on how I'd go about generating this clock signal, using the RPi or otherwise? It seems it wants a 5mhz clock, accepting 2.4mhz signal but taking twice as long to do things.
I also have a few other temperature sensors and some leds/relays being controlled by the same board; if I could generate this clock with the RPi, would it end up too busy dealing with it to effectively control the rest of my peripherals?
Is there just a simpler approach I'm missing with this hardware due to n00bness?