Is there any way to set the I2C bus speed to 400KHz?
I am using a 18F252 with a 20MHz clock. The I2C device is a ADS7828 a to d conversor able to run at 100Khz, 400Khz and several Mhz in HS mode.
It makes no difference to define I2C_SLOW 1 or not, the timming is always the same (about 10µS per bit).
The manual states that slow devices (100Khz) can be used with XTALs higher than 4Mhz defining I2C_SLOW 1 ans so it is, but, can a fast device be used at 400Khz with I2CWRITE/I2CREAD? Must I implement my own fast routines with shiftin/shiftout?
thanks
Bookmarks