Hi,
I'm trying to integrate the TMP 102 sensor with my Wiring microcontroller. So far I have been able to write to the senor however I am having issues when reading. For instance when I attempt to read from the temperature register: I send a start condition, write to the slave address with the RW bit low, get the proper ACK, write the pointer for the temperature address, get the proper ack, send stop condition. Then for the second transmission I send the start condition, send the slave address with the RW bit high and then the trouble comes when trying to read the ACK and data that follows. For the 9th clock pulse, when the clock goes high, the SDA reads low, but when the clock goes low after that and for all remaining clock pulses the SDA reads high. Am I doing something wrong? Timing? 3.3v versus a wiring 5v?
Regards,
Charlie