ADXL362 accelerometer values?

Hi,

I'm using a ADXL362 via SPI using Winkelict's library

It finds the chip & gets the XYZ & T values when I'm using the basic example.

What I dont get is the conversion from sensor value to g values.

The values are / 1000 to give a reading, yet on a flat table I'm getting values of 1.7 for the Z component when I was expecting something closer to 1g or lower. Is there an issue with th conversion? Am I missing something really obvious?

I know I can just start multiplying or divide by magic numbers to get a value close to 1g but I'm not comfortable with that.

Readings from serial monitor,

Check the offsets, which for the Z axis can range from -250 to 250 mg (flip the sensor over).

Simplest calibration procedure (for a different model): Calibration and Programming | Adafruit Analog Accelerometer Breakouts | Adafruit Learning System

The best overview on accelerometer and magnetometer calibration: Tutorial: How to calibrate a compass (and accelerometer) with Arduino | Underwater Arduino Data Loggers

When I flip the sensor I get an offset of around -0.6 (-600) this seems well outside of the -250 to +250 offset range for the z direction.

Yes, that is an unexpectedly large offset. But if you calibrate the sensor, the result may still be reasonably accurate and useful.

Is that a genuine ADXL part, purchased from a reliable seller? Cheap modules purchased on Aliexpress, eBay, Amazon etc. are likely to use reject, recycled or counterfeit parts.

Yep genuine Analog Devices eval board bought through Mouser.

Another odd thing I've found is that it only works if I ground the sensor on the ground pin next to the SPI pins (50-53) on the Mega. Any other ground & it faults out.