Other Parts Discussed in Thread: TMP102
Hello,
I'm using an I2C host adapter with a TPM102 breakout board (PCB with the TPM102 sensor and pullup R's).
What byte string should I send to the device in order to get my first temperature reading?
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.
Look at figure 13 in the TMP102 data sheet. The bytes you send will depend on the state of ADD0. The first byte is the I2C address. The i2c address selection is discribed in table 12. After sending the first byte you will need to send the pointer byte, and do a 16 bit read.
If you are not familiar with i2c I recomend looking at the wikipedia link below. Also we have a video discribign the operation of the serial-bus-evm. One part of the video covers i2c.
http://en.wikipedia.org/wiki/I%C2%B2C
http://www.ti.com/lit/zip/sbou075
Thanks Art!
I'm very familiar with i2c.
1.The ADD0 is grounded on my board - so the address should be 1001000 followed by a read bit ('0') (e.g: 10010000 for the first byte).
2.After the first byte is acknowledged I send a second byte: "00000000" ( the temperature pointer).
Following the above,16bit temperature readings should be sent by the TMP102 until a stop bit is issued by the master - Is this correct?