AnsweredAssumed Answered

LSM330DLC problem

Question asked by fineschi.matias on Jul 17, 2014
Latest reply on Sep 25, 2014 by stain.sergey
Hi guys,

I'm using the LSM330DLC on a weareable device, but while testing I noticed that while measuring the gravity I get values on Z axis around 1380 counts (0x0564 hex raw data coming from the ic).

The configuration is set to:

Normal Mode (tried both enabling and disabling high resolution in CTR_REG4)
Full Scale +-16G
Sampling rate 100Hz.

So my question is:

Datasheets says that normal mode high resolution involves a 12bit data conversion (table 9 page 20). If so, measuring gravity should give us around 128 counts and while measuring 16g we should get 0x0fff (16bit coming out of the spi/i2c interphase).

This means that we are not working with 12 bits definitely. So making some numbers it makes no sense to obtain values around 1400 counts while measuring gravity (without moving the device). Because this number times 16 does not match full scale for any word length (not even 14, 15 or 16 bits conversions).


16*1400 = 22400

while 
2^13=8092
2^14=16384
2^15=32768

Besides this we are getting samples over 16G this should not be possible (samples on the 25300 counts range, corresponding to 20G). Shouldn't the accelerometer clamp the signal at 16G.

I tried this in over 6 different chips obtaining the same result.

What am I doing wrong? are my numbers wrong or am I missing something?

Attached are some images displaying the raw values taken from the sensor showing what I'm saying

Thanks for the help.
Cheers,
Matias

Attachments

Outcomes