Hi there, I'm currently developing a data logging system and I'm using a bma456 connected to a SparkFun Pro nRF52840 Mini (https://www.sparkfun.com/products/15025) communicating over i2c. I'm working in the Arduino IDE and am having two main issues: 1) At a configuration of 1600Hz, and set up as continuous performance and averaging 4 samples at one time I have issues with the values spiking to -0.06 and crashing (not every time) system. I also note a change in the configuration values that shouldn't be possible as seen in the image. 2) I'm using micros() to stamp a timestamp each serial readout of data from the accelerometer and I note a variance between each value. For example, it will be 977 microseconds between two sets, and then at a seemingly random interval, there will be a difference of 1953 microseconds, but that is the only variance. I would have assumed each accelerometer value to be read at the same delta time moment. Any ideas? I'm also looking for some advice with fixing the offset in the accelerometer in addition to the advice in attempting to fix these bugs. Thank you for your time. Kind Regards, Sam
... View more