Hello,
I am trying to use the I2C bus to read temperature and humidity from the HDC1080. I am able to access all the registers such as manufacturer ID and device ID but I always get a nack when I try to read temperature or humidity.
I think I am following the exact procedure described in the manual and also mentioned in some posts on this forum. I setup the configuration register, write a zero to the pointer register to trigger the conversion and then wait at least 6.8ms but I always get a nack when I read the temperature (0x00) or humidity (0x01) registers. I have tried waiting up to 1.5 seconds but always get the nack.
The documentation is a little loose on triggering the conversion. It is my understanding that I should send a two byte message on I2C to the HDC1080 to trigger. The first byte is the device address with write indicated. The second byte is a value of 0x00.
Can anyone think of a reason that I always get a nack when accessing the temperature or humidity registers.
Thanks,