2024-11-20 07:49 AM
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.
Solved! Go to Solution.
2024-11-28 12:39 AM
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 ...).
2024-11-21 11:47 PM
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.
2024-11-25 12:18 AM - edited 2024-11-25 12:20 AM
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...
2024-11-28 12:39 AM
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 ...).