cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DS12 magnitude module running at 800 Hz instead of 1600 Hz

David Mann
Associate
Posted on June 07, 2018 at 20:55

I am running LIS2DS12 with SPI using Arduino libraries and streaming data to microSD using the accelerometer FIFO buffer.

Running with all 3 axes streaming to microSD works properly at 1600 Hz.

When I switch to using the module to save the magnitude of the 3 axes, the resulting data are sampled at 800 Hz not 1600 Hz (testing by recording 300 Hz continuous waveform, which appears as 600 Hz).

Running the module at 3200 Hz results in a triangle wav in the FIFO buffer.

Full code here: 

https://github.com/loggerhead-instruments/TTFT/tree/master/Arduino/TTFTwav

 

Are there limitations on the magnitude module sample rate?

0 REPLIES 0