Forums

MT9V113 I2C Driver

  • I have the Leopard Board 1.4 with the VGA board using the MT9V113 and have been trying to install another I2C device.  My problem is that my I2C test to my device is failing due to bus errors.  I finally exonerated my device by detaching the camera module after which my I2C bus test pass.

    Has anybody else experienced any issues with installing another I2C device on the bus?

    The nature of the I2C bus errors exibit themselves in any of the following manners: 

    Illegal start condition on the bus (Clock high, data driven low)

    Incorrect data followed by nack (looks like the SDA line is driven low while the clock is low when trying to transmit a 0)

  • Aptina sensors don't claim they are I2C compliant. They call it "Two-Wire Serial Bus".

    Our LI-LBCMVGA module uses the MT9V113 sensor. I checked its datasheet. For data write, it requires minimal 300ns sdata to sclk setup time, and 300ns sdata to sclk hold time. For data write, the setup time and the hold time will be 150ns min.

    The 5M camera is better. According to MT9P031 datasheet, the setup time is 0ns and the hold time is typical 19.9ns, max 59.9ns. Read and write are the same timing.

    We've used several processors, including Davinci and Omap, to control the camera modules through I2C ("Two-Wire Serial Bus") bus without problem.