Skip to main content
Visitor II
June 7, 2018
Question

LIS2DS12 magnitude module running at 800 Hz instead of 1600 Hz

  • June 7, 2018
  • 0 replies
  • 493 views
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?

    This topic has been closed for replies.