I am trying to interface the temperature sensor(TMP1075) slave address- (0x49). I am not able to read the temperature value. I am getting a 00 value consistently. I have attached my code please help me. I am new to this board.
Hi, @VaneB to read the value of the temperature sensor, I shifted the slave address. I am able to communicate the same TMP1075 with other development boards I am not able to communicate with the S32K146 board. Once again can you check with my code?
Hi @Jeevitha
I have a question about why you shifted the slave address.
The communication from the S32K1 looks correct. So, I suggest you contact your device supplier to verify the required process and steps to work with the sensor.
B.R.
VaneB
Hi @VaneB I am using the lpi2c_master program I want to test the i2c communication so I am using the development board as master and the temperature sensor as slave. I want to read the data from the register(0x01). I am not able to read the temperature value from the sensor. I have tried many methods but it is not working. Can you please help me? I have attached the frame format also.
Hi @Jeevi
Check section 3.1.12 (Reserved addresses) of the I2C-bus specification and user manual. This document mentions that the address 0000 001 is included.
Please verify the address required for your external device with your device distributor.