Hi, I'm using NanoPC-T2, and I'd like to achieve I2C communication on Android. I open the port with the following command and set the I2CSlave without problems.

Code: Select all

  devFD = HardwareControler.open("/dev/i2c-0", FileCtlEnum.O_RDWR);
  HardwareControler.setI2CSlave(devFD, 0x48)


But I have a problem when reading or writing data, because when measuring it with an oscilloscope the clock does not work in a continuous way and the data sent is repeated in the information channel.

Code: Select all

HardwareControler.I2CWriteByte(devFD,(byte) (0x01) ,0);


Thank you