Data greater than 4096 mma8451

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Data greater than 4096 mma8451

1,046 次查看
den2life
Contributor I

Hello.
Why does the sensor read more than 4096? How can I not understand, help!

As you can see on the oscillogram Z is equal to 0x40F0 which corresponds to 4156 after the shift.

And this applies not only to the Z axis but to all axes.

den2life_0-1609553037648.png

 

den2life_1-1609553095974.pngden2life_2-1609553115684.pngden2life_3-1609553137800.png

 

 

0 项奖励
回复
2 回复数

1,032 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Den2life,

the value 4096 defines sensitivity per 1g. But the full scale you have set to 2g I presume. If you read on the output 4096, the acceleration is exactly 1g, if the device is correctly calibrated. If you read higher value, than 4096, the acceleration is higher.

4096.png

Had you done the offset calibration?

Please take a look at the following example code, chapter 3. on NXP community:
 
With Best Regards,
Jozef
标记 (1)
0 项奖励
回复

1,028 次查看
den2life
Contributor I

Thank you for the answer. Didn't calibrate. The sensor is set to 2G

0 项奖励
回复