Skip to main content
Explorer
December 23, 2023
Solved

How do I reset the fifo in the LIS2DH12

  • December 23, 2023
  • 1 reply
  • 1081 views

I need to clear the fifo and then at a later time read all samples taken since then.  Then later I will repeat this. I don't want any samples before or after that time window to get in my data.  I looked through the library and I can't see anything that will reset the fifo.  How can I achieve the time window sampling I describe above?  Thanks in advance ...

    This topic has been closed for replies.
    Best answer by AScha.3

    -> from ds

    AScha3_0-1703319206263.png

    A: So select bypass mode to reset the fifo.

    B: Or just read data out at the speed you want - and throw it away, just use/store the data in your desired time window.

    C: Do not enable the fifo at all, if you dont need it; then no problem with data in fifo...

    1 reply

    AScha.3Answer
    Super User
    December 23, 2023

    -> from ds

    AScha3_0-1703319206263.png

    A: So select bypass mode to reset the fifo.

    B: Or just read data out at the speed you want - and throw it away, just use/store the data in your desired time window.

    C: Do not enable the fifo at all, if you dont need it; then no problem with data in fifo...