cancel
Showing results for 
Search instead for 
Did you mean: 

I fail to get LSM6DSL data continuously

DNuen.2
Associate II

Hello,

I like to read data from the LSM6DSL continuously. But I am not able to choose the correct settings for the FIFO register. 

If I set it to

"Continuous mode. If the FIFO is full, the new sample overwrites the older one"

It will stop after a few seconds and the available data is 0.

Do I always need to reset the mode of FIFO? Doesn't that mean that some data will be lost?

Thanks for your help :)

2 REPLIES 2
DNuen.2
Associate II
DNuen.2
Associate II

Alright, I have it almost running. (only reading data)

I check the register how many data are available and use that value to pull new data.

But after a few minutes the FIFO is full, even if I pull all available data.

Another question to it: If I pull data, will it always be a full set of x,y and z data? or could it be only x and y at the end of the data I pulled? In other words. Will the FIFO always be filled with x,y and z data at once?

thx