cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DW12 sensor FIFO not working properly

basavanagouda
Associate II

Hi,

We are using sensor LI2DW sensor in our project. Sensor is connected to MC using SPI interface. We have configured the device as below.

  1. fifo en 0x3f
  2. odr
  3. sample rate : 50 hz.

we are reading data every 500 msec, so we are expecting 25 - 26 samples of x,y,z samples.

we are getting data for the first read, after that fifo size showing always 0.

We need atleast 25 samples for every 500 msec. how to enable this requirement in the code and register settings?

is there any suggestion to read fifo values?

Please let me know how fifo behaves with different settings and Please send register settings for different fifo modes.

Thanks and reagards,

Basavanagouda

3 REPLIES 3

Hi,

Thank you for the response.

What is the max SPI frequency we can give to the LIS2DW12 sensor?

Thanks,

Basavanagouda.

Maximum SPI clock frequency is 10Mhz.