Skip to main content
Visitor II
April 13, 2021
Solved

STTS22H - I2C Address Setting

  • April 13, 2021
  • 2 replies
  • 1325 views

Hello,

In the data sheet of the sensor (https://www.st.com/resource/en/datasheet/stts22h.pdf), it's mentioned that to set the Address we need to connect the ADDR pin whether to VDD (to have the address 0111000) or to GND (to have the address 0111111), these only two address are mentioned as the only possibilities

But in the Evaluation Board documentation (https://www.st.com/resource/en/data_brief/steval-mki200v1k.pdf), the ADDR pin is pulled up to VDD by a resistor, and four values of the resistor are mentioned to select one of four different addresses .

can you please clarify which is the right way to set the I2C address?

thanks in advance

    This topic has been closed for replies.
    Best answer by niccolò

    Hi @OHADD.1​ ,

    the right document to follow is the datasheet.

    Using all the addresses shown in the documentation you mentioned can backfire because corner tolerance of resistors could cause and overlapping of the resistor values, making two "first neighbors" I2C addresses equivalents.

    So, it is not advised to utilize them.

    do you need to use more addresses?

    Niccolò

    2 replies

    niccolòAnswer
    ST Employee
    April 14, 2021

    Hi @OHADD.1​ ,

    the right document to follow is the datasheet.

    Using all the addresses shown in the documentation you mentioned can backfire because corner tolerance of resistors could cause and overlapping of the resistor values, making two "first neighbors" I2C addresses equivalents.

    So, it is not advised to utilize them.

    do you need to use more addresses?

    Niccolò

    OHADD.1Author
    Visitor II
    April 14, 2021

    thanks for your answer, it's ok for me, I don't need more addresses, I just want to remove the confusion I had when creating the schematic.

    BRs

    ST Employee
    April 14, 2021

    happy to hear that.

    Have a nice day.

    Niccolò