cancel
Showing results for 
Search instead for 
Did you mean: 

IIS2DH Temperature data is not updating

BLuka.1
Associate

I am working with the IIS2DH sensor. I can read all 3 axis data, but when I try to read the temperature I only got zeros. I read the similar forum threads, and I did not find a solution for my problem. I set the TEMP_CFG_REG(1F) to 0xC0, also set CTRL_REG4 (23) BDU bit to 1 and the OUT_TEMP_L (0C) register MSB bit to 1 (0x8C). I know the sensor is sending a relative temperature value based on the reference value, but when I tried to warm up the sensor the values did not change. I also checked the value of the STATUS_REG_AUX(07) (0xFF)and based on the datasheet the temperature data is available and overwritten by the new data. I run out of the ideas, what can be the problem?

Best regards,

Bence

0 REPLIES 0