This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

i2c driver problem



Hi !

I am using am-1808, when i use the i2ctest application in wince 6 for bus 0 it works fine but when i use bus 1 it shows me could not open i2c1.

when i type i2ctest -read 0 it works fine but when i change it to i2ctest -read 1 it displays could not open i2c1.

  • The I2CTest application requires your system to have an I2C proxy driver loaded for the I2C controller you are targetting. Have a look at your registry and chek if you have the following entry:

     

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2CPXY2]    

    "Prefix"="I2C" 

    "Dll"="i2cproxy.dll"  

    "Index"=dword:2

     

    This is mandatory for giving access to the I2C functions from the application. In you case you may have only one I2C proxy driver loaded for I2C0 (Index=1), you will need a second one for accessing I2C1.