cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DH temperature stuck.

sima2
Associate III
Posted on June 05, 2014 at 12:24

I try to read both temperature and accelerometer data from LIS3DH. I get accelerometer data but the temperature value is stuck.

I have set both  ADC_PD and TEMP_EN in the TEMP_CFG_REG.

I would like to have some example code that I can follow.

1 REPLY 1
sima2
Associate III
Posted on June 05, 2014 at 15:12

Update

I think I know why it didn't work. I think I sent the register settings to the LIS3DH to early. I think my MCU wakes up faster than the LIS3DH.

So now when I send the register settings to the LIS3DH I read them all back to really make sure they got changed.

So now it works.