Data greater than 4096 mma8451

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Data greater than 4096 mma8451

1,042件の閲覧回数
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,028件の閲覧回数
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,024件の閲覧回数
den2life
Contributor I

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

0 件の賞賛
返信