cancel
Showing results for 
Search instead for 
Did you mean: 

LPS22DF static addresses: 0x6B/0x6A or 0x5C/0x5D

tcachat
Associate II

We have a STEVAL-MKI224V1 kit, which should be equipped with a LPS22DF. I have tried to use the static (I2C) address of the sensor, and after much time, I discovered it is (depending on the state of SDO) 0x5C/0x5D, and not 0x6B/0x6A, as stated in the datasheet.

Strangely (or not) 0x5C/0x5D is the static address of the LPS22HH, but according to the GETPID command, I do have a LPS22DF.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

To conclude, the static address is 0x5C/0x5D, which is also the I2C 7-bit address, and the datasheet should be improved (Table 15, SETDASA ...).

View solution in original post

3 REPLIES 3
Federica Bossi
ST Employee

Hi @tcachat ,

Which datasheet version do you have?

If you look at DS13316, in section 7.2.1, you find: 

The 7-bit slave address (SAD) associated to the LPS22DF is 101110xb. The SDO/SA0 pin can be used to modify
the less significant bit of the device address. If the SA0 pin is connected to the voltage supply, LSb is 1 (7-bit
address 1011101b=5Dh), otherwise if the SA0 pin is connected to ground, the LSb value is 0 (7-bit address
1011100b=5Ch). This solution permits connecting and addressing two different LPS22DF devices to the same I²C
lines.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

I have DS13316 - Rev 2, where I can read the same section 7.2.1 as you, with the true static addresses. But in section 7.4.1, Table 15 shows:

SETDASA     0x87     Assign dynamic address using static address 0x6B/0x6A depending on SDO pin.

Why that???

Moreover searching for the word "static" in the whole datasheet, I find the previous table, but do not section 7.2.1...

To conclude, the static address is 0x5C/0x5D, which is also the I2C 7-bit address, and the datasheet should be improved (Table 15, SETDASA ...).