[SparkFun Qwiic ADXL313] How to Command Max Output Data Rate?

Hi,

I’m using a SparkFun Qwiic 3-Axis Accelerometer (ADXL313) with a Redboard . The data sheet says that the output data rate for I2C is adjustable. Can you please specify how I can get it to operate at the highest output data rate? I didn’t see any info on this within the data sheet/online

Thanks for your help

All of the provided examples us the default 100Hz rate; in order to change that you’d need to use/edit the src files here https://github.com/sparkfun/SparkFun_AD … master/src - basically you’d call the needed function from https://github.com/sparkfun/SparkFun_AD … nADXL313.h that lists the bandwidths

Thanks for the help!

Also, follow-up: do you know what system people typically use to record data at such a high frequency (3200 Hz)?

Just wanted to follow-up…it seems that just using the Redboard with an SD card for recording isn’t sufficient for recording data at such a high frequency…is this the case? Do you recommend other approaches for recording the data?