I am using TI's TMP116 temperature sensor connected over I2C to DA14531 .
How do I configure multi byte read from the sensor...since all the registers of the sensor are 16 bit long .. and over i2c i can read 1 byte at a time .
kindly update me asap.
Device:
Hi Manishkumar Bante,
I guess that you are using the i2c_read_byte()function in order to read a single byte. Could you please check the i2c_master_receive_buffer_sync() or i2c_master_receive_buffer_async() APIs in order to read multiple bytes?
Thanks, PM_Dialog
I have used same i2c_read_byte() and generated repeated start condition .. its working for me.
Hi Manishkumar Bante,
Thanks for let us know and glad that you got it working. If you found the answer useful, please mark it as accepted.
Thanks, PM_Dialog