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.

HDC1008 sensor read problem

Other Parts Discussed in Thread: HDC1008, HDC1080

Hi,

we are unable to read the humidity and temp registers of HDC1008YPAT.

I am able to read the serial ID .. but all the other registers cannot be read.

I tried writing the configuration registers accoring to the datasheet it works but if it read it back again it returns 0 value..

  • Hi Aneesh,
    Could you please forward to us the schematic of your HDC1008 connections and the oscilloscope acquisition of the I2C's sequence you perform to write and read back the HDC1008 configuration register (address 0x02)?
    Please note that the content of the HDC1008 registers is a 16-bit word.
    Thanks in advance.
    Best regards,
    Carmine
  • hi please check the schematic and the process that i followed ..

    I also tested it with hdc1080, and I can successfully read device id but the temp and humidity parameters are not read.

    it sends nack...

  • Hi Aneesh,

    In the HDC1008 a write operation on one of the output registers (0x00 or 0x01) is used to trigger the start of a new measurement. During the measurement phase, a read operation of one of the output registers returns a NACK signal,  reporting that the device is busy, the output data is not available yet and that register cannot be accessed in read. The correct reading procedure for the output register is then the following:

    I2C start >> Device address + write bit (0) >> I2C write (register address 0x00 or 0x01) >> I2c stop >> Wait 15msec >> I2C start >> Device address + read bit (1) >> I2C read (MSB byte) + ack >> I2C read (LSB Byte) + nack >> I2C stop

    Please let me know if this solve your issue.

    Best regards,

    Carmine