2021-04-13 08:54 AM
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
Solved! Go to Solution.
2021-04-14 02:41 AM
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ò
2021-04-14 02:41 AM
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ò
2021-04-14 03:48 AM
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
2021-04-14 04:02 AM
happy to hear that.
Have a nice day.
Niccolò