Hi support team,
I am using Colibri VF50 module with IRIS Carrier board. In that loaded Linux OS(Angstrom Distribution). I want to test i2c interface by connect temperature sensor(TMP75) on external header X16 connector of the carrier board.
few steps, what I did…
1.TMP75 sensor connect on I2C line of the external header X16
- Install i2c-tool
- Tested few commands on terminal : ls -l /dev/i2c-* , i2cdetect -y -r 0 , i2cdetect -l , i2cdump -r 0-0xf 0 0x20 b , i2cget 0 0x20 4 b(Failed to read), i2cset 0 0x20 4 0x18 b(Failed to write)
- I wrote the C code : opening /dev/i2c-0 , set slave addr and trying to read data from the i2c-0 file descriptor. but it was going to failed to read.
Please could you share helpful information regarding to my concern…
*Note: Very few details available for colibri module operate in Linux Environment.