Hi, omap experts,
i'm trying to read sensor register value through i2c
i'm stuck for it(like i said in another post http://e2e.ti.com/support/omap/f/849/t/250896.aspx)
so i wonder if omapconf tool can help me do that, but i don't know from the ducati source code
where i can investigate the bus and chip-addr i should use in the following command
I2C R/W Access
Omapconf i2c read 'bus' 0x'chip-addr' 0x'addr' | Read register at address 'addr' from chip at address 'chip-addr' on I2C bus 'bus'. |
omapconf i2c write 'bus' 0x'chip-addr' 0x'addr' 0x'data' | Write register at address 'addr' from chip at address 'chip-addr' on I2C bus 'bus'.
i also tried using i2cdetect but i2c-tools source package I downloaded from
http://www.lm-sensors.org/wiki/I2CTools
after I compiled with cross compiler gcc tool in arm-2009q3 tool-chain, the executable binary could not
run on omap4, always receive ‘h: /system/bin/i2cdetect: No such file or directory’ error I don’t know why….
Need your advise on this, thanks!!
Best regards,
Christian.
Best regards,
Christian.