LSM6DSL Fifo Data Set Corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-03 2:48 AM
Hello,
I am using the LSM6DSL in FIFO Continuous Mode. Fifo ODR is equal to the Accelerometer and Gyroscope ODRs (no decimation configured).
Data are retrieved from fifo after the FIFO_FULL interrupt is triggered.
I have a problem that appears after few minutes of functioning. The sensor is not moving so the data sets from fifo remains the same.
The problem is that one fifo data set is sometimes corrupted after few minutes from running the application (the sensor is motionless) => all 3 axes for gyroscope and accelerometer have corrupted values.
Is there any reason why fifo data can sometimes be corrupted?
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-03 7:28 AM
Are you using data pattern when you read the data from FIFO?
Please that the FIFO_STATUS3/4 registers (FIFO pattern) stop updating once the FIFO has overrun.
I think it would be be better to set a FIFO watermark and read the data before the FIFO is full.
