From: Yuvraj A. <yu...@uc...> - 2008-02-13 07:10:50
|
Hi, I would like to use an ADC (MAX123x - MAX1236, MAX1238). It communicates over the I2C bus. I have seen this chip being used with another embedded platform and would like to use it with the gumstix if possible. Is there any sample code for interfacing I2C devices with the gumstix ? Specifically is there any example code to read data using the I2C bus in C? I am looking for a fast data sampling and transfer. The MAX1238 data sheet says that it supports 94.4Ksamples/s (it's a 12 channel ADC) and I would like to be able to read it at least 1Ksamples/s per channel. Is this possible using the I2C bus? The data sheet mentions two modes of I2C ...which ones does the connex support ? http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3271 http://datasheets.maxim-ic.com/en/ds/MAX1236-MAX1239M.pdf thanks! Yuvraj |