Question
[LSM6DSL] Data loss during reading FIFO data?
Hi, I'm testing LSM6DSL FIFO mode. And I have a problem with output data rate.
I don't have the problem with reading the data, but my problem is that average data output is about 96.5 samples per seconds while my ODR setting is 104Hz.
And here is my question:
- While I am reading FIFO data, FIFO data is not updated therefore there can be data loss? If so, can I avoid such situation?
- or if problem comes from other reasons(e.g. internal clock), how can I check what is the source of the problem?
* Current configuration is as follows
- FIFO_MODE_[2:0] is 0b110 'continuous mode and if the FIFO is full the new sample overwrites the older one' (FIFO_CTRL5: 0x26, FIFO ODR is 104Hz)
- BDU enabled (CTRL3_C: 0x44)
- FIFO depth is limited to threshold level (FIFO_CTRL4: 0x80)
- 104Hz ODR Acc+Gyro with 26*6 FIFO threshold level( CTRL1_XL: 0x44, CTRL2_G: 0x4C, FIFO_CTRL1: 0x9C)
- SPI communication
