cancel
Showing results for 
Search instead for 
Did you mean: 

a question about LPS25HBTR

2067
Associate

I have bought a MKI-165V1 to test LPS25HBTR,but I find that the pressure value is decreasing for a long time ,from 1014.117 to 1002.970 in an hour.It is not stable,the next is my initial code,what is the reason for it

uint8_t data = 0x90;
HAL_I2C_Mem_Write(&hi2c4, 0xB8, 0x20 , I2C_MEMADD_SIZE_8BIT, &data, 1, HAL_MAX_DELAY);
HAL_Delay(10);
data = 0x00;
HAL_I2C_Mem_Write(&hi2c4, 0xB8, 0x21 , I2C_MEMADD_SIZE_8BIT, &data, 1, HAL_MAX_DELAY);
// HAL_Delay(10);
// HAL_I2C_Mem_Write(&hi2c4, 0xB8, 0x22 , I2C_MEMADD_SIZE_8BIT, pData, Size, 0xFF);
HAL_Delay(10);
HAL_I2C_Mem_Write(&hi2c4, 0xB8, 0x23 , I2C_MEMADD_SIZE_8BIT, &data, 1, HAL_MAX_DELAY);
HAL_Delay(10);
1 REPLY 1
Federica Bossi
ST Employee

Hi @2067 ,

Can you please implement our official drivers and let me know if you still have the problem?

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.