Skip to main content
OHADD.1
Associate
Apr 13, 2021 3:54 PM UTC
Solved

STTS22H - I2C Address Setting

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.
niccolò
niccolòBest answer
ST Employee
Apr 14, 2021 9:41 AM UTC

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ò

3 replies

niccolò
niccolòBest answer
ST Employee
Apr 14, 2021 9:41 AM UTC

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.1
OHADD.1Author
Associate
Apr 14, 2021 10:48 AM UTC

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

niccolò
ST Employee
Apr 14, 2021 11:02 AM UTC

happy to hear that.

Have a nice day.

Niccolò