Hello, i am working in a project that need to measure eventual impacts.
i have an ADXL375, using i2c (400Khz) for the comunications.
ADXL config is :
0x1D -> THRESH_SHOCK = 0xF3 (~190g)
0x21 -> DUR = 0x04
0x1E -> OFSX = 0xFF
0x1F -> OFSY = 0xFE
0x20 -> OFSZ = 0x00
0x22 -> Latent = 0x00
0x23 -> Window = 0x00
0x2A -> SHOCK_AXES = 0x07
0x2C -> BW_RATE = 0x0F (3200Hz)
0x31 -> DATA_FORMAT = 0x0B
0x38 -> FIFO_CTL = 0xD0
0x2E -> INT_ENABLE = 0x40
0x2D -> POWER_CTL = 0x80
I read the pin INT1 to start to read DATAX0 to DATAZ1 with MULTIPLE-BYTE READ.
i get 14 samples of correct data X around 4 Y around 2 and Z around -24.
The other samples are bizarre. In the axis of the impact y get some 4096 or -4096 and really high values.
After 8 samples the values start to approach to zero.
is there something wrong in the ADSL config ?
Thx, Frank.