ADC frequency limit
Amit
Posts: 27
I am starting my first SX project and don't know too much about electronics so please forgive any dumb questions.·
First of all I am planning to read a bunch of devices through an 8 channel 8 bit ADC (the ADC0838 http://www.national.com/ds/AD/ADC0831.pdf·) The spec sheet says that the max clock frequency is 400KHz.· Does this mean that the SX52BD and the chip have to both be clocked at 400KHz or below?· If so, can I use the internal clock set at say 125KHz and use the OSC2 to clock all my devices or would it be better to use an active oscillator to drive the SX and my devices?·
The AD7888 ( http://rocky.digikey.com/WebLib/Analog%20Devices/Web%20Data/AD7888.pdf )·uses the serial clock and as I understand it, that means I can run the SX and the ADC·on two different clocks but I am unclear how this would be connected or how it works.· Can someone please explain this?
I would only need to sample the inputs at about 3Hz so I don't think that I should be limited by my clock frequency.· I would appreciate it if anyone could help clarify this.· Thanks!
-Amit
First of all I am planning to read a bunch of devices through an 8 channel 8 bit ADC (the ADC0838 http://www.national.com/ds/AD/ADC0831.pdf·) The spec sheet says that the max clock frequency is 400KHz.· Does this mean that the SX52BD and the chip have to both be clocked at 400KHz or below?· If so, can I use the internal clock set at say 125KHz and use the OSC2 to clock all my devices or would it be better to use an active oscillator to drive the SX and my devices?·
The AD7888 ( http://rocky.digikey.com/WebLib/Analog%20Devices/Web%20Data/AD7888.pdf )·uses the serial clock and as I understand it, that means I can run the SX and the ADC·on two different clocks but I am unclear how this would be connected or how it works.· Can someone please explain this?
I would only need to sample the inputs at about 3Hz so I don't think that I should be limited by my clock frequency.· I would appreciate it if anyone could help clarify this.· Thanks!
-Amit
Comments
Normally the SX generates the clock for the ADC from one of it's output pins.
For example if you use the SX/B SHIFTIN command the SX will generate a clock of about 83Khz.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
·
http://www.sparkfun.com/commerce/product_info.php?products_id=495·for the SOIC version of the chip,
http://www.sparkfun.com/commerce/product_info.php?products_id=498·for the TSSOP version
but SOIC is easier to solder·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 1/24/2006 7:34:28 PM GMT
The clock is generated by raising and lowering the voltage of a pin on the SX that is connected to the clock pin on the device.
If you are transmitting data to a device then the device will read the voltage on its data in pin on either the rising or falling edge of a voltage transition of its clock pin.
If the SX is running at 4 megahertz, and the device has a maximum speed of 400 kilohertz, then you would need keep the voltage on the clock pin high for at least 10 clock cycles before lowering it, and wait at least 10 more clock cycles before raising it again.
I strongly reccomend that you read Guenther Debauch's book.
www.parallax.com/detail.asp?product_id=70002
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wonder if this wire is hot...