AnsweredAssumed Answered

ADXL344 output data meaningless

Question asked by RemcodeWit on Apr 14, 2017
Latest reply on Apr 20, 2017 by RemcodeWit

Hello,

 

I'm trying to get data from an ADXL344 accelerometer, however the data I get from the device makes no sense.

I can read and write the registers of the ADXL without any problems, but when I'm trying to read the data output from the device I get weird data from the output.

 

The output I'm getting is something like: 0x5602 for X, 0x5902 for Y and 0x0E0E for Z in right justified +-16G full resolution mode (so 13 bits of data and the sign should be extended).

The data is fairly constant, but if I rotate the device the data doesn't change, which is something that I do expect, since the Z axis should at least change from 1G to -1G or vice versa.

 

Does anyone have an idea of what could be the cause of this?

 

Kind regards,

 

Remco de Wit

Outcomes