H3LIS331DL: Threshold levels
I have the FS bits set for +/-100g scale.
The accel data is a 12-bit signed value, meaning each bit represents 0.049g.
The threshold registers however is only a 7-bit value. From what I understand, this is to be an unsigned magnitude level, representing 0 to full scale. So, each bit represents 0.781g?
My issue is that when I get interrupts and read the data, sometimes the levels are below the threshold. For example:
Threshold register set to 3 = 3*0.781 = 2.344g
An interrupt occurs and the maximum accel (on any 1 axis) register value is 37. Which is 37*0.049 = 1.813g?
Just hoping for some confirmation that I'm understand these values correctly.
Thank you for any input.
