This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP116: Getting temperature data over I2C

Part Number: TMP116

Hello,

I am currently trying to get communication going between my MSPM0 launchpad and my TMP116 evm. I am using the perforated portion of the evm along with a breadboard to do this. I am able to get I2C data on my SDA and SCL line, however when I try doing a read command in the following configuration:

I2cReadReg(uint8_t gDevAddr, uint8_t gRegAddr, uint32_t gBytes)

where DevAddr=0x4A, RegAddr=0x00 and gBytes=2 I get only 2 Nacks on my line. I was wondering if I have the protocol for accessing the I2C data correct since I know having read the data sheet that you may have to do a write command prior to the pointer register to make sure it is pointing at the correct register you read from, it states at the beginning of the pointer register section though that it should by default read the temperature.

Could you please provide clarification on how to read the temperature via I2C?

Thank you