cancel
Showing results for 
Search instead for 
Did you mean: 

Some issue for the raw data of X axis in LIS3DH.

shenghua yang
Associate III

Dear All: 

I have a project to read LIS3DH data and use STM32F745 MCU to access 3 Axis of LIS3DH data. After initial LIS3DH control register(CTRL1_REG=0x47 /*set ODR as 50 Hz and enable Ax Ay Az....*/ and CTRL4_REG=0x88 /*enable block data update(BDU) and High resolution Mode ..... */), we can get the correct Y and Z Axis of data. 

Nevertheless, we can't get the correct data of the X axis ,always in 0x8090, when the status_reg (0x27) is 0xff. What is wrong with the X axis of LIS3DH? Can we do next step. 

2 REPLIES 2
shenghua yang
Associate III

0690X000008vychQAA.png

shenghua yang
Associate III

Attached is the debug message for you reference.

Best Regards,

ShengHua