We are trying to test an ADXL372 breadboard before spinning tiny accelerometer modules to measure various parts of a vehicle and extract power spectral densities at these locations.
The datasheet says we should see about +/-1.5g peak to peak on all axes maximum when the high pass filter is enabled, but we have 10 to 20 times this which is purely unacceptable. Even shaking the breadboard until the wires fall off barely shows a consistent pattern on the plots of the axes time history.
What's happening? We do have a LTC4332 SPI extender dev board in between the accelerometer and the microcontroller, but it seems to work fine looking at the waveforms on the oscilloscope and it has been validated on the setup phase of the code.
The code is attached. It can be used as-is on the EVAL-ADXL372-ARD shield. Note that in the code the CS is set to pin 8 and the INT1 to pin 3.
Thanks in advance for your help.
[edited by: gmrdx at 1:24 AM (GMT -5) on 10 Mar 2022]