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.

I2C setting of HDC1080

Guru 19645 points
Other Parts Discussed in Thread: HDC1080

Please let me check about I2C setting of HDC1080 below.

①Is below setting uncorrect?

 ・At first, Frame 1 set address 0 (00000000)

  ⇒SDA is set Hi-Z

 I think that these setting will get slave ACK, but Address became 1 and NACK

 Customer is try to programming the same as datasheet page 10~11(Figure-10). 

 If there mistake, please let me know.

②Datasheet Figure-14 is described Frame 3~7.

 Frame 1 and 2 is described Figure-12, is it correct?

Best regards,

Satoshi

  • Hi Satoshi,

    1) Let me better explain the I2C frame reported in the datasheet:

    •  Writing Frame (Figure 10, page 10):

    START | Slave Address + W | ACK | Pointing Address | ACK | Data MSB | ACK | Data LSB | ACK | STOP

    For example if your customer want to write the value 0x1000 in the configuration register (0x02), of the HDC1080 (slave address is 0x40), the frame is:

    START | 0x80 | ACK | 0x02 | ACK | 0x10 | ACK | 0x00 | ACK | STOP

     

    •  Reading Frame (Figure 11, page 11):

    START | Slave Address + W | ACK | Pointing Address | ACK | REPEATED START | Slave Address + R | ACK | Data MSB | ACK | Data LSB | NACK | STOP

    For example if your customer want to read the value previously written in  configuration register (0x02), of the HDC1080 (slave address is 0x40), the frame is:

    START | 0x80 | ACK | 0x02ACK | REPEATED START | 0x81 | ACK | 0x10 | ACK | 0x00 | NACK | STOP

    In your question, you reported that in the frame 1 your customer is sending 0x00, but this is the wrong slave address, and for this reason the HDC1080 doesn't respond with an ACK, because it doesn't recognized its Slave Address.

    2) Yes correct, frame 1 and 2 are reported in Figure-12.

    Please let me know should you have any doubts or need further information.

    Best regards,

    Carmine