cancel
Showing results for 
Search instead for 
Did you mean: 

How do I reset the fifo in the LIS2DH12

mchahn
Senior

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 ...

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

-> 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...

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
AScha.3
Chief III

-> 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...

If you feel a post has answered your question, please click "Accept as Solution".